2015-05-07 18:50:36 +08:00
|
|
|
{
|
2015-06-02 15:41:43 +08:00
|
|
|
"name": "antd",
|
2016-03-18 16:23:05 +08:00
|
|
|
"version": "0.12.12",
|
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-01-27 12:37:23 +08:00
|
|
|
"css-animation": "~1.1.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",
|
2015-12-24 11:51:14 +08:00
|
|
|
"rc-collapse": "~1.4.4",
|
2016-03-01 18:19:46 +08:00
|
|
|
"rc-dialog": "~5.4.0",
|
2015-11-03 13:50:36 +08:00
|
|
|
"rc-dropdown": "~1.4.3",
|
2016-03-01 18:19:46 +08:00
|
|
|
"rc-form": "~0.14.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-01 18:07:40 +08:00
|
|
|
"rc-select": "~5.10.0",
|
2016-03-22 17:50:21 +08:00
|
|
|
"rc-slider": "^3.5.1",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-steps": "~1.4.1",
|
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-03-14 16:18:30 +08:00
|
|
|
"rc-tree-select": "~1.4.1",
|
2016-03-01 18:07:40 +08:00
|
|
|
"rc-trigger": "~1.2.0",
|
2016-01-14 21:15:25 +08:00
|
|
|
"rc-upload": "~1.8.0",
|
2016-01-25 12:00:55 +08:00
|
|
|
"rc-util": "~3.1.2",
|
2016-03-01 13:49:39 +08:00
|
|
|
"react-slick": "^0.11.0",
|
2015-11-02 18:12:23 +08:00
|
|
|
"velocity-animate": "~1.2.2",
|
2015-11-03 13:50:36 +08:00
|
|
|
"warning": "~2.1.0"
|
2015-05-21 20:36:13 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-03-24 10:56:13 +08:00
|
|
|
"antd-md-loader": "0.1.0-beta.14",
|
2016-02-29 12:16:09 +08:00
|
|
|
"atool-build": "^0.5.0",
|
2016-03-09 11:50:11 +08:00
|
|
|
"autoprefixer": "^6.3.3",
|
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",
|
2015-09-01 15:13:21 +08:00
|
|
|
"busboy": "^0.2.9",
|
|
|
|
"chalk": "^1.1.0",
|
2015-11-18 22:44:46 +08:00
|
|
|
"css-loader": "^0.23.0",
|
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",
|
2015-12-18 14:35:09 +08:00
|
|
|
"es3ify-loader": "^0.1.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-02-01 16:34:26 +08:00
|
|
|
"extract-text-webpack-plugin": "^1.0.1",
|
2016-03-15 14:21:48 +08:00
|
|
|
"gh-pages": "^0.11.0",
|
2016-03-21 11:16:10 +08:00
|
|
|
"gsap": "^1.18.2",
|
2015-12-24 10:20:33 +08:00
|
|
|
"history": "^1.17.0",
|
2016-01-19 16:17:49 +08:00
|
|
|
"instantclick": "^3.1.0",
|
2015-11-28 15:04:46 +08:00
|
|
|
"jest-cli": "~0.8.0",
|
2016-03-09 14:56:19 +08:00
|
|
|
"jquery": "^2.2.1",
|
2015-07-06 16:33:08 +08:00
|
|
|
"json-loader": "^0.5.1",
|
2016-02-24 15:11:50 +08:00
|
|
|
"jsonp": "^0.2.0",
|
2016-01-30 15:04:32 +08:00
|
|
|
"less": "~2.6.0",
|
2015-07-06 16:33:08 +08:00
|
|
|
"less-loader": "^2.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-02-29 17:43:22 +08:00
|
|
|
"mark-twain": "^0.2.0-beta.4",
|
2016-03-02 09:28:59 +08:00
|
|
|
"mkdirp": "~0.5.1",
|
2016-03-14 16:18:06 +08:00
|
|
|
"nico-jsx": "~0.9.0",
|
2016-03-25 18:16:48 +08:00
|
|
|
"object-assign": "~4.0.1",
|
2016-01-19 16:58:33 +08:00
|
|
|
"postcss-loader": "^0.8.0",
|
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",
|
2016-02-29 14:27:11 +08:00
|
|
|
"recast": "^0.11.2",
|
2015-12-09 21:49:32 +08:00
|
|
|
"reqwest": "~2.0.5",
|
2016-01-18 20:44:20 +08:00
|
|
|
"semver": "^5.1.0",
|
2016-01-19 16:17:49 +08:00
|
|
|
"values.js": "^1.0.3",
|
2015-07-06 16:33:08 +08:00
|
|
|
"webpack": "^1.10.1",
|
2015-11-02 22:36:21 +08:00
|
|
|
"webpack-babel-jest": "^1.0.0",
|
2016-02-03 13:34:18 +08:00
|
|
|
"webpack-dev-middleware": "^1.5.1",
|
|
|
|
"webpack-hot-middleware": "^2.6.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-01-14 16:47:01 +08:00
|
|
|
"lint": "npm run srclint && npm run mdlint && npm run lesshint",
|
2016-02-29 14:34:51 +08:00
|
|
|
"srclint": "eslint components test site index.js --ext '.js,.jsx'",
|
2016-02-22 10:52:30 +08:00
|
|
|
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0, eol-last: 0, prefer-rest-params: 0'",
|
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-01-27 15:26:39 +08:00
|
|
|
}
|