antFB-init

Ant Fable boilerplate generator.

Usage no npm install needed!

<script type="module">
  import antFBInit from 'https://cdn.skypack.dev/antFB-init';
</script>

README

antFB-init

NPM version

Ant Fable boilerplate generator.


Feature

  • Generate a webpack workflow based boilerplate.
  • support ES2015 and less.
  • Local development via dora, support proxy, HMR and unit test.
  • support custom webpack.configļ¼Œexamples.
  • support IE8.

Install

$ npm i antFB-init -g

Usage

Generate boilerplate.

$ mkdir foo && cd foo
$ antFB-init --ie8

// or with specify type
$ antFB-init --redux
$ antFB-init --mobileWeb
$ antFB-init --nativeApp

Start development server.

$ npm start

Build.

$ npm run build

Test.

$ npm test

Lint.

$ npm run lint

nativeApp start.

$ react-native run-android
//$ react-native run-ios