-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.13 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
{
"private": true,
"name": "hook",
"version": "1.0.0",
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"build": "father-build",
"deploy": "npm run docs:build && npm run docs:deploy",
"release": "npm run build && npm publish",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"main": "lib/index.js",
"module": "es/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib",
"es"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@babel/runtime": "^7.10.4",
"react": "^16.12.0",
"vfile-message": "^2.0.4"
},
"devDependencies": {
"@umijs/preset-react": "^1.5.15",
"@umijs/test": "^3.2.8",
"dumi": "^1.0.31",
"father-build": "^1.18.1",
"gh-pages": "^3.1.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"yorkie": "^2.0.0"
}
}