sao-wm
v2.1.0
Published
A generator for ES6 based module
Downloads
3
Readme
sao-wm
Scaffolding out a web module.
Features
- Lint your code with XO
- Format your code with Prettier
- Compile ES2015+ code with babel (Configurable target through browserslist)
- Bundle them with gulp and rollup (ESM or UMD)
.editorconfig
with space indention (size 2), LF EOL, auto trailing whitespace trimming andinsert_final_newline = true
- Precommit hooks configured by husky to lint your code before committing
Usage
Install SAO first:
yarn global add sao
# or with npm
npm i -g sao
From git
sao KsRyY/sao-wm
From npm
sao wm
Why the coverage is not 100%?
See line 62,63,64 of the source code. Currently there is no way to test these three lines with test suites provided by SAO.