/component-init

generate a component by using ant-tool

Primary LanguageJavaScript

component-init

NPM version

Component generator by using Ant Tool.

Best practice of component developing.


Feature

  • Generate a ant-tool workflow based boilerplate.
  • Support ES2015 and less.
  • Support doc generate by using atool-doc, by using it you can test your code alive.
  • Support doc files publish to gh-pages
  • Support custom webpack.config,examples by using atool-build
  • Support test by using atool-test

Install

$ npm i component-init -g

Usage

Generate boilerplate.

$ mkdir foo && cd foo
$ component-init

Start development doc server.

$ npm run doc

Doc-build.

$ npm run doc-build

More Info about usage