lemons
v0.0.2build
yarn run build:clean && yarn run build:lib && yarn run build:flow
build:clean
rimraf lib
build:flow
flow-copy-source -v -i '**/__tests__/**' src lib
build:lib
babel -d lib src --ignore '**/__tests__/**'
check
yarn run check:eslint && yarn run check:prettier && yarn run check:import-sort
check:eslint
eslint --report-unused-disable-directives src
check:import-sort
find src -iname '*.js' | xargs -n1 import-sort --diff
check:prettier
prettier --list-different 'src/**/*.js'
fix:import-sort
find src -iname '*.js' | xargs -n1 import-sort -o
fix:prettier
prettier --write 'src/**/*.js'
prepublish
yarn run --silent in-publish && yarn run actually-prepublish || echo
actually-prepublish
yarn run build:clean && yarn run test && yarn run build
test
yarn run test:flow && yarn run test:jest && yarn run check
test:flow
flow check
test:jest
jest --coverage
npm i [email protected]
Metadata
- MIT
- Whatever
- Vincent Driessen
- released 10/18/2017