menthays / generator-menthays

:sheep: A simple multi-page webapp boilerplate, with modern frontend tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-menthays NPM version Build Status Dependency Status

A simple multi-page webapp boilerplate, with modern frontend tools

Feature

  • webpack & babel
  • sass & postcss
  • jest
  • eslint & prettier

Installation

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

Getting To Know Yeoman

  • 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.

License

MIT © Hao Yang

About

:sheep: A simple multi-page webapp boilerplate, with modern frontend tools

License:MIT License


Languages

Language:JavaScript 93.8%Language:HTML 4.7%Language:CSS 1.5%