-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.31 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
{
"name": "use-storage",
"version": "0.1.0",
"description": "a react hook to use localStorage and sessionStorage conveniently",
"main": "./lib/index.js",
"module": "./es/index.js",
"types": "./es/index.d.ts",
"umd": {
"file": "./dist/index.min.js",
"module": "arcoMaterial"
},
"scripts": {
"dev": "arco-scripts dev:component",
"build": "arco-scripts build:component",
"docgen": "arco-scripts docgen",
"test": "NODE_ENV=test arco-scripts test:client",
"add:util": "node ./scripts/addUtil.js",
"show:config": "arco-scripts show:config",
"eslint": "eslint tests/ src/ --fix --cache --quiet --ext .js,.ts",
"format": "prettier '{tests,src}/**/*.{js,ts}' --config .prettierrc --write",
"clean": "rm -rf es lib dist",
"prepublishOnly": "npm run clean && npm run build && npm run docgen"
},
"devDependencies": {
"@testing-library/react-hooks": "^2.0.1",
"@types/jest": "^26.0.19",
"@types/shallowequal": "^1.1.1",
"@typescript-eslint/eslint-plugin": "4.0.1",
"@typescript-eslint/parser": "4.0.1",
"arco-scripts": "^1.25.15",
"chalk": "^2.4.2",
"concurrently": "^5.3.0",
"cross-spawn": "^7.0.3",
"eslint": "^7.15.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-typescript": "^0.14.0",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"husky": "^4.3.6",
"jsdom": "^16.4.0",
"jsdom-global": "^3.0.2",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"react": "^18.1.0",
"react-test-renderer": "^18.1.0",
"typescript": "^4.1.3",
"typescript-json-schema": "^0.45.0"
},
"dependencies": {
"@babel/runtime": "^7.5.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"npm run eslint",
"arco-scripts test:client --bail --findRelatedTests --passWithNoTests --coverage",
"git add"
]
},
"sideEffects": [
"dist/**/*"
],
"files": [
"es",
"lib",
"dist"
],
"arcoMeta": {
"type": "react-utils",
"title": "use-storage",
"category": []
},
"license": "MIT"
}