2015-05-07 18:50:36 +08:00
|
|
|
{
|
2015-06-02 15:41:43 +08:00
|
|
|
"name": "antd",
|
2015-12-25 15:29:14 +08:00
|
|
|
"version": "0.11.0-beta4",
|
2015-11-30 15:22:17 +08:00
|
|
|
"stableVersion": "0.10.4",
|
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-11-24 20:03:57 +08:00
|
|
|
"classnames": "~2.2.0",
|
2015-10-23 23:25:29 +08:00
|
|
|
"css-animation": "1.1.x",
|
2015-12-11 11:11:24 +08:00
|
|
|
"gregorian-calendar": "~4.1.0",
|
2015-11-03 13:50:36 +08:00
|
|
|
"gregorian-calendar-format": "~4.0.4",
|
2015-08-25 14:25:03 +08:00
|
|
|
"object-assign": "~4.0.1",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-animate": "~2.0.2",
|
2015-12-24 16:22:59 +08:00
|
|
|
"rc-calendar": "~5.0.2",
|
2015-08-17 13:06:01 +08:00
|
|
|
"rc-checkbox": "~1.1.1",
|
2015-12-24 11:51:14 +08:00
|
|
|
"rc-collapse": "~1.4.4",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-dialog": "~5.2.2",
|
2015-11-03 13:50:36 +08:00
|
|
|
"rc-dropdown": "~1.4.3",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-form-validation": "~2.5.0",
|
2015-11-17 14:32:47 +08:00
|
|
|
"rc-input-number": "~2.4.1",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-menu": "~4.8.1",
|
2015-12-24 11:51:14 +08:00
|
|
|
"rc-notification": "~1.3.1",
|
2015-11-27 01:00:27 +08:00
|
|
|
"rc-pagination": "~1.3.5",
|
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",
|
2015-12-02 16:59:21 +08:00
|
|
|
"rc-select": "~5.4.0",
|
2015-12-24 09:54:59 +08:00
|
|
|
"rc-slider": "~3.3.0",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-steps": "~1.4.1",
|
|
|
|
"rc-switch": "~1.3.1",
|
2015-12-25 15:45:44 +08:00
|
|
|
"rc-table": "~3.7.0",
|
2015-11-12 10:32:35 +08:00
|
|
|
"rc-tabs": "~5.5.0",
|
2015-12-25 01:21:03 +08:00
|
|
|
"rc-time-picker": "~1.0.0",
|
2015-12-24 09:54:59 +08:00
|
|
|
"rc-tooltip": "~3.3.0",
|
2015-11-16 14:10:42 +08:00
|
|
|
"rc-tree": "~0.19.0",
|
2015-11-12 10:32:35 +08:00
|
|
|
"rc-trigger": "~1.0.6",
|
2015-11-13 16:09:39 +08:00
|
|
|
"rc-upload": "~1.7.0",
|
2015-11-11 12:00:54 +08:00
|
|
|
"rc-util": "~3.0.1",
|
2015-11-05 18:29:30 +08:00
|
|
|
"react-slick": "~0.9.1",
|
2015-11-03 13:50:36 +08:00
|
|
|
"semver": "~5.0.3",
|
2015-09-08 11:42:10 +08:00
|
|
|
"util-deprecate": "~1.0.1",
|
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": {
|
2015-09-14 18:02:14 +08:00
|
|
|
"autoprefixer-loader": "^3.1.0",
|
2015-12-03 15:23:54 +08:00
|
|
|
"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",
|
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",
|
2015-12-18 14:35:09 +08:00
|
|
|
"es3ify-loader": "^0.1.0",
|
2015-08-15 15:08:55 +08:00
|
|
|
"eslint": "^1.1.0",
|
2015-11-18 22:44:46 +08:00
|
|
|
"eslint-config-airbnb": "^1.0.0",
|
2015-12-03 15:23:54 +08:00
|
|
|
"eslint-plugin-babel": "^3.0.0",
|
2015-12-01 16:54:29 +08:00
|
|
|
"eslint-plugin-markdown-antd": "0.0.0",
|
2015-09-01 15:13:21 +08:00
|
|
|
"eslint-plugin-react": "^3.3.1",
|
2015-11-18 22:44:46 +08:00
|
|
|
"extract-text-webpack-plugin": "^0.9.1",
|
|
|
|
"gh-pages": "^0.5.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",
|
2015-07-06 16:33:08 +08:00
|
|
|
"json-loader": "^0.5.1",
|
2015-11-16 14:10:42 +08:00
|
|
|
"less": "~2.5.3",
|
2015-07-06 16:33:08 +08:00
|
|
|
"less-loader": "^2.2.0",
|
2015-12-18 16:05:35 +08:00
|
|
|
"lesshint-antd": "^1.2.1",
|
2015-07-06 16:33:08 +08:00
|
|
|
"lodash": "^3.10.0",
|
2015-12-03 17:41:44 +08:00
|
|
|
"nico-jsx": "~0.7.0",
|
2015-11-09 11:13:31 +08:00
|
|
|
"pre-commit": "1.x",
|
2015-11-18 23:04:37 +08:00
|
|
|
"react": "~0.14.2",
|
|
|
|
"react-addons-test-utils": "~0.14.2",
|
2015-12-18 11:33:27 +08:00
|
|
|
"react-copy-to-clipboard": "^3.0.4",
|
2015-11-18 23:04:37 +08:00
|
|
|
"react-dom": "~0.14.2",
|
2015-12-24 10:20:33 +08:00
|
|
|
"react-router": "~1.0.3",
|
2015-11-30 16:54:39 +08:00
|
|
|
"react-stateless-wrapper": "~1.0.2",
|
2015-12-09 21:49:32 +08:00
|
|
|
"reqwest": "~2.0.5",
|
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",
|
2015-08-19 13:24:51 +08:00
|
|
|
"webpack-dev-middleware": "^1.2.0"
|
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",
|
2015-08-24 14:31:43 +08:00
|
|
|
"start": "npm run clean && nico server --watch",
|
2015-07-21 12:02:15 +08:00
|
|
|
"clean": "rm -rf _site dist",
|
2015-09-17 16:37:42 +08:00
|
|
|
"deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
|
2015-11-23 15:20:42 +08:00
|
|
|
"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",
|
2015-11-26 19:32:55 +08:00
|
|
|
"lint": "eslint components test index.js --ext '.js,.jsx' && npm run mdlint && npm run lesshint",
|
2015-11-25 17:35:31 +08:00
|
|
|
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM' --rule 'no-console: 0'",
|
2015-11-26 19:32:55 +08:00
|
|
|
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
|
2015-11-04 14:46:41 +08:00
|
|
|
"test": "npm run lint && webpack && npm run jest",
|
|
|
|
"jest": "jest",
|
2015-09-11 10:58:16 +08:00
|
|
|
"pub": "sh ./scripts/publish.sh",
|
2015-10-20 16:47:55 +08:00
|
|
|
"webpack": "webpack",
|
2015-09-11 10:58:16 +08:00
|
|
|
"beta": "sh ./scripts/publish.sh --tag beta"
|
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"
|
|
|
|
]
|
|
|
|
}
|
2015-05-07 18:50:36 +08:00
|
|
|
}
|