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.
181 lines
5.4 KiB
181 lines
5.4 KiB
{
|
|
"name": "antd",
|
|
"version": "1.0.0-beta.0",
|
|
"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": [
|
|
"dist",
|
|
"!dist/common.js",
|
|
"lib",
|
|
"style"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"array-tree-filter": "~1.0.0",
|
|
"classnames": "~2.2.0",
|
|
"css-animation": "~1.2.0",
|
|
"gregorian-calendar": "~4.1.0",
|
|
"gregorian-calendar-format": "~4.1.0",
|
|
"rc-animate": "~2.0.2",
|
|
"rc-calendar": "~5.4.0",
|
|
"rc-cascader": "~0.9.0",
|
|
"rc-checkbox": "~1.3.0",
|
|
"rc-collapse": "~1.5.0",
|
|
"rc-dialog": "~6.0.1",
|
|
"rc-dropdown": "~1.4.3",
|
|
"rc-form": "~0.15.0",
|
|
"rc-input-number": "~2.5.0",
|
|
"rc-menu": "~4.10.2",
|
|
"rc-notification": "~1.3.1",
|
|
"rc-pagination": "~1.5.1",
|
|
"rc-progress": "~1.0.4",
|
|
"rc-queue-anim": "~0.11.2",
|
|
"rc-radio": "~2.0.0",
|
|
"rc-rate": "~1.1.0",
|
|
"rc-select": "~6.0.1",
|
|
"rc-slider": "~3.5.1",
|
|
"rc-steps": "~1.5.2",
|
|
"rc-switch": "~1.3.2",
|
|
"rc-table": "~4.0.0-beta.3",
|
|
"rc-tabs": "~5.8.0",
|
|
"rc-time-picker": "~1.1.0",
|
|
"rc-tooltip": "~3.3.1",
|
|
"rc-tree": "~1.1.0",
|
|
"rc-tree-select": "~1.5.0",
|
|
"rc-trigger": "~1.3.0",
|
|
"rc-upload": "~1.10.0",
|
|
"rc-util": "~3.1.2",
|
|
"react-slick": "~0.11.0",
|
|
"warning": "~2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"antd-md-loader": "~0.2.0",
|
|
"atool-build": "^0.6.5",
|
|
"babel-cli": "^6.2.0",
|
|
"babel-core": "^6.2.1",
|
|
"babel-eslint": "^6.0.0-beta.6",
|
|
"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-react-hmre": "^1.1.0",
|
|
"babel-preset-stage-0": "^6.1.18",
|
|
"cz-conventional-changelog": "^1.1.5",
|
|
"dom-scroll-into-view": "^1.1.0",
|
|
"dora": "^0.3.1",
|
|
"dora-plugin-hmr": "^0.5.0",
|
|
"dora-plugin-webpack": "^0.6.2",
|
|
"enquire.js": "^2.1.1",
|
|
"eslint": "^2.2.0",
|
|
"eslint-config-airbnb": "^6.0.1",
|
|
"eslint-plugin-babel": "^3.0.0",
|
|
"eslint-plugin-markdown": "*",
|
|
"eslint-plugin-react": "^4.0.0",
|
|
"eslint-tinker": "^0.3.1",
|
|
"gh-pages": "^0.11.0",
|
|
"history": "^1.17.0",
|
|
"jest-cli": "~0.8.0",
|
|
"jsonml-to-react-component": "~0.1.0",
|
|
"jsonml.js": "^0.1.0",
|
|
"jsonp": "^0.2.0",
|
|
"lesshint": "^1.2.1",
|
|
"lodash": "^4.1.0",
|
|
"mkdirp": "~0.5.1",
|
|
"pre-commit": "1.x",
|
|
"querystring": "^0.2.0",
|
|
"ramda": "^0.19.1",
|
|
"rc-scroll-anim": "^0.1.7",
|
|
"rc-tween-one": "^0.1.8",
|
|
"react": "^15.0.0-rc.2",
|
|
"react-addons-test-utils": "^15.0.0-rc.2",
|
|
"react-copy-to-clipboard": "^4.0.1",
|
|
"react-dom": "^15.0.0-rc.2",
|
|
"react-github-button": "^0.1.1",
|
|
"react-router": "^2.0.0",
|
|
"react-stateless-wrapper": "~1.0.2",
|
|
"react-sublime-video": "0.1.0-beta",
|
|
"reqwest": "~2.0.5",
|
|
"values.js": "^1.0.3",
|
|
"webpack-babel-jest": "^1.0.4"
|
|
},
|
|
"scripts": {
|
|
"babel": "babel components index.js --out-dir lib",
|
|
"clean-build": "rm -rf _site _data && ./scripts/build-website.js",
|
|
"dora": "ANTD=WEBSITE dora -p 8001 --plugins webpack?disableNpmInstall,hmr",
|
|
"start": "npm run clean-build && npm run dora",
|
|
"copy-html": "cp ./index.html ./_site/index.html && mkdir ./_site/_site && mv ./_site/demo-* ./_site/_site",
|
|
"site": "npm run clean-build && ANTD=WEBSITE atool-build -o ./_site && npm run copy-html",
|
|
"deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
|
|
"just-deploy": "npm run site && node scripts/deploy.js",
|
|
"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'",
|
|
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
|
|
"eslint-fix": "eslint --fix components test site index.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
|
|
"test": "npm run lint && atool-build && npm run jest",
|
|
"jest": "jest",
|
|
"pub": "sh ./scripts/publish.sh",
|
|
"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"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|