-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
executable file
·99 lines (99 loc) · 3.01 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "ant-design-pro",
"version": "1.2.1",
"description": "An out-of-box UI solution for enterprise applications",
"private": true,
"scripts": {
"clean": "rm -rf node_modules/ && yarn",
"precommit": "lint-staged",
"start": "cross-env ESLINT=none roadhog dev",
"start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
"build": "cross-env ESLINT=none roadhog build",
"site": "roadhog-api-doc static && gh-pages -d dist",
"analyze": "cross-env ANALYZE=true roadhog build",
"lint:style": "stylelint \"src/**/*.less\" --syntax less",
"lint": "eslint --ext .js src mock tests && npm run lint:style",
"lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
"lint-staged:js": "eslint --ext .js",
"test": "roadhog test",
"test:component": "roadhog test ./src/components",
"test:all": "node ./tests/run-tests.js",
"format": "prettier --write './src/**/*.{less,js}'"
},
"dependencies": {
"@babel/polyfill": "^7.0.0-beta.44",
"@types/enzyme": "^3.1.9",
"@types/jest": "^22.2.2",
"@types/node": "^9.6.2",
"@types/react": "^16.3.5",
"@types/react-dom": "^16.0.4",
"ant-design-pro": "^1.2.1",
"antd": "^3.4.0",
"dva": "^2.1.0",
"dva-loading": "^1.0.4",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-error-boundary": "^1.2.1",
"redux-persist": "^5.9.1"
},
"devDependencies": {
"@types/eslint-plugin-prettier": "^2.2.0",
"@types/prettier": "^1.10.0",
"babel-eslint": "^8.2.2",
"babel-plugin-dva-hmr": "^0.4.1",
"babel-plugin-import": "^1.7.0",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"cross-env": "^5.1.4",
"cross-port-killer": "^1.0.1",
"enzyme": "^3.3.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-babel": "^5.0.0",
"eslint-plugin-compat": "^2.2.0",
"eslint-plugin-import": "^2.10.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"gh-pages": "^1.1.0",
"husky": "^0.14.3",
"lint-staged": "^7.0.3",
"mockjs": "^1.0.1-beta3",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"prettier": "1.11.1",
"pro-download": "^1.0.1",
"redbox-react": "^1.5.0",
"regenerator-runtime": "^0.11.1",
"roadhog": "^2.3.0",
"roadhog-api-doc": "^1.0.0",
"rollbar": "^2.3.9",
"stylelint": "^9.2.0",
"stylelint-config-prettier": "^3.0.4",
"stylelint-config-standard": "^18.2.0"
},
"optionalDependencies": {
"puppeteer": "^1.1.1"
},
"lint-staged": {
"src/*.{js,jsx}": [
"prettier --wirte",
"eslint --fix",
"git add"
],
"src/**/*.less": [
"prettier --wirte",
"git add",
"stylelint --syntax less"
]
},
"engines": {
"node": ">=8.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
}