package.json 3.21 KB
Newer Older
1
{
afc163's avatar
afc163 committed
2
  "name": "ant-design-pro",
ddcat1115's avatar
ddcat1115 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",
jim's avatar
jim committed
26
    "antd": "^3.4.3",
jim's avatar
jim committed
27
    "antd-theme-webpack-plugin": "^1.0.8",
28
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
afc163's avatar
afc163 committed
29
    "babel-runtime": "^6.9.2",
jim's avatar
jim committed
30
    "bizcharts": "^3.1.5",
jim's avatar
jim committed
31
    "bizcharts-plugin-slider": "^2.0.3",
afc163's avatar
afc163 committed
32
    "classnames": "^2.2.5",
jim's avatar
jim committed
33
    "dva": "^2.2.3",
Andreas Cederström's avatar
Andreas Cederström committed
34
    "dva-loading": "^1.0.4",
jljsj's avatar
jljsj committed
35
    "enquire-js": "^0.2.1",
36
    "lodash": "^4.17.4",
afc163's avatar
afc163 committed
37
    "lodash-decorators": "^4.4.1",
jim's avatar
jim committed
38
    "moment": "^2.22.0",
39
    "numeral": "^2.0.6",
ddcat1115's avatar
ddcat1115 committed
40
    "omit.js": "^1.0.0",
陈帅's avatar
陈帅 committed
41
    "path-to-regexp": "^2.1.0",
42 43
    "prop-types": "^15.5.10",
    "qs": "^6.5.0",
jiang's avatar
jiang committed
44
    "rc-drawer-menu": "^0.5.0",
jim's avatar
jim committed
45
    "react": "^16.3.1",
afc163's avatar
afc163 committed
46
    "react-container-query": "^0.9.1",
47
    "react-document-title": "^2.0.3",
jim's avatar
jim committed
48
    "react-dom": "^16.3.1",
49
    "react-fittext": "^1.0.0",
50
    "rollbar": "^2.3.4",
51
    "url-polyfill": "^1.0.10"
52 53
  },
  "devDependencies": {
jim's avatar
fix ci  
jim committed
54 55
    "@types/react": "^16.3.8",
    "@types/react-dom": "^16.0.5",
陈帅's avatar
陈帅 committed
56
    "babel-eslint": "^8.1.2",
57
    "babel-plugin-dva-hmr": "^0.4.1",
ddcat1115's avatar
ddcat1115 committed
58
    "babel-plugin-import": "^1.6.7",
59
    "babel-plugin-module-resolver": "^3.1.1",
afc163's avatar
afc163 committed
60
    "cross-env": "^5.1.1",
偏右's avatar
偏右 committed
61
    "cross-port-killer": "^1.0.1",
afc163's avatar
afc163 committed
62
    "enzyme": "^3.1.0",
陈帅's avatar
陈帅 committed
63
    "eslint": "^4.14.0",
afc163's avatar
afc163 committed
64
    "eslint-config-airbnb": "^16.0.0",
jim's avatar
jim committed
65
    "eslint-config-prettier": "^2.9.0",
66
    "eslint-plugin-babel": "^4.0.0",
afc163's avatar
afc163 committed
67
    "eslint-plugin-compat": "^2.1.0",
陈帅's avatar
陈帅 committed
68 69
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
nikogu's avatar
nikogu committed
70
    "eslint-plugin-markdown": "^1.0.0-beta.6",
71
    "eslint-plugin-react": "^7.0.1",
afc163's avatar
afc163 committed
72
    "gh-pages": "^1.0.0",
afc163's avatar
afc163 committed
73
    "husky": "^0.14.3",
74
    "lint-staged": "^6.0.0",
75
    "mockjs": "^1.0.1-beta3",
jim's avatar
jim committed
76
    "prettier": "1.11.1",
陈帅's avatar
陈帅 committed
77 78
    "pro-download": "^1.0.1",
    "redbox-react": "^1.5.0",
afc163's avatar
afc163 committed
79
    "regenerator-runtime": "^0.11.1",
jim's avatar
jim committed
80
    "roadhog": "^2.3.0",
81
    "roadhog-api-doc": "^1.0.2",
陈帅's avatar
陈帅 committed
82
    "stylelint": "^8.4.0",
jim's avatar
jim committed
83
    "stylelint-config-prettier": "^3.0.4",
84
    "stylelint-config-standard": "^18.0.0"
偏右's avatar
偏右 committed
85
  },
86
  "optionalDependencies": {
jim's avatar
fix ci  
jim committed
87
    "puppeteer": "^1.3.0"
88
  },
偏右's avatar
偏右 committed
89
  "lint-staged": {
jim's avatar
jim committed
90 91 92 93
    "**/*.{js,jsx,less}": [
      "prettier --wirter",
      "git add"
    ],
偏右's avatar
偏右 committed
94
    "**/*.{js,jsx}": "lint-staged:js",
afc163's avatar
afc163 committed
95
    "**/*.less": "stylelint --syntax less"
afc163's avatar
afc163 committed
96
  },
afc163's avatar
afc163 committed
97
  "engines": {
ddcat1115's avatar
ddcat1115 committed
98
    "node": ">=8.0.0"
afc163's avatar
afc163 committed
99
  },
jim's avatar
jim committed
100 101 102 103 104
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 10"
  ]
105
}