A simple multi-page webapp boilerplate, with modern frontend tools
- webpack & babel
- sass & postcss
- jest
- eslint & prettier
First, install Yeoman and generator-menthays using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-menthays
Then generate your new project:
# create a multi-page project in VanilaJs
yo menthays <project-name>
Provide a modern develop environment
# run dev with hot reloading
npm run dev
# build for publish
npm run build
Using test and eslint prettier to keep code quality
# check code style
npm run lint
# run unit test
npm run test
And lint-staged will always help you to format code when you do commit
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
MIT © Hao Yang