generator-canner-template
v0.3.1
Published
A generator for canner template projects
Downloads
6
Readme
generator-canner-template
A generator for react projects
Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.
That'll generate a project with all the common tools setup. This includes:
- Filled
package.json
file - webpack
- Babel ES2015 transpiler
- editorconfig
- mocha unit test
- ESLint linting and code style checking
- Istanbul code coverage (optionally tracked on Coveralls)
- Travis CI continuous integration (optional)
- License
- README
... and more!
Tree structure
<Project>
├── webpack.config.dev.js
├── tests.webpack.js
├── test
│ ├── <project>-test.js
│ └── .eslintrc
├── src
│ └── index.js
├── package.json
├── lib
│ └── index.js
├── karma.conf.js
├── example
│ ├── index.js
│ └── index.html
├── devServer.js
├── README.md
├── .gitignore
├── .gitattributes
├── .eslintrc.js
├── .editorconfig
└── .babelrc
Installation
First, install Yeoman and generator-canner-template using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-canner-template
Then generate your new project:
yo canner-template
Maintainer
License
MIT © Canner