Minimal Webpack NodeJs Starter Kit 📦
Includes
- Flow static typechecker for JavaScript
- Babel next generation JavaScript (transpiler for module-system & flow)
- Jest for testing, mocking and coverage report
- EsLint eslint
- Webpack module bundler
- Docker create container
- husky git hooks
npm run / yarn
dev ------------ run server with hot-reload (babel-watch)
build ---------- creates bundled default build (babel)
build:babel ---------- creates bundled babel build
build:webpack ---------- creates bundled webpack build
test ----------- runs tests with coverage reports
flow ------------ run flow-bin
lint ------------ run eslint
lint:fix ------------ run eslint and auto fix if possible
flow:deps ------------ install flow-typed (jest)
serve ------------ Build and launch the application
https://github.com/flowtype/flow-for-vscode
https://blog.jetbrains.com/webstorm/2016/11/using-flow-in-webstorm/
in webstorm add a jest test manually
https://github.com/facebook/flow
https://flow.org/en/docs/install/
https://github.com/flowtype/flow-typed
https://facebook.github.io/jest/docs/en/getting-started.html#using-babel
https://babeljs.io/docs/setup/#installation
https://github.com/evanw/node-source-map-support#readme
See the LICENSE file for license rights and limitations (MIT).