package.json 3.29 KB
Newer Older
1
{
afc163's avatar
afc163 committed
2
  "name": "ant-design-pro",
jim's avatar
jim committed
3
  "version": "2.0.0-beta.1",
偏右'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",
8
    "start": "cross-env ESLINT=none roadhog dev",
PKAQ's avatar
PKAQ committed
9
    "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
偏右's avatar
偏右 committed
10
    "build": "cross-env ESLINT=none roadhog build",
11
    "build-site": "roadhog-api-doc static",
nikogu's avatar
nikogu committed
12
    "site": "roadhog-api-doc static && gh-pages -d dist",
hzq's avatar
hzq committed
13
    "analyze": "cross-env ANALYZE=true roadhog build",
nikogu's avatar
nikogu committed
14 15
    "lint:style": "stylelint \"src/**/*.less\" --syntax less",
    "lint": "eslint --ext .js src mock tests && npm run lint:style",
afc163's avatar
afc163 committed
16
    "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
偏右's avatar
偏右 committed
17 18
    "lint-staged": "lint-staged",
    "lint-staged:js": "eslint --ext .js",
偏右's avatar
偏右 committed
19 20
    "test": "roadhog test",
    "test:component": "roadhog test ./src/components",
jim's avatar
jim committed
21 22
    "test:all": "node ./tests/run-tests.js",
    "prettier": "prettier --write ./src/**/**/**/*"
23 24
  },
  "dependencies": {
niko's avatar
niko committed
25
    "@antv/data-set": "^0.8.0",
26
    "@babel/polyfill": "^7.0.0-beta.36",
jim's avatar
jim committed
27
    "antd": "^3.6.1",
jim's avatar
jim committed
28
    "bizcharts": "^3.1.5",
jim's avatar
jim committed
29
    "bizcharts-plugin-slider": "^2.0.3",
afc163's avatar
afc163 committed
30
    "classnames": "^2.2.5",
jim's avatar
jim committed
31
    "dva": "^2.3.0",
jim's avatar
jim committed
32
    "dva-loading": "^2.0.1",
jljsj's avatar
jljsj committed
33
    "enquire-js": "^0.2.1",
jim's avatar
jim committed
34
    "less": "2.7.2",
35
    "lodash": "^4.17.4",
jim's avatar
jim committed
36
    "lodash-decorators": "^5.0.1",
jim's avatar
jim committed
37
    "moment": "^2.22.0",
38
    "numeral": "^2.0.6",
ddcat1115's avatar
ddcat1115 committed
39
    "omit.js": "^1.0.0",
陈帅's avatar
陈帅 committed
40
    "path-to-regexp": "^2.1.0",
41 42
    "prop-types": "^15.5.10",
    "qs": "^6.5.0",
jim's avatar
jim committed
43
    "rc-drawer": "^1.2.0",
44
    "react": "^16.4.0",
jim's avatar
jim committed
45
    "react-container-query": "^0.11.0",
46
    "react-document-title": "^2.0.3",
47
    "react-dom": "^16.4.0",
48
    "react-fittext": "^1.0.0",
49
    "rollbar": "^2.3.4",
50
    "url-polyfill": "^1.0.10"
51 52
  },
  "devDependencies": {
jim's avatar
fix ci  
jim committed
53
    "@types/react": "^16.3.8",
jim's avatar
jim committed
54
    "@types/react-dom": "^16.0.6",
jim's avatar
jim committed
55
    "antd-theme-webpack-plugin": "^1.0.8",
陈帅'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",
jim's avatar
jim committed
60 61
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-runtime": "^6.9.2",
jim's avatar
jim committed
62
    "cross-env": "^5.1.1",
偏右's avatar
偏右 committed
63
    "cross-port-killer": "^1.0.1",
afc163's avatar
afc163 committed
64
    "enzyme": "^3.1.0",
陈帅's avatar
陈帅 committed
65
    "eslint": "^4.14.0",
afc163's avatar
afc163 committed
66
    "eslint-config-airbnb": "^16.0.0",
jim's avatar
jim committed
67
    "eslint-config-prettier": "^2.9.0",
jim's avatar
jim committed
68
    "eslint-plugin-babel": "^5.1.0",
afc163's avatar
afc163 committed
69
    "eslint-plugin-compat": "^2.1.0",
陈帅's avatar
陈帅 committed
70 71
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
nikogu's avatar
nikogu committed
72
    "eslint-plugin-markdown": "^1.0.0-beta.6",
jim's avatar
jim committed
73 74
    "eslint-plugin-react": "^7.9.1",
    "gh-pages": "^1.2.0",
afc163's avatar
afc163 committed
75
    "husky": "^0.14.3",
jim's avatar
jim committed
76
    "lint-staged": "^7.0.5",
77
    "mockjs": "^1.0.1-beta3",
jim's avatar
jim committed
78
    "prettier": "1.13.4",
陈帅's avatar
陈帅 committed
79 80
    "pro-download": "^1.0.1",
    "redbox-react": "^1.5.0",
afc163's avatar
afc163 committed
81
    "regenerator-runtime": "^0.11.1",
jim's avatar
jim committed
82
    "roadhog": "^2.4.2",
jim's avatar
jim committed
83
    "roadhog-api-doc": "^1.0.3",
jim's avatar
jim committed
84
    "stylelint": "^9.2.1",
jim's avatar
jim committed
85
    "stylelint-config-prettier": "^3.0.4",
86
    "stylelint-config-standard": "^18.0.0"
偏右's avatar
偏右 committed
87
  },
88
  "optionalDependencies": {
jim's avatar
jim committed
89
    "puppeteer": "^1.4.0"
90
  },
偏右's avatar
偏右 committed
91
  "lint-staged": {
jim's avatar
jim committed
92
    "**/*.{js,jsx,less}": [
jim's avatar
jim committed
93
      "prettier --write",
jim's avatar
jim committed
94 95
      "git add"
    ],
jim's avatar
jim committed
96
    "**/*.{js,jsx}": "npm run lint-staged:js",
afc163's avatar
afc163 committed
97
    "**/*.less": "stylelint --syntax less"
afc163's avatar
afc163 committed
98
  },
afc163's avatar
afc163 committed
99
  "engines": {
ddcat1115's avatar
ddcat1115 committed
100
    "node": ">=8.0.0"
afc163's avatar
afc163 committed
101
  },
jim's avatar
jim committed
102 103 104 105 106
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 10"
  ]
107
}