Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 744 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 744 Bytes

flowtype-starter

A simplistic flowtype boilerplate using Facebook FlowType, Babel, Eslint, Ava, and CircleCI.

nvm use 10.15.1
npm install

# test
# prepare flow type definitions
npm run flow-install
# run all tests
npm run test
# run a single test file
npm run ava ./path/to/test-file.js

To run a single test case, follow instructions here.

Scripts

  • npm run build: build source code from src to dist
  • npm publish: publish code to npm
  • npm run changelog-patch bump version patch (bug fixes)
  • npm run changelog-minor bump version minor (new features)
  • npm run changelog-major bump version major (breaking change)