60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"name": "use-latest-callback",
|
|
"version": "0.1.6",
|
|
"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",
|
|
"use-event",
|
|
"use-callback"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"prebuild": "del lib",
|
|
"build": "tsc --declaration",
|
|
"prepare": "yarn build",
|
|
"release": "release-it"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.8"
|
|
},
|
|
"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/"
|
|
]
|
|
}
|