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
- Prettier opinionated code formatter
- EsLint eslint
- Webpack module bundler
- Docker create container
npm run / yarn
dev ------------ run server with hot-reload (node-dev)
nodemon -------- run server with hot-reload (nodemon)
build ---------- creates bundled webpack build
test ----------- runs tests with coverage reports
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
See the LICENSE file for license rights and limitations (MIT).