2015-05-07 18:50:36 +08:00
|
|
|
{
|
2015-06-02 15:41:43 +08:00
|
|
|
"name": "antd",
|
2016-01-27 16:25:05 +08:00
|
|
|
"version": "0.12.0-beta.29",
|
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-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",
|
2016-01-19 09:25:51 +08:00
|
|
|
"rc-calendar": "~5.3.0",
|
2016-01-27 15:26:39 +08:00
|
|
|
"rc-cascader": "~0.8.1",
|
2016-01-05 14:41:20 +08:00
|
|
|
"rc-checkbox": "~1.2.0",
|
2015-12-24 11:51:14 +08:00
|
|
|
"rc-collapse": "~1.4.4",
|
2016-01-05 14:41:20 +08:00
|
|
|
"rc-dialog": "~5.3.1",
|
2015-11-03 13:50:36 +08:00
|
|
|
"rc-dropdown": "~1.4.3",
|
2016-01-27 12:37:23 +08:00
|
|
|
"rc-form": "~0.10.0",
|
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-12-26 17:23:41 +08:00
|
|
|
"rc-menu": "~4.9.0",
|
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",
|
2016-01-05 14:41:20 +08:00
|
|
|
"rc-select": "~5.6.1",
|
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",
|
2016-01-25 12:00:55 +08:00
|
|
|
"rc-switch": "~1.3.2",
|
2016-01-20 14:15:21 +08:00
|
|
|
"rc-table": "~3.9.0",
|
2016-01-22 17:19:39 +08:00
|
|
|
"rc-tabs": "~5.7.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-16 14:53:45 +08:00
|
|
|
"rc-tree": "~1.0.2",
|
|
|
|
"rc-tree-select": "~1.0.1",
|
2016-01-25 12:00:55 +08:00
|
|
|
"rc-trigger": "~1.1.1",
|
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",
|
2015-11-05 18:29:30 +08:00
|
|
|
"react-slick": "~0.9.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-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",
|
2016-01-26 19:55:19 +08:00
|
|
|
"cz-conventional-changelog": "^1.1.5",
|
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",
|
2016-01-11 10:12:03 +08:00
|
|
|
"eslint-config-airbnb": "latest",
|
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": "*",
|
2015-09-01 15:13:21 +08:00
|
|
|
"eslint-plugin-react": "^3.3.1",
|
2016-01-28 11:25:09 +08:00
|
|
|
"eslint-tinker": "~0.2.0",
|
2015-11-18 22:44:46 +08:00
|
|
|
"extract-text-webpack-plugin": "^0.9.1",
|
2016-01-05 14:41:20 +08:00
|
|
|
"gh-pages": "^0.8.0",
|
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",
|
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",
|
2016-01-19 17:23:14 +08:00
|
|
|
"lodash": "^3.10.1",
|
2016-01-19 16:52:54 +08:00
|
|
|
"nico-jsx": "~0.7.2",
|
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-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",
|
2015-12-18 11:33:27 +08:00
|
|
|
"react-copy-to-clipboard": "^3.0.4",
|
2016-01-01 22:39:24 +08:00
|
|
|
"react-dom": "0.14.x",
|
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",
|
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-01-23 10:09:12 +08:00
|
|
|
"webpack-dev-middleware": "^1.5.1"
|
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-12-29 16:21:18 +08:00
|
|
|
"site": "npm run clean && webpack --config webpack.deploy.config.js && webpack --config webpack.antd.config.js && NODE_ENV=PRODUCTION nico build",
|
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-01-27 16:05:30 +08:00
|
|
|
"srclint": "eslint components test index.js --ext '.js,.jsx'",
|
|
|
|
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0,eol-last: 0'",
|
2015-11-26 19:32:55 +08:00
|
|
|
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
|
2016-01-28 11:25:09 +08:00
|
|
|
"eslint-fix": "eslint --fix components test index.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
|
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"
|
|
|
|
]
|
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
|
|
|
}
|