package.json 4.5 KB
Newer Older
A
afc163 已提交
1
{
A
afc163 已提交
2
  "name": "antd",
A
afc163 已提交
3
  "version": "0.11.0-beta3",
A
afc163 已提交
4
  "stableVersion": "0.10.4",
A
afc163 已提交
5
  "title": "Ant Design",
A
afc163 已提交
6
  "description": "一个 UI 设计语言",
A
afc163 已提交
7
  "homepage": "http://ant.design/",
Y
yiminghe 已提交
8
  "keywords": [
A
afc163 已提交
9 10 11
    "ant",
    "design",
    "react",
Y
yiminghe 已提交
12
    "react-component",
A
afc163 已提交
13 14 15 16 17
    "component",
    "components",
    "ui",
    "framework",
    "frontend"
Y
yiminghe 已提交
18
  ],
Y
Yuwei Ba 已提交
19 20 21
  "contributors": [
    "ant"
  ],
A
afc163 已提交
22 23
  "repository": {
    "type": "git",
A
afc163 已提交
24
    "url": "https://github.com/ant-design/ant-design"
A
afc163 已提交
25 26
  },
  "bugs": {
A
afc163 已提交
27
    "url": "https://github.com/ant-design/ant-design/issues"
A
afc163 已提交
28
  },
Y
yiminghe 已提交
29
  "main": "lib/index",
Y
Yuwei Ba 已提交
30
  "files": [
A
afc163 已提交
31 32
    "lib",
    "style"
Y
Yuwei Ba 已提交
33
  ],
Y
yiminghe 已提交
34
  "license": "MIT",
A
afc163 已提交
35
  "dependencies": {
36
    "classnames": "~2.2.0",
Y
upgrade  
yiminghe 已提交
37
    "css-animation": "1.1.x",
B
Benjy Cui 已提交
38
    "gregorian-calendar": "~4.1.0",
Y
upgrade  
yiminghe 已提交
39
    "gregorian-calendar-format": "~4.0.4",
A
afc163 已提交
40
    "object-assign": "~4.0.1",
Y
yiminghe 已提交
41
    "rc-animate": "~2.0.2",
B
Benjy Cui 已提交
42
    "rc-calendar": "~5.0.2",
A
afc163 已提交
43
    "rc-checkbox": "~1.1.1",
A
afc163 已提交
44
    "rc-collapse": "~1.4.4",
Y
yiminghe 已提交
45
    "rc-dialog": "~5.2.2",
Y
upgrade  
yiminghe 已提交
46
    "rc-dropdown": "~1.4.3",
Y
yiminghe 已提交
47
    "rc-form-validation": "~2.5.0",
A
afc163 已提交
48
    "rc-input-number": "~2.4.1",
Y
yiminghe 已提交
49
    "rc-menu": "~4.8.1",
A
afc163 已提交
50
    "rc-notification": "~1.3.1",
A
afc163 已提交
51
    "rc-pagination": "~1.3.5",
Y
yiminghe 已提交
52
    "rc-progress": "~1.0.4",
A
afc163 已提交
53
    "rc-queue-anim": "~0.11.2",
Y
Yuwei Ba 已提交
54
    "rc-radio": "~2.0.0",
55
    "rc-select": "~5.4.0",
B
Benjy Cui 已提交
56
    "rc-slider": "~3.3.0",
Y
yiminghe 已提交
57 58
    "rc-steps": "~1.4.1",
    "rc-switch": "~1.3.1",
A
afc163 已提交
59
    "rc-table": "~3.6.2",
Y
upgrade  
yiminghe 已提交
60
    "rc-tabs": "~5.5.0",
A
afc163 已提交
61
    "rc-time-picker": "~1.0.0",
B
Benjy Cui 已提交
62
    "rc-tooltip": "~3.3.0",
Y
yiminghe 已提交
63
    "rc-tree": "~0.19.0",
Y
upgrade  
yiminghe 已提交
64
    "rc-trigger": "~1.0.6",
A
afc163 已提交
65
    "rc-upload": "~1.7.0",
Y
upgrade  
yiminghe 已提交
66
    "rc-util": "~3.0.1",
67
    "react-slick": "~0.9.1",
Y
upgrade  
yiminghe 已提交
68
    "semver": "~5.0.3",
69
    "util-deprecate": "~1.0.1",
A
afc163 已提交
70
    "velocity-animate": "~1.2.2",
Y
upgrade  
yiminghe 已提交
71
    "warning": "~2.1.0"
A
afc163 已提交
72 73
  },
  "devDependencies": {
Z
zhujun24 已提交
74
    "autoprefixer-loader": "^3.1.0",
A
afc163 已提交
75 76 77 78 79 80 81 82
    "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",
    "babel-preset-stage-0": "^6.1.18",
A
afc163 已提交
83 84
    "busboy": "^0.2.9",
    "chalk": "^1.1.0",
A
afc163 已提交
85
    "css-loader": "^0.23.0",
86
    "es3ify-loader": "^0.1.0",
A
afc163 已提交
87
    "eslint": "^1.1.0",
A
afc163 已提交
88
    "eslint-config-airbnb": "^1.0.0",
A
afc163 已提交
89
    "eslint-plugin-babel": "^3.0.0",
A
afc163 已提交
90
    "eslint-plugin-markdown-antd": "0.0.0",
A
afc163 已提交
91
    "eslint-plugin-react": "^3.3.1",
A
afc163 已提交
92 93
    "extract-text-webpack-plugin": "^0.9.1",
    "gh-pages": "^0.5.0",
B
Benjy Cui 已提交
94
    "history": "^1.17.0",
A
afc163 已提交
95
    "jest-cli": "~0.8.0",
A
afc163 已提交
96
    "json-loader": "^0.5.1",
Y
yiminghe 已提交
97
    "less": "~2.5.3",
A
afc163 已提交
98
    "less-loader": "^2.2.0",
A
afc163 已提交
99
    "lesshint-antd": "^1.2.1",
A
afc163 已提交
100
    "lodash": "^3.10.0",
101
    "nico-jsx": "~0.7.0",
Y
yiminghe 已提交
102
    "pre-commit": "1.x",
A
afc163 已提交
103 104
    "react": "~0.14.2",
    "react-addons-test-utils": "~0.14.2",
A
afc163 已提交
105
    "react-copy-to-clipboard": "^3.0.4",
A
afc163 已提交
106
    "react-dom": "~0.14.2",
B
Benjy Cui 已提交
107
    "react-router": "~1.0.3",
108
    "react-stateless-wrapper": "~1.0.2",
A
afc163 已提交
109
    "reqwest": "~2.0.5",
A
afc163 已提交
110
    "webpack": "^1.10.1",
A
afc163 已提交
111
    "webpack-babel-jest": "^1.0.0",
A
afc163 已提交
112
    "webpack-dev-middleware": "^1.2.0"
A
update  
afc163 已提交
113 114
  },
  "scripts": {
A
afc163 已提交
115
    "babel": "babel components index.js --out-dir lib",
Y
yiminghe 已提交
116
    "start": "npm run clean && nico server --watch",
A
afc163 已提交
117
    "clean": "rm -rf _site dist",
A
afc163 已提交
118
    "deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
Y
yiminghe 已提交
119
    "just-deploy": "npm run clean && webpack --config webpack.deploy.config.js && webpack --config webpack.antd.config.js && NODE_ENV=PRODUCTION nico build && node scripts/deploy.js",
A
afc163 已提交
120
    "lint": "eslint components test index.js --ext '.js,.jsx' && npm run mdlint && npm run lesshint",
A
afc163 已提交
121
    "mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM' --rule 'no-console: 0'",
A
afc163 已提交
122
    "lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
A
update  
afc163 已提交
123 124
    "test": "npm run lint && webpack && npm run jest",
    "jest": "jest",
Y
yiminghe 已提交
125
    "pub": "sh ./scripts/publish.sh",
Y
beta2  
yiminghe 已提交
126
    "webpack": "webpack",
Y
yiminghe 已提交
127
    "beta": "sh ./scripts/publish.sh --tag beta"
Y
yiminghe 已提交
128
  },
A
afc163 已提交
129
  "jest": {
A
afc163 已提交
130
    "testRunner": "<rootDir>/node_modules/jest-cli/src/testRunners/jasmine/jasmine2",
A
afc163 已提交
131 132 133 134 135 136 137 138
    "moduleFileExtensions": [
      "js",
      "jsx",
      "json"
    ],
    "unmockedModulePathPatterns": [
      "<rootDir>/node_modules/*"
    ],
A
update  
afc163 已提交
139 140 141 142
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/_site/"
    ],
A
afc163 已提交
143
    "scriptPreprocessor": "<rootDir>/node_modules/webpack-babel-jest",
A
afc163 已提交
144 145
    "testDirectoryName": "tests",
    "preprocessCachingDisabled": false
A
afc163 已提交
146
  },
Y
yiminghe 已提交
147
  "pre-commit": [
Y
yiminghe 已提交
148
    "lint"
A
afc163 已提交
149 150 151 152 153 154 155 156 157 158 159
  ],
  "babel": {
    "presets": [
      "es2015",
      "react",
      "stage-0"
    ],
    "plugins": [
      "add-module-exports"
    ]
  }
A
afc163 已提交
160
}