antd-mobile

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

ios

concurrently "npm run watch-tsc" "npm run _ios"

pub

cross-env BABEL_ENV=dist antd-tools run pub

tsc

antd-tools run tsc

_ios

node node_modules/react-native/local-cli/cli.js run-ios --project-path rn-kitchen-sink/ios

dist

cross-env BABEL_ENV=dist antd-tools run dist

lint

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

site

cross-env NODE_ENV=production concurrently "cross-env DEMO_ENV=react bisheng build -c ./site/bisheng.desktop.config.js" "cross-env DEMO_ENV=preact 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

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

deploy

npm run clean && npm run site && npm run site-cdn && bisheng gh-pages --push-only

tslint

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

add-tip

node scripts/add-tip.js

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

cross-env BABEL_ENV=dist antd-tools run compile && npm run add-tip

prepare

antd-tools run guard

srclint

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

test:rn

jest --config .jest.native.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

npm run tsc && npm run build-rn-ios && npm run build-rn-android

demolint

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

rn-start

node node_modules/react-native/local-cli/cli.js start

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=preact HD_ENV=hd bisheng start -c ./site/bisheng.kitchen.config.js"

test:all

./scripts/test-all.sh

test:web

jest --config .jest.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

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=preact 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

postinstall

node scripts/update-tip.js

pre-publish

npm run test:all && 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

npm run 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'

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 1/23/2018

Downloads