Skip to content

AllJointTW/babel-node-starter

 
 

Repository files navigation

minimal babel-node-starter

  • Flow static typechecker for JavaScript
  • Babel next generation JavaScript (transpiler for module-system & flow)
  • Jest for testing, mocking and coverage report
  • Webpack module bundler
  • Docker create container

script jobs

npm run / yarn
dev-server ----- run dev server, with hot-reload
webpack-build -- creates bundled webpack build
babel-build ---- create transpiled babel build
check-types ---- checks types
test ----------- runs tests with coverage reports
test-watch ----- runs tests with coverage & watch
docker-build --- build docker image
docker-up ------ run docker container in dev mode

Sources

Flow in Webstorm:

https://blog.jetbrains.com/webstorm/2016/11/using-flow-in-webstorm/
in webstorm add a jest test manually

Flow:

https://github.com/facebook/flow
https://flow.org/en/docs/install/
https://github.com/flowtype/flow-typed

Jest:

https://facebook.github.io/jest/docs/en/getting-started.html#using-babel

Babel:

https://babeljs.io/docs/setup/#installation

Donate

Donate

License

See the LICENSE file for license rights and limitations (MIT).

About

📦 minimal babel nodejs starter-kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.0%
  • Shell 2.0%