package.json 5.1 KB
Newer Older
A
afc163 已提交
1
{
A
afc163 已提交
2
  "name": "antd",
A
afc163 已提交
3
  "version": "0.12.3",
A
afc163 已提交
4
  "title": "Ant Design",
A
afc163 已提交
5
  "description": "一个 UI 设计语言",
A
afc163 已提交
6
  "homepage": "http://ant.design/",
Y
yiminghe 已提交
7
  "keywords": [
A
afc163 已提交
8 9 10
    "ant",
    "design",
    "react",
Y
yiminghe 已提交
11
    "react-component",
A
afc163 已提交
12 13 14 15 16
    "component",
    "components",
    "ui",
    "framework",
    "frontend"
Y
yiminghe 已提交
17
  ],
Y
Yuwei Ba 已提交
18 19 20
  "contributors": [
    "ant"
  ],
A
afc163 已提交
21 22
  "repository": {
    "type": "git",
A
afc163 已提交
23
    "url": "https://github.com/ant-design/ant-design"
A
afc163 已提交
24 25
  },
  "bugs": {
A
afc163 已提交
26
    "url": "https://github.com/ant-design/ant-design/issues"
A
afc163 已提交
27
  },
Y
yiminghe 已提交
28
  "main": "lib/index",
Y
Yuwei Ba 已提交
29
  "files": [
A
afc163 已提交
30 31
    "lib",
    "style"
Y
Yuwei Ba 已提交
32
  ],
Y
yiminghe 已提交
33
  "license": "MIT",
A
afc163 已提交
34
  "dependencies": {
A
afc163 已提交
35
    "array-tree-filter": "~1.0.0",
36
    "classnames": "~2.2.0",
Y
yiminghe 已提交
37
    "css-animation": "~1.1.0",
B
Benjy Cui 已提交
38
    "gregorian-calendar": "~4.1.0",
A
afc163 已提交
39
    "gregorian-calendar-format": "~4.1.0",
A
afc163 已提交
40
    "object-assign": "~4.0.1",
Y
yiminghe 已提交
41
    "rc-animate": "~2.0.2",
Y
yiminghe 已提交
42
    "rc-calendar": "~5.4.0",
A
afc163 已提交
43
    "rc-cascader": "~0.9.0",
Y
yiminghe 已提交
44
    "rc-checkbox": "~1.3.0",
A
afc163 已提交
45
    "rc-collapse": "~1.4.4",
A
afc163 已提交
46
    "rc-dialog": "~5.3.1",
Y
upgrade  
yiminghe 已提交
47
    "rc-dropdown": "~1.4.3",
48
    "rc-form": "~0.13.0",
Y
yiminghe 已提交
49
    "rc-form-validation": "~2.5.0",
A
afc163 已提交
50
    "rc-input-number": "~2.4.1",
A
afc163 已提交
51
    "rc-menu": "~4.10.2",
A
afc163 已提交
52
    "rc-notification": "~1.3.1",
A
afc163 已提交
53
    "rc-pagination": "~1.4.0",
Y
yiminghe 已提交
54
    "rc-progress": "~1.0.4",
A
afc163 已提交
55
    "rc-queue-anim": "~0.11.2",
Y
Yuwei Ba 已提交
56
    "rc-radio": "~2.0.0",
A
afc163 已提交
57
    "rc-select": "~5.9.1",
B
Benjy Cui 已提交
58
    "rc-slider": "~3.3.0",
Y
yiminghe 已提交
59
    "rc-steps": "~1.4.1",
A
afc163 已提交
60
    "rc-switch": "~1.3.2",
61
    "rc-table": "~3.10.1",
A
afc163 已提交
62
    "rc-tabs": "~5.7.0",
63
    "rc-time-picker": "~1.1.0",
A
afc163 已提交
64
    "rc-tooltip": "~3.3.1",
然则 已提交
65
    "rc-tree": "~1.1.0",
A
afc163 已提交
66
    "rc-tree-select": "~1.1.1",
A
afc163 已提交
67
    "rc-trigger": "~1.1.1",
A
afc163 已提交
68
    "rc-upload": "~1.8.0",
A
afc163 已提交
69
    "rc-util": "~3.1.2",
B
Benjy Cui 已提交
70
    "react-slick": "^0.10.0",
A
afc163 已提交
71
    "velocity-animate": "~1.2.2",
Y
upgrade  
yiminghe 已提交
72
    "warning": "~2.1.0"
A
afc163 已提交
73 74
  },
  "devDependencies": {
A
afc163 已提交
75 76 77 78 79 80 81
    "babel-cli": "^6.2.0",
    "babel-core": "^6.2.1",
    "babel-jest": "^6.0.1",
    "babel-loader": "^6.2.0",
    "babel-plugin-add-module-exports": "^0.1.1",
    "babel-preset-es2015": "^6.1.18",
    "babel-preset-react": "^6.1.18",
A
afc163 已提交
82
    "babel-preset-react-hmre": "^1.1.0",
A
afc163 已提交
83
    "babel-preset-stage-0": "^6.1.18",
A
afc163 已提交
84 85
    "busboy": "^0.2.9",
    "chalk": "^1.1.0",
A
afc163 已提交
86
    "css-loader": "^0.23.0",
Y
yiminghe 已提交
87
    "cz-conventional-changelog": "^1.1.5",
88
    "es3ify-loader": "^0.1.0",
B
Benjy Cui 已提交
89 90
    "eslint": "^2.2.0",
    "eslint-config-airbnb": "^6.0.1",
A
afc163 已提交
91
    "eslint-plugin-babel": "^3.0.0",
A
afc163 已提交
92
    "eslint-plugin-markdown": "*",
B
Benjy Cui 已提交
93
    "eslint-plugin-react": "^4.0.0",
94
    "eslint-tinker": "^0.3.1",
A
afc163 已提交
95 96
    "extract-text-webpack-plugin": "^1.0.1",
    "gh-pages": "^0.9.0",
B
Benjy Cui 已提交
97
    "history": "^1.17.0",
A
afc163 已提交
98
    "instantclick": "^3.1.0",
A
afc163 已提交
99
    "jest-cli": "~0.8.0",
A
afc163 已提交
100
    "json-loader": "^0.5.1",
A
afc163 已提交
101
    "less": "~2.6.0",
A
afc163 已提交
102
    "less-loader": "^2.2.0",
A
afc163 已提交
103
    "lesshint-antd": "^1.2.1",
A
afc163 已提交
104
    "lodash": "^4.1.0",
A
afc163 已提交
105
    "nico-jsx": "~0.8.2",
106
    "postcss-loader": "^0.8.0",
Y
yiminghe 已提交
107
    "pre-commit": "1.x",
108
    "rc-scroll-anim": "^0.1.7",
A
afc163 已提交
109
    "rc-tween-one": "^0.1.8",
A
afc163 已提交
110 111
    "react": "0.14.x",
    "react-addons-test-utils": "0.14.x",
A
afc163 已提交
112
    "react-copy-to-clipboard": "^4.0.1",
A
afc163 已提交
113
    "react-dom": "0.14.x",
A
afc163 已提交
114
    "react-router": "^2.0.0",
115
    "react-stateless-wrapper": "~1.0.2",
A
afc163 已提交
116
    "reqwest": "~2.0.5",
Y
fix dep  
yiminghe 已提交
117
    "semver": "^5.1.0",
A
afc163 已提交
118
    "values.js": "^1.0.3",
A
afc163 已提交
119
    "webpack": "^1.10.1",
A
afc163 已提交
120
    "webpack-babel-jest": "^1.0.0",
A
afc163 已提交
121 122
    "webpack-dev-middleware": "^1.5.1",
    "webpack-hot-middleware": "^2.6.4"
A
update  
afc163 已提交
123 124
  },
  "scripts": {
A
afc163 已提交
125
    "babel": "babel components index.js --out-dir lib",
Y
yiminghe 已提交
126
    "start": "npm run clean && nico server --watch",
A
afc163 已提交
127
    "clean": "rm -rf _site dist",
A
afc163 已提交
128
    "site": "npm run clean && webpack --config webpack.deploy.config.js && webpack --config webpack.antd.config.js && NODE_ENV=PRODUCTION nico build",
A
afc163 已提交
129
    "deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
A
afc163 已提交
130
    "just-deploy": "npm run site && node scripts/deploy.js",
B
Benjy Cui 已提交
131
    "lint": "npm run srclint && npm run mdlint && npm run lesshint",
132
    "srclint": "eslint components test index.js --ext '.js,.jsx'",
133
    "mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0, eol-last: 0, prefer-rest-params: 0'",
A
afc163 已提交
134
    "lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
B
Benjy Cui 已提交
135
    "eslint-fix": "eslint --fix components test index.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
A
update  
afc163 已提交
136 137
    "test": "npm run lint && webpack && npm run jest",
    "jest": "jest",
Y
yiminghe 已提交
138
    "pub": "sh ./scripts/publish.sh",
Y
beta2  
yiminghe 已提交
139
    "webpack": "webpack",
Y
yiminghe 已提交
140
    "beta": "sh ./scripts/publish.sh --tag beta"
Y
yiminghe 已提交
141
  },
A
afc163 已提交
142
  "jest": {
A
afc163 已提交
143
    "testRunner": "<rootDir>/node_modules/jest-cli/src/testRunners/jasmine/jasmine2",
A
afc163 已提交
144 145 146 147 148 149 150 151
    "moduleFileExtensions": [
      "js",
      "jsx",
      "json"
    ],
    "unmockedModulePathPatterns": [
      "<rootDir>/node_modules/*"
    ],
A
update  
afc163 已提交
152 153 154 155
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/_site/"
    ],
A
afc163 已提交
156
    "scriptPreprocessor": "<rootDir>/node_modules/webpack-babel-jest",
A
afc163 已提交
157 158
    "testDirectoryName": "tests",
    "preprocessCachingDisabled": false
A
afc163 已提交
159
  },
Y
yiminghe 已提交
160
  "pre-commit": [
Y
yiminghe 已提交
161
    "lint"
A
afc163 已提交
162 163 164 165 166 167 168 169 170 171
  ],
  "babel": {
    "presets": [
      "es2015",
      "react",
      "stage-0"
    ],
    "plugins": [
      "add-module-exports"
    ]
Y
yiminghe 已提交
172 173 174 175 176
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
A
afc163 已提交
177
  }
A
afc163 已提交
178
}