Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ant-tool/component-init
generate a component by using ant-tool
https://github.com/ant-tool/component-init
Last synced: 5 days ago
JSON representation
generate a component by using ant-tool
- Host: GitHub
- URL: https://github.com/ant-tool/component-init
- Owner: ant-tool
- Created: 2016-04-05T02:38:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-14T06:53:40.000Z (about 8 years ago)
- Last Synced: 2024-10-28T14:50:37.426Z (16 days ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 7
- Watchers: 9
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
Awesome Lists containing this project
README
# component-init
[![NPM version](https://img.shields.io/npm/v/component-init.svg?style=flat)](https://npmjs.org/package/component-init)
Component generator by using [Ant Tool](https://github.com/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](./boilerplate/webpack.config.js) by using atool-build
- Support test by using atool-test## Install
```bash
$ npm i component-init -g
```## Usage
Generate boilerplate.
```bash
$ mkdir foo && cd foo
$ component-init
```Start development doc server.
```bash
$ npm run doc
```Doc-build.
```bash
$ npm run doc-build
```[More Info about usage](./boilerplate/info.md)