package.json 2.84 KB
Newer Older
1
{
afc163's avatar
afc163 committed
2
  "name": "ant-design-pro",
ddcat1115's avatar
ddcat1115 committed
3
  "version": "1.1.0",
偏右's avatar
偏右 committed
4
  "description": "An out-of-box UI solution for enterprise applications",
5 6
  "private": true,
  "scripts": {
偏右's avatar
偏右 committed
7
    "precommit": "npm run lint-staged",
afc163's avatar
afc163 committed
8
    "start": "cross-env DISABLE_ESLINT=true roadhog dev",
偏右's avatar
偏右 committed
9 10
    "start:no-proxy": "cross-env NO_PROXY=true DISABLE_ESLINT=true roadhog dev",
    "build": "cross-env DISABLE_ESLINT=true roadhog build",
nikogu's avatar
nikogu committed
11
    "site": "roadhog-api-doc static && gh-pages -d dist",
hzq's avatar
hzq committed
12
    "analyze": "cross-env ANALYZE=true roadhog build",
nikogu's avatar
nikogu committed
13 14
    "lint:style": "stylelint \"src/**/*.less\" --syntax less",
    "lint": "eslint --ext .js src mock tests && npm run lint:style",
afc163's avatar
afc163 committed
15
    "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
偏右's avatar
偏右 committed
16 17
    "lint-staged": "lint-staged",
    "lint-staged:js": "eslint --ext .js",
偏右's avatar
偏右 committed
18 19
    "test": "roadhog test",
    "test:component": "roadhog test ./src/components",
偏右's avatar
偏右 committed
20
    "test:all": "node ./tests/run-tests.js"
21 22
  },
  "dependencies": {
niko's avatar
niko committed
23
    "@antv/data-set": "^0.8.0",
24
    "@babel/polyfill": "^7.0.0-beta.36",
jim's avatar
jim committed
25
    "antd": "^3.2.0",
afc163's avatar
afc163 committed
26
    "babel-runtime": "^6.9.2",
27
    "bizcharts": "^3.1.3-beta.1",
niko's avatar
niko committed
28
    "bizcharts-plugin-slider": "^2.0.1",
afc163's avatar
afc163 committed
29
    "classnames": "^2.2.5",
30
    "dva": "^2.1.0",
Andreas Cederström's avatar
Andreas Cederström committed
31
    "dva-loading": "^1.0.4",
jiang's avatar
jiang committed
32
    "enquire-js": "^0.1.1",
afc163's avatar
afc163 committed
33
    "fastclick": "^1.0.6",
34
    "lodash": "^4.17.4",
afc163's avatar
afc163 committed
35
    "lodash-decorators": "^4.4.1",
afc163's avatar
afc163 committed
36
    "moment": "^2.19.1",
37
    "numeral": "^2.0.6",
ddcat1115's avatar
ddcat1115 committed
38
    "omit.js": "^1.0.0",
陈帅's avatar
陈帅 committed
39
    "path-to-regexp": "^2.1.0",
40 41
    "prop-types": "^15.5.10",
    "qs": "^6.5.0",
jiang's avatar
jiang committed
42
    "rc-drawer-menu": "^0.5.0",
ddcat1115's avatar
ddcat1115 committed
43
    "react": "^16.2.0",
afc163's avatar
afc163 committed
44
    "react-container-query": "^0.9.1",
45
    "react-document-title": "^2.0.3",
ddcat1115's avatar
ddcat1115 committed
46
    "react-dom": "^16.2.0",
47 48
    "react-fittext": "^1.0.0",
    "url-polyfill": "^1.0.10"
49 50
  },
  "devDependencies": {
陈帅's avatar
陈帅 committed
51
    "babel-eslint": "^8.1.2",
52
    "babel-plugin-dva-hmr": "^0.4.1",
陈帅's avatar
陈帅 committed
53
    "babel-plugin-import": "^1.6.3",
54
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
afc163's avatar
afc163 committed
55
    "cross-env": "^5.1.1",
偏右's avatar
偏右 committed
56
    "cross-port-killer": "^1.0.1",
afc163's avatar
afc163 committed
57
    "enzyme": "^3.1.0",
陈帅's avatar
陈帅 committed
58
    "eslint": "^4.14.0",
afc163's avatar
afc163 committed
59
    "eslint-config-airbnb": "^16.0.0",
60
    "eslint-plugin-babel": "^4.0.0",
afc163's avatar
afc163 committed
61
    "eslint-plugin-compat": "^2.1.0",
陈帅's avatar
陈帅 committed
62 63
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
nikogu's avatar
nikogu committed
64
    "eslint-plugin-markdown": "^1.0.0-beta.6",
65
    "eslint-plugin-react": "^7.0.1",
afc163's avatar
afc163 committed
66
    "gh-pages": "^1.0.0",
afc163's avatar
afc163 committed
67
    "husky": "^0.14.3",
68
    "lint-staged": "^6.0.0",
69
    "mockjs": "^1.0.1-beta3",
陈帅's avatar
陈帅 committed
70 71
    "pro-download": "^1.0.1",
    "redbox-react": "^1.5.0",
afc163's avatar
afc163 committed
72
    "regenerator-runtime": "^0.11.1",
偏右's avatar
偏右 committed
73
    "roadhog": "^2.1.0",
74
    "roadhog-api-doc": "^0.3.4",
陈帅's avatar
陈帅 committed
75 76
    "rollbar": "^2.3.4",
    "stylelint": "^8.4.0",
77
    "stylelint-config-standard": "^18.0.0"
偏右's avatar
偏右 committed
78
  },
79 80 81
  "optionalDependencies": {
    "nightmare": "^2.10.0"
  },
偏右's avatar
偏右 committed
82 83
  "lint-staged": {
    "**/*.{js,jsx}": "lint-staged:js",
afc163's avatar
afc163 committed
84
    "**/*.less": "stylelint --syntax less"
afc163's avatar
afc163 committed
85
  },
afc163's avatar
afc163 committed
86 87 88 89 90
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 10"
  ]
91
}