You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.4 KiB
63 lines
1.4 KiB
{
|
|
"name": "use-latest-callback",
|
|
"version": "0.1.5",
|
|
"description": "React hook which returns the latest callback without changing the reference",
|
|
"source": "src/index.ts",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"repository": "https://github.com/satya164/use-latest-callback",
|
|
"author": "Satyajit Sahoo <satyajit.happy@gmail.com>",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"react-native-component",
|
|
"react-component",
|
|
"react-native",
|
|
"ios",
|
|
"android",
|
|
"tab",
|
|
"swipe",
|
|
"scrollable",
|
|
"coverflow"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"prebuild": "del lib",
|
|
"build": "tsc --declaration",
|
|
"prepare": "yarn build",
|
|
"release": "release-it"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/config-conventional": "^12.1.4",
|
|
"@release-it/conventional-changelog": "^3.0.1",
|
|
"@types/react": "^18.0.10",
|
|
"commitlint": "^12.1.4",
|
|
"del-cli": "^4.0.1",
|
|
"eslint": "^7.28.0",
|
|
"eslint-config-satya164": "^3.1.10",
|
|
"prettier": "^2.3.1",
|
|
"react": "^17.0.2",
|
|
"release-it": "^14.9.0",
|
|
"typescript": "^4.3.2"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "satya164",
|
|
"env": {
|
|
"node": true,
|
|
"browser": true
|
|
},
|
|
"rules": {
|
|
"import/no-commonjs": "off"
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"node_modules/",
|
|
"lib/"
|
|
]
|
|
}
|