-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpackage.json
99 lines (99 loc) · 3.19 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
{
"private": true,
"version": "2.2.0",
"scripts": {
"clean": "rimraf dist/*",
"copy": "copyfiles -f ./node_modules/es5-shim/es5-shim.min.js ./node_modules/es5-shim/es5-sham.min.js ./node_modules/html5shiv/dist/html5shiv.min.js ./node_modules/matchmedia-polyfill/matchMedia.js ./dist/js",
"precommit": "npm run lint-staged",
"start": "cross-env ESLINT=none roadhog dev",
"start:no-proxy": "cross-env NO_PROXY=true DISABLE_ESLINT=true 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": "lint-staged",
"lint-staged:js": "eslint --ext .js",
"test": "jest",
"test:component": "roadhog test ./src/components",
"test:all": "node ./tests/run-tests.js"
},
"engines": {
"install-node": "6.9.2"
},
"dependencies": {
"antd": "^3.6.6",
"antd-mobile": "^2.2.1",
"@babel/polyfill": "^7.0.0-beta.53",
"classnames": "^2.2.6",
"dva": "^2.3.1",
"dva-loading": "^2.0.3",
"es6-promise": "^4.2.4",
"history": "^4.7.2",
"intl": "^1.2.5",
"moment": "^2.22.2",
"query-string": "^6.1.0",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-intl": "^2.4.0"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.5",
"babel-jest": "^23.4.0",
"babel-plugin-dva-hmr": "^0.4.1",
"babel-plugin-import": "^1.8.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-runtime": "^6.26.0",
"cash-cp": "^0.2.0",
"cash-mv": "^0.2.0",
"copyfiles": "^2.0.0",
"cross-port-killer": "^1.0.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.1.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-react": "^7.10.0",
"expect": "^23.4.0",
"gh-pages": "^1.2.0",
"husky": "^0.14.3",
"ignore-styles": "^5.0.1",
"jest": "^23.4.0",
"lint-staged": "^7.2.0",
"mockjs": "^1.0.1-beta3",
"postcss-pxtorem": "^4.0.1",
"raf": "^3.4.0",
"react-addons-test-utils": "^15.6.2",
"react-container-query": "^0.11.0",
"react-test-renderer": "^16.4.1",
"redbox-react": "^1.6.0",
"roadhog": "^2.4.0-beta.3",
"roadhog-api-doc": "^1.1.0",
"sinon": "^6.1.3",
"stylelint": "^9.3.0",
"stylelint-config-standard": "^18.2.0"
},
"optionalDependencies": {
"puppeteer": "^1.5.0"
},
"lint-staged": {
"**/*.{js,jsx}": "lint-staged:js",
"**/*.less": "stylelint --syntax less"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
}