2015-05-07 18:50:36 +08:00
|
|
|
{
|
2015-06-02 15:41:43 +08:00
|
|
|
"name": "antd",
|
2016-04-01 17:51:25 +08:00
|
|
|
"version": "1.0.0-beta.0",
|
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": [
|
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-02-18 19:15:23 +08:00
|
|
|
"rc-calendar": "~5.4.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-06 17:50:04 +08:00
|
|
|
"rc-steps": "~1.5.2",
|
2016-01-25 12:00:55 +08:00
|
|
|
"rc-switch": "~1.3.2",
|
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-01-25 12:00:55 +08:00
|
|
|
"rc-tooltip": "~3.3.1",
|
2016-01-29 11:31:10 +08:00
|
|
|
"rc-tree": "~1.1.0",
|
2016-04-01 11:25:12 +08:00
|
|
|
"rc-tree-select": "~1.5.0",
|
|
|
|
"rc-trigger": "~1.3.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-03-29 12:07:44 +08:00
|
|
|
"react-slick": "~0.11.0",
|
2015-11-03 13:50:36 +08:00
|
|
|
"warning": "~2.1.0"
|
2015-05-21 20:36:13 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-03-31 15:22:38 +08:00
|
|
|
"antd-md-loader": "0.1.0-beta.18",
|
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-03-25 17:36:59 +08:00
|
|
|
"babel-eslint": "^6.0.0-beta.6",
|
2015-12-03 15:23:54 +08:00
|
|
|
"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",
|
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-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-03-29 19:00:22 +08:00
|
|
|
"highlight.js": "^9.2.0",
|
2015-12-24 10:20:33 +08:00
|
|
|
"history": "^1.17.0",
|
2015-11-28 15:04:46 +08:00
|
|
|
"jest-cli": "~0.8.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-02-29 14:27:11 +08:00
|
|
|
"ramda": "^0.19.1",
|
2016-01-21 15:03:42 +08:00
|
|
|
"rc-scroll-anim": "^0.1.7",
|
2016-01-19 11:42:48 +08:00
|
|
|
"rc-tween-one": "^0.1.8",
|
2016-01-01 22:39:24 +08:00
|
|
|
"react": "0.14.x",
|
|
|
|
"react-addons-test-utils": "0.14.x",
|
2016-02-01 16:34:26 +08:00
|
|
|
"react-copy-to-clipboard": "^4.0.1",
|
2016-01-01 22:39:24 +08:00
|
|
|
"react-dom": "0.14.x",
|
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",
|
2015-11-30 16:54:39 +08:00
|
|
|
"react-stateless-wrapper": "~1.0.2",
|
2016-03-16 17:46:35 +08:00
|
|
|
"react-sublime-video": "0.1.0-beta",
|
2015-12-09 21:49:32 +08:00
|
|
|
"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-03-23 15:43:23 +08:00
|
|
|
"site": "npm run clean-build && ANTD=WEBSITE atool-build -o ./_site && npm run copy-html && ANTD=PRODUCTION atool-build && cp -R dist _site/dist",
|
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",
|
|
|
|
"srclint": "ANTD=SRC eslint components test site index.js --ext '.js,.jsx'",
|
|
|
|
"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-02-29 14:34:51 +08:00
|
|
|
"eslint-fix": "eslint --fix components test site index.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": {
|
2015-12-03 15:23:54 +08:00
|
|
|
"testRunner": "<rootDir>/node_modules/jest-cli/src/testRunners/jasmine/jasmine2",
|
2015-11-02 21:34:52 +08:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"unmockedModulePathPatterns": [
|
|
|
|
"<rootDir>/node_modules/*"
|
|
|
|
],
|
2015-11-04 14:46:41 +08:00
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/_site/"
|
|
|
|
],
|
2015-11-02 22:36:21 +08:00
|
|
|
"scriptPreprocessor": "<rootDir>/node_modules/webpack-babel-jest",
|
2015-11-03 12:08:18 +08:00
|
|
|
"testDirectoryName": "tests",
|
|
|
|
"preprocessCachingDisabled": false
|
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-01 17:39:18 +08:00
|
|
|
}
|