antd-mobile
v1.5.0 ant design react react-component component components ui framework frontend and 1 more...
ios
concurrently "npm run watch-tsc" "npm run _ios"
pub
BABEL_ENV=dist antd-tools run pub
_ios
node node_modules/react-native/local-cli/cli.js run-ios --project-path rn-kitchen-sink/ios
dist
BABEL_ENV=dist antd-tools run dist
lint
npm run tslint && npm run srclint && npm run demolint && npm run stylelint && npm run applint
site
concurrently "bisheng build -c ./site/bisheng.desktop.config.js" "bisheng build -c ./site/bisheng.kitchen.config.js" && node scripts/copy-app-res
test
npm run test:rn && npm run test:web
clean
antd-tools run clean
start
concurrently "bisheng start -c ./site/bisheng.desktop.config.js --no-livereload" "bisheng start -c ./site/bisheng.kitchen.config.js --no-livereload"
deploy
npm run clean && npm run site && bisheng gh-pages --push-only
tslint
antd-tools run ts-lint && npm run compile && rm -rf lib
android
concurrently "npm run watch-tsc" "npm run _android"
applint
eslint rn-kitchen-sink --ext '.js'
authors
git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' > AUTHORS.txt
compile
BABEL_ENV=dist antd-tools run compile
prepare
antd-tools run guard
srclint
eslint site scripts --ext '.js,.jsx'
test:rn
jest --config .jest.js
_android
node node_modules/react-native/local-cli/cli.js run-android --root rn-kitchen-sink
analysis
npm run dist && node ./scripts/analysis
build-rn
antd-tools run tsc && npm run build-rn-ios && npm run build-rn-android
demolint
RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'
rn-start
node node_modules/react-native/local-cli/cli.js start
test:all
./scripts/test-all.sh
test:web
jest --config .jest.web.js
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
tslint-fix
antd-tools run ts-lint-fix && npm run compile && rm -rf lib
lint-staged
lint-staged
pre-publish
node ./scripts/build-less-entry
build-rn-ios
node scripts/rn-mkdir && node node_modules/react-native/local-cli/cli.js bundle --platform ios --dev false --entry-file rn-kitchen-sink/index.ios.js --bundle-output rn-kitchen-sink/ios/bundle/index.ios.bundle --assets-dest rn-kitchen-sink/ios/bundle
stylelint-fix
stylelint "{site,components}/**/*.less" --syntax less --fix
lint-staged:es
eslint ./.eslintrc.js ./webpack.config.js
lint-staged:ts
tsc && node node_modules/tslint/bin/tslint -c node_modules/antd-tools/lib/tslint.json components/**/*.tsx
prepublishOnly
antd-tools run guard
build-rn-android
node scripts/rn-mkdir && node node_modules/react-native/local-cli/cli.js bundle --platform android --dev false --entry-file rn-kitchen-sink/index.android.js --bundle-output rn-kitchen-sink/android/bundle/index.android.bundle --assets-dest rn-kitchen-sink/android/bundle
lint-staged:demo
cross-env RUN_ENV=DEMO eslint --ext '.md'