-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.49 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
{
"private": true,
"scripts": {
"start:dev": "UMI_ENV=dev umi dev",
"start:prod": "UMI_ENV=prod umi dev ",
"build:dev": "UMI_ENV=dev BUILD_OPTION=true umi build",
"build:prod": "UMI_ENV=prod BUILD_OPTION=true umi build ",
"postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less}'",
"prettierSingle": "prettier --write",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{css,less}": [
"prettier --write"
],
"*.{js?(x)}": [
"eslint --fix",
"prettier --write"
],
"*.ts?(x)": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@antv/data-set": "^0.11.4",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.1.1",
"bizcharts": "^3.5.8",
"bx-tooltip": "^0.1.4",
"lint-staged": "^10.0.7",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"umi": "^3.1.1",
"yorkie": "^2.0.0"
},
"devDependencies": {
"@types/mockjs": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"@umijs/plugin-sass": "^1.1.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"mobx": "^5.15.4",
"mobx-react": "^6.2.2",
"mockjs": "^1.1.0",
"prettier": "^1.19.1",
"typescript": "^3.8.3"
}
}