-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.65 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
{
"private": true,
"scripts": {
"analyze": "cross-env ANALYZE=1 umi build",
"start": "umi dev",
"build": "umi build",
"postinstall": "umi generate tmp",
"prettier": "prettier --write \"src/**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:prettier": "prettier --check \"src/**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less"
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node verifyCommit.js"
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"dependencies": {
"bizcharts": "^4.1.9",
"classnames": "^2.2.6",
"lodash": "^4.17.20",
"react": "17.x",
"react-dom": "17.x",
"react-grid-layout": "^1.2.4",
"umi": "^3.5.8",
"use-merge-value": "^1.0.2"
},
"devDependencies": {
"@types/classnames": "^2.2.11",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-grid-layout": "^1.1.1",
"@umijs/fabric": "^2.6.2",
"@umijs/plugin-esbuild": "^1.3.1",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.5.8",
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
"lint-staged": "^10.0.7",
"prettier": "^2.2.0",
"typescript": "^4.1.2",
"yorkie": "^2.0.0"
}
}