Files
coopgo/node_modules/use-latest/package.json
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

48 lines
1.2 KiB
JSON

{
"name": "use-latest",
"version": "1.2.1",
"description": "A React helper hook for storing latest value in ref object (updated in useEffect's callback).",
"main": "dist/use-latest.cjs.js",
"module": "dist/use-latest.esm.js",
"files": [
"dist"
],
"scripts": {
"test": "echo \"Warning: no test specified\"",
"build": "preconstruct build",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Andarist/use-latest.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Andarist/use-latest/issues"
},
"homepage": "https://github.com/Andarist/use-latest#readme",
"dependencies": {
"use-isomorphic-layout-effect": "^1.1.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@preconstruct/cli": "^2.1.5",
"@types/react": "^18.0.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.6.2",
"react": "^18.0.0",
"typescript": "^4.6.3"
}
}