package.json 6.0 KB
Newer Older
A
afc163 已提交
1
{
A
afc163 已提交
2
  "name": "antd",
A
afc163 已提交
3
  "version": "0.12.12",
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",
Y
yiminghe 已提交
40
    "rc-animate": "~2.0.2",
Y
yiminghe 已提交
41
    "rc-calendar": "~5.4.0",
A
afc163 已提交
42
    "rc-cascader": "~0.9.0",
Y
yiminghe 已提交
43
    "rc-checkbox": "~1.3.0",
A
afc163 已提交
44
    "rc-collapse": "~1.4.4",
A
afc163 已提交
45
    "rc-dialog": "~5.4.0",
Y
upgrade  
yiminghe 已提交
46
    "rc-dropdown": "~1.4.3",
A
afc163 已提交
47
    "rc-form": "~0.14.0",
A
afc163 已提交
48
    "rc-input-number": "~2.5.0",
A
afc163 已提交
49
    "rc-menu": "~4.10.2",
A
afc163 已提交
50
    "rc-notification": "~1.3.1",
A
afc163 已提交
51
    "rc-pagination": "~1.5.1",
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.10.0",
B
Benjy Cui 已提交
56
    "rc-slider": "^3.5.1",
Y
yiminghe 已提交
57
    "rc-steps": "~1.4.1",
A
afc163 已提交
58
    "rc-switch": "~1.3.2",
A
afc163 已提交
59
    "rc-table": "~4.0.0-beta.3",
Y
yiminghe 已提交
60
    "rc-tabs": "~5.8.0",
61
    "rc-time-picker": "~1.1.0",
A
afc163 已提交
62
    "rc-tooltip": "~3.3.1",
然则 已提交
63
    "rc-tree": "~1.1.0",
然则 已提交
64
    "rc-tree-select": "~1.4.1",
65
    "rc-trigger": "~1.2.0",
A
afc163 已提交
66
    "rc-upload": "~1.8.0",
A
afc163 已提交
67
    "rc-util": "~3.1.2",
A
afc163 已提交
68
    "react-slick": "^0.11.0",
A
afc163 已提交
69
    "velocity-animate": "~1.2.2",
Y
upgrade  
yiminghe 已提交
70
    "warning": "~2.1.0"
A
afc163 已提交
71 72
  },
  "devDependencies": {
B
Benjy Cui 已提交
73
    "antd-md-loader": "0.1.0-beta.14",
B
Benjy Cui 已提交
74
    "atool-build": "^0.5.0",
A
afc163 已提交
75
    "autoprefixer": "^6.3.3",
A
afc163 已提交
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",
A
afc163 已提交
83
    "babel-preset-react-hmre": "^1.1.0",
A
afc163 已提交
84
    "babel-preset-stage-0": "^6.1.18",
A
afc163 已提交
85 86
    "busboy": "^0.2.9",
    "chalk": "^1.1.0",
A
afc163 已提交
87
    "css-loader": "^0.23.0",
Y
yiminghe 已提交
88
    "cz-conventional-changelog": "^1.1.5",
B
Benjy Cui 已提交
89
    "dom-scroll-into-view": "^1.1.0",
B
Benjy Cui 已提交
90 91 92
    "dora": "^0.3.1",
    "dora-plugin-hmr": "^0.5.0",
    "dora-plugin-webpack": "^0.6.2",
B
Benjy Cui 已提交
93
    "enquire.js": "^2.1.1",
94
    "es3ify-loader": "^0.1.0",
B
Benjy Cui 已提交
95 96
    "eslint": "^2.2.0",
    "eslint-config-airbnb": "^6.0.1",
A
afc163 已提交
97
    "eslint-plugin-babel": "^3.0.0",
A
afc163 已提交
98
    "eslint-plugin-markdown": "*",
B
Benjy Cui 已提交
99
    "eslint-plugin-react": "^4.0.0",
100
    "eslint-tinker": "^0.3.1",
A
afc163 已提交
101
    "extract-text-webpack-plugin": "^1.0.1",
A
afc163 已提交
102
    "gh-pages": "^0.11.0",
B
Benjy Cui 已提交
103
    "gsap": "^1.18.2",
B
Benjy Cui 已提交
104
    "history": "^1.17.0",
A
afc163 已提交
105
    "instantclick": "^3.1.0",
A
afc163 已提交
106
    "jest-cli": "~0.8.0",
B
Benjy Cui 已提交
107
    "jquery": "^2.2.1",
A
afc163 已提交
108
    "json-loader": "^0.5.1",
109
    "jsonp": "^0.2.0",
A
afc163 已提交
110
    "less": "~2.6.0",
A
afc163 已提交
111
    "less-loader": "^2.2.0",
A
afc163 已提交
112
    "lesshint": "^1.2.1",
A
afc163 已提交
113
    "lodash": "^4.1.0",
B
Benjy Cui 已提交
114
    "mark-twain": "^0.2.0-beta.4",
B
Benjy Cui 已提交
115
    "mkdirp": "~0.5.1",
A
afc163 已提交
116
    "nico-jsx": "~0.9.0",
B
Benjy Cui 已提交
117
    "object-assign": "~4.0.1",
118
    "postcss-loader": "^0.8.0",
Y
yiminghe 已提交
119
    "pre-commit": "1.x",
120
    "querystring": "^0.2.0",
B
Benjy Cui 已提交
121
    "ramda": "^0.19.1",
122
    "rc-scroll-anim": "^0.1.7",
A
afc163 已提交
123
    "rc-tween-one": "^0.1.8",
A
afc163 已提交
124 125
    "react": "0.14.x",
    "react-addons-test-utils": "0.14.x",
A
afc163 已提交
126
    "react-copy-to-clipboard": "^4.0.1",
A
afc163 已提交
127
    "react-dom": "0.14.x",
B
Benjy Cui 已提交
128
    "react-github-button": "^0.1.1",
A
afc163 已提交
129
    "react-router": "^2.0.0",
130
    "react-stateless-wrapper": "~1.0.2",
B
Benjy Cui 已提交
131
    "react-sublime-video": "0.1.0-beta",
B
Benjy Cui 已提交
132
    "recast": "^0.11.2",
A
afc163 已提交
133
    "reqwest": "~2.0.5",
Y
fix dep  
yiminghe 已提交
134
    "semver": "^5.1.0",
A
afc163 已提交
135
    "values.js": "^1.0.3",
A
afc163 已提交
136
    "webpack": "^1.10.1",
A
afc163 已提交
137
    "webpack-babel-jest": "^1.0.0",
A
afc163 已提交
138 139
    "webpack-dev-middleware": "^1.5.1",
    "webpack-hot-middleware": "^2.6.4"
A
update  
afc163 已提交
140 141
  },
  "scripts": {
A
afc163 已提交
142
    "babel": "babel components index.js --out-dir lib",
B
Benjy Cui 已提交
143
    "clean-build": "rm -rf _site _data && ./scripts/build-website.js",
144
    "dora": "ANTD=WEBSITE dora -p 8001 --plugins webpack?disableNpmInstall,hmr",
B
Benjy Cui 已提交
145 146
    "start": "npm run clean-build && npm run dora",
    "copy-html": "cp ./index.html ./_site/index.html && mkdir ./_site/_site && mv ./_site/demo-* ./_site/_site",
147
    "site": "npm run clean-build && ANTD=WEBSITE atool-build -o ./_site && npm run copy-html && ANTD=PRODUCTION atool-build && cp -R dist _site/dist",
A
afc163 已提交
148
    "deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
A
afc163 已提交
149
    "just-deploy": "npm run site && node scripts/deploy.js",
B
Benjy Cui 已提交
150
    "lint": "npm run srclint && npm run mdlint && npm run lesshint",
151
    "srclint": "eslint components test site index.js --ext '.js,.jsx'",
152
    "mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0, eol-last: 0, prefer-rest-params: 0'",
A
afc163 已提交
153
    "lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
154
    "eslint-fix": "eslint --fix components test site index.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
B
Benjy Cui 已提交
155
    "test": "npm run lint && atool-build && npm run jest",
A
update  
afc163 已提交
156
    "jest": "jest",
Y
yiminghe 已提交
157
    "pub": "sh ./scripts/publish.sh",
B
Benjy Cui 已提交
158 159
    "beta": "sh ./scripts/publish.sh --tag beta",
    "authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' | grep -v 'alibaba-inc.com' | grep -v 'alipay.com' | grep -v 'taobao.com' > AUTHORS.txt"
Y
yiminghe 已提交
160
  },
A
afc163 已提交
161
  "jest": {
A
afc163 已提交
162
    "testRunner": "<rootDir>/node_modules/jest-cli/src/testRunners/jasmine/jasmine2",
A
afc163 已提交
163 164 165 166 167 168 169 170
    "moduleFileExtensions": [
      "js",
      "jsx",
      "json"
    ],
    "unmockedModulePathPatterns": [
      "<rootDir>/node_modules/*"
    ],
A
update  
afc163 已提交
171 172 173 174
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/_site/"
    ],
A
afc163 已提交
175
    "scriptPreprocessor": "<rootDir>/node_modules/webpack-babel-jest",
A
afc163 已提交
176 177
    "testDirectoryName": "tests",
    "preprocessCachingDisabled": false
A
afc163 已提交
178
  },
Y
yiminghe 已提交
179
  "pre-commit": [
Y
yiminghe 已提交
180
    "lint"
A
afc163 已提交
181 182 183 184 185 186 187 188 189 190
  ],
  "babel": {
    "presets": [
      "es2015",
      "react",
      "stage-0"
    ],
    "plugins": [
      "add-module-exports"
    ]
Y
yiminghe 已提交
191 192 193 194 195
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
A
afc163 已提交
196
  }
A
afc163 已提交
197
}