package.json 3.09 KB
Newer Older
1
{
afc163's avatar
afc163 committed
2
  "name": "ant-design-pro",
nikogu's avatar
nikogu committed
3
  "version": "0.2.2-rc.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",
8
    "start": "roadhog server",
nikogu's avatar
nikogu committed
9
    "start:no-proxy": "NO_PROXY=true roadhog server",
10
    "build": "roadhog build",
11
    "site": "roadhog-api-doc static",
afc163's avatar
afc163 committed
12
    "analyze": "roadhog build --analyze",
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": "jest",
    "test:all": "node ./tests/run-tests.js"
20 21
  },
  "dependencies": {
afc163's avatar
afc163 committed
22
    "antd": "^3.0.0-beta.1",
afc163's avatar
afc163 committed
23
    "babel-runtime": "^6.9.2",
afc163's avatar
afc163 committed
24
    "classnames": "^2.2.5",
afc163's avatar
afc163 committed
25
    "core-js": "^2.5.1",
afc163's avatar
afc163 committed
26
    "dva": "^2.0.3",
afc163's avatar
afc163 committed
27 28 29
    "g-cloud": "^1.0.2-beta",
    "g2": "^2.3.13",
    "g2-plugin-slider": "^1.2.1",
30
    "lodash": "^4.17.4",
afc163's avatar
afc163 committed
31 32
    "lodash-decorators": "^4.4.1",
    "lodash.clonedeep": "^4.5.0",
afc163's avatar
afc163 committed
33
    "moment": "^2.19.1",
34 35 36
    "numeral": "^2.0.6",
    "prop-types": "^15.5.10",
    "qs": "^6.5.0",
afc163's avatar
afc163 committed
37
    "react": "^16.0.0",
afc163's avatar
afc163 committed
38
    "react-container-query": "^0.9.1",
39
    "react-document-title": "^2.0.3",
偏右's avatar
偏右 committed
40 41
    "react-dom": "^16.0.0",
    "react-fittext": "^1.0.0"
42 43
  },
  "devDependencies": {
afc163's avatar
afc163 committed
44
    "babel-eslint": "^8.0.1",
偏右's avatar
偏右 committed
45
    "babel-jest": "^21.0.0",
46 47
    "babel-plugin-dva-hmr": "^0.3.2",
    "babel-plugin-import": "^1.2.1",
afc163's avatar
afc163 committed
48
    "babel-plugin-transform-class-properties": "^6.24.1",
49 50
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-plugin-transform-runtime": "^6.9.0",
afc163's avatar
afc163 committed
51 52
    "babel-preset-env": "^1.6.1",
    "babel-preset-react": "^6.24.1",
偏右's avatar
偏右 committed
53
    "cross-port-killer": "^1.0.1",
afc163's avatar
afc163 committed
54
    "enzyme": "^3.1.0",
afc163's avatar
afc163 committed
55
    "enzyme-adapter-react-16": "^1.0.2",
niko's avatar
niko committed
56
    "eslint": "^4.8.0",
afc163's avatar
afc163 committed
57
    "eslint-config-airbnb": "^16.0.0",
58 59
    "eslint-plugin-babel": "^4.0.0",
    "eslint-plugin-import": "^2.2.0",
afc163's avatar
afc163 committed
60
    "eslint-plugin-jsx-a11y": "^6.0.0",
nikogu's avatar
nikogu committed
61
    "eslint-plugin-markdown": "^1.0.0-beta.6",
62
    "eslint-plugin-react": "^7.0.1",
afc163's avatar
afc163 committed
63
    "gh-pages": "^1.0.0",
afc163's avatar
afc163 committed
64
    "husky": "^0.14.3",
偏右's avatar
偏右 committed
65
    "jest": "^21.0.1",
偏右's avatar
偏右 committed
66
    "lint-staged": "^4.3.0",
67
    "mockjs": "^1.0.1-beta3",
afc163's avatar
afc163 committed
68
    "pro-download": "^1.0.0",
afc163's avatar
afc163 committed
69
    "react-test-renderer": "^16.0.0",
70
    "redbox-react": "^1.3.2",
71
    "roadhog": "^1.3.1",
nikogu's avatar
nikogu committed
72
    "roadhog-api-doc": "^0.2.0",
nikogu's avatar
nikogu committed
73
    "stylelint": "^8.1.0",
nikogu's avatar
nikogu committed
74
    "stylelint-config-standard": "^17.0.0"
偏右's avatar
偏右 committed
75
  },
76 77 78
  "optionalDependencies": {
    "nightmare": "^2.10.0"
  },
偏右's avatar
偏右 committed
79 80
  "babel": {
    "presets": [
afc163's avatar
afc163 committed
81
      "env",
偏右's avatar
偏右 committed
82 83 84
      "react"
    ],
    "plugins": [
afc163's avatar
afc163 committed
85 86
      "transform-decorators-legacy",
      "transform-class-properties"
偏右's avatar
偏右 committed
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
    ]
  },
  "jest": {
    "setupFiles": [
      "<rootDir>/tests/setupTests.js"
    ],
    "testMatch": [
      "**/?(*.)(spec|test|e2e).js?(x)"
    ],
    "setupTestFrameworkScriptFile": "<rootDir>/tests/jasmine.js",
    "moduleFileExtensions": [
      "js",
      "jsx"
    ],
    "moduleNameMapper": {
      "\\.(css|less)$": "<rootDir>/tests/styleMock.js"
    }
偏右's avatar
偏右 committed
104 105 106
  },
  "lint-staged": {
    "**/*.{js,jsx}": "lint-staged:js",
afc163's avatar
afc163 committed
107
    "**/*.less": "stylelint --syntax less"
108 109
  }
}