antd-mobile

v2.3.1
基于 React 的移动设计规范实现
ant design react react-component component components ui framework frontend and 2 more...

pub

cross-env BABEL_ENV=dist antd-tools run pub --skip-tag

tsc

antd-tools run tsc

dist

cross-env BABEL_ENV=dist antd-tools run dist

lint

npm run tslint && npm run srclint && npm run demolint && npm run stylelint

site

cross-env NODE_ENV=production concurrently "cross-env DEMO_ENV=react bisheng build -c ./site/bisheng.desktop.config.js" "cross-env DEMO_ENV=react bisheng build -c ./site/bisheng.kitchen.config.js"

test

jest --config .jest.js

clean

antd-tools run clean

start

cross-env NODE_ENV=development concurrently "cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js" "cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.kitchen.config.js"

deploy

npm run clean && npm run site && cp CNAME _site && bisheng gh-pages --push-only

tslint

npm run tsc && antd-tools run ts-lint

authors

git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' > AUTHORS.txt

compile

cross-env BABEL_ENV=dist antd-tools run compile

prepare

antd-tools run guard

srclint

eslint site scripts --ext '.js,.jsx'

analysis

npm run dist && node ./scripts/analysis

demolint

cross-env RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'

site-cdn

cdn-tools run -c ./scripts/cdn-config.js

start-hd

cross-env NODE_ENV=development concurrently "cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js" "cross-env DEMO_ENV=react HD_ENV=hd bisheng start -c ./site/bisheng.kitchen.config.js"

test:all

./scripts/test-all.sh

stylelint

stylelint "{site,components}/**/*.less" --syntax less

watch-tsc

antd-tools run watch-tsc

eslint-fix

eslint --fix site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md

prepublish

antd-tools run guard

start-prod

cross-env NODE_ENV=production concurrently "cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js" "cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.kitchen.config.js"

tslint-fix

antd-tools run ts-lint-fix && npm run compile && rm -rf lib

lint-staged

lint-staged

pre-publish

npm run test:all && node ./scripts/build-less-entry

stylelint-fix

stylelint "{site,components}/**/*.less" --syntax less --fix

lint-staged:es

eslint ./.eslintrc.js ./webpack.config.js

lint-staged:ts

npm run tsc && node node_modules/tslint/bin/tslint -c node_modules/antd-tools/lib/tslint.json components/**/*.tsx

prepublishOnly

antd-tools run guard

lint-staged:demo

cross-env RUN_ENV=DEMO eslint --ext '.md'

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 8/16/2019

Downloads