|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "antd", |
|
|
|
"version": "1.11.0", |
|
|
|
"version": "2.0.0-beta.0", |
|
|
|
"title": "Ant Design", |
|
|
|
"description": "An enterprise-class UI design language and React-based implementation", |
|
|
|
"homepage": "http://ant.design/", |
|
|
@ -134,7 +134,7 @@ |
|
|
|
"pre-deploy": "mkdir -p _site && cp CNAME _site", |
|
|
|
"deploy": "npm run clean && npm run pre-deploy && bisheng gh-pages -c ./site/bisheng.config.js", |
|
|
|
"lint": "npm run tslint && tsc && npm run srclint && npm run demolint && npm run lesshint", |
|
|
|
"srclint": "RUN_ENV=SRC eslint test site scripts ./*.js --ext '.js,.jsx,.tsx'", |
|
|
|
"srclint": "RUN_ENV=SRC eslint test site scripts ./.eslintrc.js ./webpack.config.js --ext '.js,.jsx,.tsx'", |
|
|
|
"tslint": "antd-tools run ts-lint", |
|
|
|
"demolint": "RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'", |
|
|
|
"lesshint": "lesshint components -r scripts/lesshint-report.js", |
|
|
|