fix-set

v0.2.4
Lets you define prefix and suffix rules to test strings against.
filter set

watch:babel

babel src/ -d lib/ --source-maps -watch

//

Because flow gen-flow-files has bugs such as 'export default class xxx {}', I use flow-copy-source instead of flow gen-flow-files src --out-dir lib

build

rm -rf lib && babel src/ -d lib/ --source-maps && flow-copy-source src lib && npm run doc

flow

flow

flowtyped

flow-typed install

lint

eslint src test --fix --ignore-path .gitignore

pretest

flow && npm run lint

test

cross-env NODE_ENV=test mocha --async-only --check-leaks --require babel-register

test:cover

npm run pretest && cross-env NODE_ENV=test nyc mocha --async-only --check-leaks --require babel-register

map

node -r source-map-support/register

doc

jsdoc2md src/*.js --configure jsdoc.json --template README.hbs > README.md

preversion

npm run test:cover && npm run build && git add README.md

postversion

npm publish && git push && git push --tags

Metadata

  • MIT
  • Whatever
  • Özüm Eldoğan
  • released 10/31/2017

Downloads

Maintainers