-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.02 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
{
"name": "localstorage-react",
"license": "MIT",
"version": "0.0.8",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"description": "The useLocalStorage hook provides a convenient way to synchronize the state of a component with the data stored in local storage. It automatically reads the initial value from local storage when the component mounts and updates the local storage whenever the state changes.",
"keywords": [
"react",
"hook",
"localstorage",
"state",
"storage",
"useLocalStorage"
],
"repository": "A-4-Atom/localstorage-react",
"author": "Vikas Chauhan",
"scripts": {
"build": "tsup index.ts --format cjs,esm --dts",
"lint": "tsc",
"release": "npm run build && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"react": "^17.0.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"peerDependencies": {
"react": ">=16"
}
}