2015-05-07 18:50:36 +08:00
|
|
|
{
|
2015-06-02 15:41:43 +08:00
|
|
|
"name": "antd",
|
2016-04-17 18:26:37 +08:00
|
|
|
"version": "1.0.0-beta.3",
|
2015-06-04 14:42:24 +08:00
|
|
|
"title": "Ant Design",
|
2015-08-21 17:00:33 +08:00
|
|
|
"description": "一个 UI 设计语言",
|
2015-07-17 13:59:05 +08:00
|
|
|
"homepage": "http://ant.design/",
|
2015-07-15 12:07:11 +08:00
|
|
|
"keywords": [
|
2015-07-17 13:58:35 +08:00
|
|
|
"ant",
|
|
|
|
"design",
|
|
|
|
"react",
|
2015-07-15 12:07:11 +08:00
|
|
|
"react-component",
|
2015-07-17 13:58:35 +08:00
|
|
|
"component",
|
|
|
|
"components",
|
|
|
|
"ui",
|
|
|
|
"framework",
|
|
|
|
"frontend"
|
2015-07-15 12:07:11 +08:00
|
|
|
],
|
2015-07-17 16:24:00 +08:00
|
|
|
"contributors": [
|
|
|
|
"ant"
|
|
|
|
],
|
2015-05-07 18:50:36 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2015-06-05 15:02:39 +08:00
|
|
|
"url": "https://github.com/ant-design/ant-design"
|
2015-05-07 18:50:36 +08:00
|
|
|
},
|
|
|
|
"bugs": {
|
2015-06-05 15:02:39 +08:00
|
|
|
"url": "https://github.com/ant-design/ant-design/issues"
|
2015-05-07 18:50:36 +08:00
|
|
|
},
|
2015-07-15 12:07:11 +08:00
|
|
|
"main": "lib/index",
|
2015-07-17 16:24:00 +08:00
|
|
|
"files": [
|
2016-04-06 18:07:54 +08:00
|
|
|
"dist",
|
2015-10-19 11:43:52 +08:00
|
|
|
"lib",
|
|
|
|
"style"
|
2015-07-17 16:24:00 +08:00
|
|
|
],
|
2015-07-09 21:05:33 +08:00
|
|
|
"license": "MIT",
|
2015-05-07 18:50:36 +08:00
|
|
|
"dependencies": {
|
2015-12-29 11:46:13 +08:00
|
|
|
"array-tree-filter": "~1.0.0",
|
2015-11-24 20:03:57 +08:00
|
|
|
"classnames": "~2.2.0",
|
2016-03-30 16:27:14 +08:00
|
|
|
"css-animation": "~1.2.0",
|
2015-12-11 11:11:24 +08:00
|
|
|
"gregorian-calendar": "~4.1.0",
|
2016-01-24 17:19:59 +08:00
|
|
|
"gregorian-calendar-format": "~4.1.0",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-animate": "~2.0.2",
|
2016-04-07 17:24:26 +08:00
|
|
|
"rc-calendar": "~5.5.0",
|
2016-02-19 11:31:45 +08:00
|
|
|
"rc-cascader": "~0.9.0",
|
2016-02-20 16:39:49 +08:00
|
|
|
"rc-checkbox": "~1.3.0",
|
2016-03-30 16:27:14 +08:00
|
|
|
"rc-collapse": "~1.5.0",
|
2016-04-03 22:41:16 +08:00
|
|
|
"rc-dialog": "~6.0.1",
|
2015-11-03 13:50:36 +08:00
|
|
|
"rc-dropdown": "~1.4.3",
|
2016-04-05 15:51:43 +08:00
|
|
|
"rc-form": "~0.15.0",
|
2016-03-05 15:53:39 +08:00
|
|
|
"rc-input-number": "~2.5.0",
|
2016-02-01 16:34:26 +08:00
|
|
|
"rc-menu": "~4.10.2",
|
2015-12-24 11:51:14 +08:00
|
|
|
"rc-notification": "~1.3.1",
|
2016-03-02 12:13:26 +08:00
|
|
|
"rc-pagination": "~1.5.1",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-progress": "~1.0.4",
|
2015-11-17 14:32:47 +08:00
|
|
|
"rc-queue-anim": "~0.11.2",
|
2015-07-17 16:24:00 +08:00
|
|
|
"rc-radio": "~2.0.0",
|
2016-03-30 13:20:03 +08:00
|
|
|
"rc-rate": "~1.1.0",
|
2016-03-29 12:07:44 +08:00
|
|
|
"rc-select": "~6.0.1",
|
|
|
|
"rc-slider": "~3.5.1",
|
2016-04-15 23:04:06 +08:00
|
|
|
"rc-steps": "~2.0.0",
|
2016-04-08 18:08:54 +08:00
|
|
|
"rc-switch": "~1.4.0",
|
2016-03-24 17:47:08 +08:00
|
|
|
"rc-table": "~4.0.0-beta.3",
|
2016-03-15 15:09:26 +08:00
|
|
|
"rc-tabs": "~5.8.0",
|
2016-01-14 16:38:37 +08:00
|
|
|
"rc-time-picker": "~1.1.0",
|
2016-04-07 15:02:22 +08:00
|
|
|
"rc-tooltip": "~3.3.2",
|
2016-04-07 18:16:49 +08:00
|
|
|
"rc-tree": "~1.2.0",
|
2016-04-01 11:25:12 +08:00
|
|
|
"rc-tree-select": "~1.5.0",
|
2016-04-07 15:02:22 +08:00
|
|
|
"rc-trigger": "~1.4.0",
|
2016-04-01 13:51:44 +08:00
|
|
|
"rc-upload": "~1.10.0",
|
2016-01-25 12:00:55 +08:00
|
|
|
"rc-util": "~3.1.2",
|
2016-04-18 11:10:09 +08:00
|
|
|
"react-slick": "~0.12.0",
|
2015-11-03 13:50:36 +08:00
|
|
|
"warning": "~2.1.0"
|
2015-05-21 20:36:13 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-04-13 10:13:07 +08:00
|
|
|
"antd-md-loader": "~0.5.0",
|
2016-03-31 17:52:31 +08:00
|
|
|
"atool-build": "^0.6.5",
|
2015-12-03 15:23:54 +08:00
|
|
|
"babel-cli": "^6.2.0",
|
|
|
|
"babel-core": "^6.2.1",
|
2016-04-07 17:46:56 +08:00
|
|
|
"babel-eslint": "^6.0.2",
|
2016-04-13 20:56:50 +08:00
|
|
|
"babel-jest": "^11.0.0",
|
2015-12-03 15:23:54 +08:00
|
|
|
"babel-loader": "^6.2.0",
|
|
|
|
"babel-plugin-add-module-exports": "^0.1.1",
|
2016-04-08 15:29:04 +08:00
|
|
|
"babel-plugin-antd": "^0.3.1",
|
2015-12-03 15:23:54 +08:00
|
|
|
"babel-preset-es2015": "^6.1.18",
|
|
|
|
"babel-preset-react": "^6.1.18",
|
2016-02-11 21:53:54 +08:00
|
|
|
"babel-preset-react-hmre": "^1.1.0",
|
2015-12-03 15:23:54 +08:00
|
|
|
"babel-preset-stage-0": "^6.1.18",
|
2016-01-26 19:55:19 +08:00
|
|
|
"cz-conventional-changelog": "^1.1.5",
|
2016-03-07 17:33:38 +08:00
|
|
|
"dom-scroll-into-view": "^1.1.0",
|
2016-03-21 11:16:10 +08:00
|
|
|
"dora": "^0.3.1",
|
|
|
|
"dora-plugin-hmr": "^0.5.0",
|
|
|
|
"dora-plugin-webpack": "^0.6.2",
|
2016-03-24 17:13:19 +08:00
|
|
|
"enquire.js": "^2.1.1",
|
2016-04-08 14:24:39 +08:00
|
|
|
"es6-shim": "^0.35.0",
|
2016-02-22 10:04:54 +08:00
|
|
|
"eslint": "^2.2.0",
|
|
|
|
"eslint-config-airbnb": "^6.0.1",
|
2015-12-03 15:23:54 +08:00
|
|
|
"eslint-plugin-babel": "^3.0.0",
|
2016-01-19 16:52:54 +08:00
|
|
|
"eslint-plugin-markdown": "*",
|
2016-02-22 10:04:54 +08:00
|
|
|
"eslint-plugin-react": "^4.0.0",
|
2016-02-22 10:52:30 +08:00
|
|
|
"eslint-tinker": "^0.3.1",
|
2016-03-15 14:21:48 +08:00
|
|
|
"gh-pages": "^0.11.0",
|
2016-04-09 15:22:51 +08:00
|
|
|
"history": "^2.0.1",
|
2016-04-13 20:56:50 +08:00
|
|
|
"jest-cli": "^11.0.0",
|
2016-04-11 10:12:48 +08:00
|
|
|
"jsonml-to-react-component": "~0.2.0",
|
2016-04-06 16:11:30 +08:00
|
|
|
"jsonml.js": "^0.1.0",
|
2016-02-24 15:11:50 +08:00
|
|
|
"jsonp": "^0.2.0",
|
2016-03-13 15:28:56 +08:00
|
|
|
"lesshint": "^1.2.1",
|
2016-02-01 18:21:39 +08:00
|
|
|
"lodash": "^4.1.0",
|
2016-03-02 09:28:59 +08:00
|
|
|
"mkdirp": "~0.5.1",
|
2015-11-09 11:13:31 +08:00
|
|
|
"pre-commit": "1.x",
|
2016-02-24 15:11:50 +08:00
|
|
|
"querystring": "^0.2.0",
|
2016-04-09 15:22:51 +08:00
|
|
|
"ramda": "^0.20.1",
|
2016-04-11 16:06:20 +08:00
|
|
|
"rc-scroll-anim": "0.2.x",
|
|
|
|
"rc-tween-one": "0.2.x",
|
2016-04-08 15:29:04 +08:00
|
|
|
"react": "^15.0.0",
|
|
|
|
"react-addons-test-utils": "^15.0.0",
|
2016-02-01 16:34:26 +08:00
|
|
|
"react-copy-to-clipboard": "^4.0.1",
|
2016-04-08 15:29:04 +08:00
|
|
|
"react-dom": "^15.0.0",
|
2016-03-14 15:00:11 +08:00
|
|
|
"react-github-button": "^0.1.1",
|
2016-02-17 16:42:26 +08:00
|
|
|
"react-router": "^2.0.0",
|
2016-04-09 15:22:51 +08:00
|
|
|
"react-stateless-wrapper": "^1.0.2",
|
|
|
|
"react-sublime-video": "^0.1.0",
|
|
|
|
"reqwest": "^2.0.5",
|
2016-01-19 16:17:49 +08:00
|
|
|
"values.js": "^1.0.3",
|
2016-03-31 16:47:03 +08:00
|
|
|
"webpack-babel-jest": "^1.0.4"
|
2015-05-07 19:54:54 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2015-11-03 15:46:56 +08:00
|
|
|
"babel": "babel components index.js --out-dir lib",
|
2016-03-22 11:54:55 +08:00
|
|
|
"clean-build": "rm -rf _site _data && ./scripts/build-website.js",
|
2016-03-23 15:43:23 +08:00
|
|
|
"dora": "ANTD=WEBSITE dora -p 8001 --plugins webpack?disableNpmInstall,hmr",
|
2016-03-22 11:54:55 +08:00
|
|
|
"start": "npm run clean-build && npm run dora",
|
|
|
|
"copy-html": "cp ./index.html ./_site/index.html && mkdir ./_site/_site && mv ./_site/demo-* ./_site/_site",
|
2016-04-06 18:07:54 +08:00
|
|
|
"site": "npm run clean-build && ANTD=WEBSITE atool-build -o ./_site && npm run copy-html",
|
2015-09-17 16:37:42 +08:00
|
|
|
"deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
|
2015-12-29 16:21:18 +08:00
|
|
|
"just-deploy": "npm run site && node scripts/deploy.js",
|
2016-03-31 17:06:21 +08:00
|
|
|
"lint": "npm run srclint && npm run demolint && npm run lesshint",
|
2016-04-14 11:27:31 +08:00
|
|
|
"srclint": "ANTD=SRC eslint components test site scripts ./*.js --ext '.js,.jsx'",
|
2016-03-31 17:06:21 +08:00
|
|
|
"demolint": "ANTD=DEMO eslint components/*/demo/*.md --ext '.md'",
|
2015-11-26 19:32:55 +08:00
|
|
|
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
|
2016-04-14 11:27:31 +08:00
|
|
|
"eslint-fix": "eslint --fix components test site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
|
2016-03-22 11:54:55 +08:00
|
|
|
"test": "npm run lint && atool-build && npm run jest",
|
2015-11-04 14:46:41 +08:00
|
|
|
"jest": "jest",
|
2015-09-11 10:58:16 +08:00
|
|
|
"pub": "sh ./scripts/publish.sh",
|
2016-02-23 10:43:57 +08:00
|
|
|
"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"
|
2015-06-11 16:35:36 +08:00
|
|
|
},
|
2015-11-02 21:34:52 +08:00
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"unmockedModulePathPatterns": [
|
|
|
|
"<rootDir>/node_modules/*"
|
|
|
|
],
|
2016-04-13 20:56:50 +08:00
|
|
|
"modulePathIgnorePatterns": [
|
2015-11-04 14:46:41 +08:00
|
|
|
"/_site/"
|
|
|
|
],
|
2016-04-13 20:56:50 +08:00
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/"
|
|
|
|
],
|
2015-11-02 22:36:21 +08:00
|
|
|
"scriptPreprocessor": "<rootDir>/node_modules/webpack-babel-jest",
|
2016-04-13 20:56:50 +08:00
|
|
|
"testDirectoryName": "tests"
|
2015-11-02 21:34:52 +08:00
|
|
|
},
|
2015-11-09 11:13:31 +08:00
|
|
|
"pre-commit": [
|
2015-06-11 16:35:36 +08:00
|
|
|
"lint"
|
2015-12-03 15:23:54 +08:00
|
|
|
],
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
|
|
|
"es2015",
|
|
|
|
"react",
|
|
|
|
"stage-0"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"add-module-exports"
|
|
|
|
]
|
2016-01-26 19:55:19 +08:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
}
|
2015-12-03 15:23:54 +08:00
|
|
|
}
|
2016-04-08 18:08:54 +08:00
|
|
|
}
|