-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 2.21 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"version": "2.2.2",
"keywords": [
"react",
"hooks",
"localstorage"
],
"homepage": "https://github.com/buzuosheng/use-localstorage",
"repository": {
"type": "git",
"url": "https://github.com/buzuosheng/use-localstorage.git"
},
"license": "MIT",
"main": "dist/use-localstorage.js",
"module": "dist/use-localstorage.mjs",
"typings": "dist/use-localstorage.d.ts",
"private": false,
"packageManager": "pnpm@8.6.11",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=16.14.0"
},
"scripts": {
"start": "tsup watch",
"build": "tsup",
"test": "jest",
"lint": "eslint src --fix",
"prepare": "npm run build",
"size": "size-limit",
"analyze": "size-limit --why",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "@buzuosheng/use-localstorage",
"author": "buzuosheng",
"size-limit": [
{
"path": "dist/use-localstorage.mjs",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/core": "^7.23.2",
"@size-limit/preset-small-lib": "^10.0.2",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^7.5.3",
"@storybook/addons": "^7.5.3",
"@storybook/react": "^7.5.3",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.8",
"@types/ms": "^0.7.34",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"babel-loader": "^9.1.3",
"eslint": "^8.53.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"rollup": "^4.3.0",
"size-limit": "^10.0.2",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"ms": "^2.1.3"
}
}