package.json 3.14 KB
Newer Older
1
{
afc163's avatar
afc163 committed
2
  "name": "ant-design-pro",
陈帅's avatar
陈帅 committed
3
  "version": "1.3.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",
PKAQ's avatar
PKAQ committed
8 9
    "start": "cross-env ESLINT=none roadhog dev",
    "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
偏右's avatar
偏右 committed
10
    "build": "cross-env ESLINT=none 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",
jim's avatar
jim committed
20 21
    "test:all": "node ./tests/run-tests.js",
    "prettier": "prettier --write ./src/**/**/**/*"
22 23
  },
  "dependencies": {
niko's avatar
niko committed
24
    "@antv/data-set": "^0.8.0",
25
    "@babel/polyfill": "^7.0.0-beta.36",
陈帅's avatar
陈帅 committed
26
    "antd": "3.6.4",
陈帅's avatar
陈帅 committed
27
    "bizcharts": "^3.1.10",
niko's avatar
niko committed
28
    "bizcharts-plugin-slider": "^2.0.1",
afc163's avatar
afc163 committed
29
    "classnames": "^2.2.5",
jim's avatar
jim committed
30
    "dva": "^2.2.3",
陈帅's avatar
陈帅 committed
31
    "dva-loading": "^2.0.3",
jljsj's avatar
jljsj committed
32
    "enquire-js": "^0.2.1",
jim's avatar
jim committed
33
    "lodash": "^4.17.10",
陈帅's avatar
陈帅 committed
34
    "lodash-decorators": "^6.0.0",
35
    "moment": "^2.19.3",
36
    "numeral": "^2.0.6",
ddcat1115's avatar
ddcat1115 committed
37
    "omit.js": "^1.0.0",
陈帅's avatar
陈帅 committed
38
    "path-to-regexp": "^2.1.0",
39 40
    "prop-types": "^15.5.10",
    "qs": "^6.5.0",
41
    "rc-drawer": "^1.2.0",
陈帅's avatar
陈帅 committed
42
    "react": "^16.4.1",
陈帅's avatar
陈帅 committed
43
    "react-container-query": "^0.11.0",
44
    "react-document-title": "^2.0.3",
陈帅's avatar
陈帅 committed
45
    "react-dom": "^16.4.1",
46
    "react-fittext": "^1.0.0",
47
    "rollbar": "^2.3.4",
yoyo837's avatar
yoyo837 committed
48
    "setprototypeof": "^1.1.0",
49
    "url-polyfill": "^1.0.10"
50 51
  },
  "devDependencies": {
陈帅's avatar
陈帅 committed
52
    "babel-eslint": "^8.1.2",
53
    "babel-plugin-dva-hmr": "^0.4.1",
ddcat1115's avatar
ddcat1115 committed
54
    "babel-plugin-import": "^1.6.7",
55
    "babel-plugin-module-resolver": "^3.1.1",
yoyo837's avatar
yoyo837 committed
56
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
afc163's avatar
afc163 committed
57
    "cross-env": "^5.1.1",
偏右's avatar
偏右 committed
58
    "cross-port-killer": "^1.0.1",
afc163's avatar
afc163 committed
59
    "enzyme": "^3.1.0",
陈帅's avatar
陈帅 committed
60
    "eslint": "^5.0.0",
陈帅's avatar
陈帅 committed
61
    "eslint-config-airbnb": "^17.0.0",
jim's avatar
jim committed
62
    "eslint-config-prettier": "^2.9.0",
陈帅's avatar
陈帅 committed
63
    "eslint-plugin-babel": "^5.1.0",
afc163's avatar
afc163 committed
64
    "eslint-plugin-compat": "^2.1.0",
陈帅's avatar
陈帅 committed
65 66
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
nikogu's avatar
nikogu committed
67
    "eslint-plugin-markdown": "^1.0.0-beta.6",
68
    "eslint-plugin-react": "^7.0.1",
afc163's avatar
afc163 committed
69
    "gh-pages": "^1.0.0",
afc163's avatar
afc163 committed
70
    "husky": "^0.14.3",
陈帅's avatar
陈帅 committed
71
    "lint-staged": "^7.2.0",
72
    "mockjs": "^1.0.1-beta3",
陈帅's avatar
陈帅 committed
73
    "prettier": "1.13.5",
陈帅's avatar
陈帅 committed
74
    "pro-download": "^1.0.1",
75
    "react-loadable": "^5.4.0",
陈帅's avatar
陈帅 committed
76
    "redbox-react": "^1.5.0",
陈帅's avatar
陈帅 committed
77
    "regenerator-runtime": "^0.12.0",
偏右's avatar
偏右 committed
78
    "roadhog": "^2.4.2",
jim's avatar
fix ci  
jim committed
79
    "roadhog-api-doc": "^1.0.3",
陈帅's avatar
陈帅 committed
80
    "stylelint": "^9.2.1",
jim's avatar
jim committed
81
    "stylelint-config-prettier": "^3.0.4",
82
    "stylelint-config-standard": "^18.0.0"
偏右's avatar
偏右 committed
83
  },
84
  "optionalDependencies": {
jim's avatar
fix ci  
jim committed
85
    "puppeteer": "^1.4.0"
86
  },
偏右's avatar
偏右 committed
87
  "lint-staged": {
jim's avatar
jim committed
88
    "**/*.{js,jsx,less}": [
dong's avatar
dong committed
89
      "prettier --write",
jim's avatar
jim committed
90 91
      "git add"
    ],
92
    "**/*.{js,jsx}": "npm run lint-staged:js",
afc163's avatar
afc163 committed
93
    "**/*.less": "stylelint --syntax less"
afc163's avatar
afc163 committed
94
  },
afc163's avatar
afc163 committed
95
  "engines": {
ddcat1115's avatar
ddcat1115 committed
96
    "node": ">=8.0.0"
afc163's avatar
afc163 committed
97
  },
jim's avatar
jim committed
98 99 100 101 102
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 10"
  ]
103
}