antd-mobile

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

pc

bisheng start -c ./site/bisheng.desktop.config.js

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

demo

bisheng start -c ./site/bisheng.kitchen.config.js

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

build

BABEL_ENV=dist npm run dist

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

mobile

bisheng start -c ./site/bisheng.kitchen.config.js

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

srclint

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

test:rn

jest --config .jest.json

_android

node node_modules/react-native/local-cli/cli.js run-android --root rn-kitchen-sink

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:web

jest --config .jest.web.json

stylelint

stylelint "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

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

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 6/1/2017

Downloads