package.json 3.2 KB
Newer Older
1
{
A
afc163 已提交
2
  "name": "ant-design-pro",
D
ddcat1115 已提交
3
  "version": "1.3.0",
偏右 已提交
4
  "description": "An out-of-box UI solution for enterprise applications",
5 6
  "private": true,
  "scripts": {
偏右 已提交
7
    "precommit": "npm run lint-staged",
P
PKAQ 已提交
8 9
    "start": "cross-env ESLINT=none roadhog dev",
    "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
偏右 已提交
10
    "build": "cross-env ESLINT=none roadhog build",
N
nikogu 已提交
11
    "site": "roadhog-api-doc static && gh-pages -d dist",
H
hzq 已提交
12
    "analyze": "cross-env ANALYZE=true roadhog build",
N
nikogu 已提交
13 14
    "lint:style": "stylelint \"src/**/*.less\" --syntax less",
    "lint": "eslint --ext .js src mock tests && npm run lint:style",
A
afc163 已提交
15
    "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
偏右 已提交
16 17
    "lint-staged": "lint-staged",
    "lint-staged:js": "eslint --ext .js",
偏右 已提交
18 19
    "test": "roadhog test",
    "test:component": "roadhog test ./src/components",
J
jim 已提交
20 21
    "test:all": "node ./tests/run-tests.js",
    "prettier": "prettier --write ./src/**/**/**/*"
22 23
  },
  "dependencies": {
N
niko 已提交
24
    "@antv/data-set": "^0.8.0",
C
chencheng (云谦) 已提交
25
    "@babel/polyfill": "^7.0.0-beta.36",
J
jim 已提交
26
    "antd": "^3.4.3",
J
jim 已提交
27
    "antd-theme-webpack-plugin": "^1.0.8",
28
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
A
afc163 已提交
29
    "babel-runtime": "^6.9.2",
J
jim 已提交
30
    "bizcharts": "^3.1.5",
J
jim 已提交
31
    "bizcharts-plugin-slider": "^2.0.3",
A
afc163 已提交
32
    "classnames": "^2.2.5",
J
jim 已提交
33
    "dva": "^2.2.3",
J
jim 已提交
34
    "dva-loading": "^2.0.1",
J
jljsj 已提交
35
    "enquire-js": "^0.2.1",
J
jim 已提交
36
    "less": "3.0.2",
37
    "lodash": "^4.17.4",
J
jim 已提交
38
    "lodash-decorators": "^5.0.0",
J
jim 已提交
39
    "moment": "^2.22.0",
40
    "numeral": "^2.0.6",
D
ddcat1115 已提交
41
    "omit.js": "^1.0.0",
陈帅 已提交
42
    "path-to-regexp": "^2.1.0",
43 44
    "prop-types": "^15.5.10",
    "qs": "^6.5.0",
J
jiang 已提交
45
    "rc-drawer-menu": "^0.5.0",
J
jim 已提交
46
    "react": "^16.3.1",
J
jim 已提交
47
    "react-container-query": "^0.11.0",
48
    "react-document-title": "^2.0.3",
J
jim 已提交
49
    "react-dom": "^16.3.1",
50
    "react-fittext": "^1.0.0",
51
    "rollbar": "^2.3.4",
52
    "url-polyfill": "^1.0.10"
53 54
  },
  "devDependencies": {
J
fix ci  
jim 已提交
55 56
    "@types/react": "^16.3.8",
    "@types/react-dom": "^16.0.5",
陈帅 已提交
57
    "babel-eslint": "^8.1.2",
C
chencheng (云谦) 已提交
58
    "babel-plugin-dva-hmr": "^0.4.1",
D
ddcat1115 已提交
59
    "babel-plugin-import": "^1.6.7",
60
    "babel-plugin-module-resolver": "^3.1.1",
A
afc163 已提交
61
    "cross-env": "^5.1.1",
偏右 已提交
62
    "cross-port-killer": "^1.0.1",
A
afc163 已提交
63
    "enzyme": "^3.1.0",
陈帅 已提交
64
    "eslint": "^4.14.0",
A
afc163 已提交
65
    "eslint-config-airbnb": "^16.0.0",
J
jim 已提交
66
    "eslint-config-prettier": "^2.9.0",
J
jim 已提交
67
    "eslint-plugin-babel": "^5.1.0",
A
afc163 已提交
68
    "eslint-plugin-compat": "^2.1.0",
陈帅 已提交
69 70
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
N
nikogu 已提交
71
    "eslint-plugin-markdown": "^1.0.0-beta.6",
72
    "eslint-plugin-react": "^7.0.1",
A
afc163 已提交
73
    "gh-pages": "^1.0.0",
A
afc163 已提交
74
    "husky": "^0.14.3",
J
jim 已提交
75
    "lint-staged": "^7.0.5",
76
    "mockjs": "^1.0.1-beta3",
J
jim 已提交
77
    "prettier": "1.12.1",
陈帅 已提交
78 79
    "pro-download": "^1.0.1",
    "redbox-react": "^1.5.0",
A
afc163 已提交
80
    "regenerator-runtime": "^0.11.1",
J
jim 已提交
81
    "roadhog": "^2.3.0",
82
    "roadhog-api-doc": "^1.0.2",
J
jim 已提交
83
    "stylelint": "^9.2.0",
J
jim 已提交
84
    "stylelint-config-prettier": "^3.0.4",
85
    "stylelint-config-standard": "^18.0.0"
偏右 已提交
86
  },
87
  "optionalDependencies": {
J
fix ci  
jim 已提交
88
    "puppeteer": "^1.3.0"
89
  },
偏右 已提交
90
  "lint-staged": {
J
jim 已提交
91 92 93 94
    "**/*.{js,jsx,less}": [
      "prettier --wirter",
      "git add"
    ],
J
jim 已提交
95
    "**/*.{js,jsx}": "npm run lint-staged:js",
A
afc163 已提交
96
    "**/*.less": "stylelint --syntax less"
A
afc163 已提交
97
  },
A
afc163 已提交
98
  "engines": {
D
ddcat1115 已提交
99
    "node": ">=8.0.0"
A
afc163 已提交
100
  },
J
jim 已提交
101 102 103 104 105
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 10"
  ]
106
}