You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
161 lines
4.5 KiB
161 lines
4.5 KiB
{
|
|
"name": "antd",
|
|
"version": "0.11.1",
|
|
"title": "Ant Design",
|
|
"description": "一个 UI 设计语言",
|
|
"homepage": "http://ant.design/",
|
|
"keywords": [
|
|
"ant",
|
|
"design",
|
|
"react",
|
|
"react-component",
|
|
"component",
|
|
"components",
|
|
"ui",
|
|
"framework",
|
|
"frontend"
|
|
],
|
|
"contributors": [
|
|
"ant"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ant-design/ant-design"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ant-design/ant-design/issues"
|
|
},
|
|
"main": "lib/index",
|
|
"files": [
|
|
"lib",
|
|
"style"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"classnames": "~2.2.0",
|
|
"css-animation": "1.1.x",
|
|
"gregorian-calendar": "~4.1.0",
|
|
"gregorian-calendar-format": "~4.0.4",
|
|
"object-assign": "~4.0.1",
|
|
"rc-animate": "~2.0.2",
|
|
"rc-calendar": "~5.2.0",
|
|
"rc-checkbox": "~1.1.1",
|
|
"rc-collapse": "~1.4.4",
|
|
"rc-dialog": "~5.2.2",
|
|
"rc-dropdown": "~1.4.3",
|
|
"rc-form-validation": "~2.5.0",
|
|
"rc-input-number": "~2.4.1",
|
|
"rc-menu": "~4.9.0",
|
|
"rc-notification": "~1.3.1",
|
|
"rc-pagination": "~1.3.5",
|
|
"rc-progress": "~1.0.4",
|
|
"rc-queue-anim": "~0.11.2",
|
|
"rc-radio": "~2.0.0",
|
|
"rc-select": "~5.4.0",
|
|
"rc-slider": "~3.3.0",
|
|
"rc-steps": "~1.4.1",
|
|
"rc-switch": "~1.3.1",
|
|
"rc-table": "~3.7.1",
|
|
"rc-tabs": "~5.6.0",
|
|
"rc-time-picker": "~1.0.0",
|
|
"rc-tooltip": "~3.3.0",
|
|
"rc-tree": "^0.21.2",
|
|
"rc-tree-select": "~0.2.1",
|
|
"rc-trigger": "~1.0.6",
|
|
"rc-upload": "~1.7.0",
|
|
"rc-util": "~3.0.1",
|
|
"react-slick": "~0.9.1",
|
|
"semver": "~5.0.3",
|
|
"util-deprecate": "~1.0.1",
|
|
"velocity-animate": "~1.2.2",
|
|
"warning": "~2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer-loader": "^3.1.0",
|
|
"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",
|
|
"busboy": "^0.2.9",
|
|
"chalk": "^1.1.0",
|
|
"css-loader": "^0.23.0",
|
|
"es3ify-loader": "^0.1.0",
|
|
"eslint": "^1.1.0",
|
|
"eslint-config-airbnb": "^1.0.0",
|
|
"eslint-plugin-babel": "^3.0.0",
|
|
"eslint-plugin-markdown-antd": "0.0.0",
|
|
"eslint-plugin-react": "^3.3.1",
|
|
"extract-text-webpack-plugin": "^0.9.1",
|
|
"gh-pages": "^0.5.0",
|
|
"history": "^1.17.0",
|
|
"jest-cli": "~0.8.0",
|
|
"json-loader": "^0.5.1",
|
|
"less": "~2.5.3",
|
|
"less-loader": "^2.2.0",
|
|
"lesshint-antd": "^1.2.1",
|
|
"lodash": "^3.10.0",
|
|
"nico-jsx": "~0.7.0",
|
|
"pre-commit": "1.x",
|
|
"react": "0.14.x",
|
|
"react-addons-test-utils": "0.14.x",
|
|
"react-copy-to-clipboard": "^3.0.4",
|
|
"react-dom": "0.14.x",
|
|
"react-router": "~1.0.3",
|
|
"react-stateless-wrapper": "~1.0.2",
|
|
"reqwest": "~2.0.5",
|
|
"webpack": "^1.10.1",
|
|
"webpack-babel-jest": "^1.0.0",
|
|
"webpack-dev-middleware": "^1.2.0"
|
|
},
|
|
"scripts": {
|
|
"babel": "babel components index.js --out-dir lib",
|
|
"start": "npm run clean && nico server --watch",
|
|
"clean": "rm -rf _site dist",
|
|
"site": "npm run clean && webpack --config webpack.deploy.config.js && webpack --config webpack.antd.config.js && NODE_ENV=PRODUCTION nico build",
|
|
"deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
|
|
"just-deploy": "npm run site && node scripts/deploy.js",
|
|
"lint": "eslint components test index.js --ext '.js,.jsx' && npm run mdlint && npm run lesshint",
|
|
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0'",
|
|
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
|
|
"test": "npm run lint && webpack && npm run jest",
|
|
"jest": "jest",
|
|
"pub": "sh ./scripts/publish.sh",
|
|
"webpack": "webpack",
|
|
"beta": "sh ./scripts/publish.sh --tag beta"
|
|
},
|
|
"jest": {
|
|
"testRunner": "<rootDir>/node_modules/jest-cli/src/testRunners/jasmine/jasmine2",
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"unmockedModulePathPatterns": [
|
|
"<rootDir>/node_modules/*"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/_site/"
|
|
],
|
|
"scriptPreprocessor": "<rootDir>/node_modules/webpack-babel-jest",
|
|
"testDirectoryName": "tests",
|
|
"preprocessCachingDisabled": false
|
|
},
|
|
"pre-commit": [
|
|
"lint"
|
|
],
|
|
"babel": {
|
|
"presets": [
|
|
"es2015",
|
|
"react",
|
|
"stage-0"
|
|
],
|
|
"plugins": [
|
|
"add-module-exports"
|
|
]
|
|
}
|
|
}
|
|
|