-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.59 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "react-use-latest-state",
"version": "1.0.6",
"description": "A lightweight React package that enhances the reliability of state values within functional components. By utilizing useRef under the hood, useLatestState ensures that you always access the latest state value, eliminating common pitfalls when working with state inside functions. Simplify your React development with this straightforward solution.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MakeItBuildIt/react_useLatestState.git"
},
"keywords": [
"react",
"state-management",
"state_management",
"useref",
"functional-components",
"functional_components",
"reliable-state",
"reliable_state",
"latest-state-value",
"latest_state_value",
"latest-value",
"latest_value",
"react-hooks",
"react_hooks",
"javascript",
"typescript"
],
"author": "SBTopZZZ-LG",
"license": "MIT",
"bugs": {
"url": "https://github.com/MakeItBuildIt/react_useLatestState/issues"
},
"homepage": "https://github.com/MakeItBuildIt/react_useLatestState#readme",
"devDependencies": {
"@types/react": "^18.2.64",
"react": "^18.2.0",
"typescript": "^5.4.2"
}
}