forked from leny/react-use-storage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
66 lines (66 loc) · 1.61 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
{
"name": "react-use-storage",
"version": "0.4.2",
"description": "React Hook to handle local and session storage",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/index.d.ts",
"scripts": {
"copy:types": "npx cpx src/index.d.ts lib",
"build:cjs": "npx babel src --env-name cjs --out-dir lib/cjs",
"build:esm": "npx babel src --env-name esm --out-dir lib/esm",
"build": "npm run copy:types && npm run build:cjs && npm run build:esm",
"prepublishOnly": "npm run build",
"lint": "npx eslint --fix --cache src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/leny/react-use-storage.git"
},
"files": [
"lib"
],
"keywords": [
"react",
"hook",
"hooks",
"storage",
"localstorage",
"sessionstorage"
],
"author": "leny <info@flatland.be>",
"contributors": [
"Odonno (https://github.com/Odonno)"
],
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/leny/react-use-storage/issues"
},
"homepage": "https://github.com/leny/react-use-storage#readme",
"lint-staged": {
"*.js": [
"npx eslint --fix --cache"
]
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged"
}
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"babel-eslint": "^10.0.1",
"cpx": "^1.5.0",
"eslint": "^7.4.0",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^4.2.1",
"lint-staged": "^10.0.7",
"prettier": "^2.0.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
}