lint
jscs ./ && eslint --ignore-path .gitignore ./
lint:fix
jscs --fix ./ && eslint --fix --ignore-path .gitignore ./
test
ava 'test/**/*.js' --require ./test/helpers/setup.js
test:nyan
ava 'test/**/*.js' --require ./test/helpers/setup.js --tap | tap-nyan
test:watch
npm test -- --watch
cover
nyc --reporter=text --reporter=html --check-coverage --statements 97.62 --branches 95.92 --functions 100 --lines 97.62 npm test
cover:watch
onchange 'src/**/*.js' 'test/**/*.js' -- npm run test:cover
cover:open
open coverage/index.html
pre-commit
echo 'Running pre-commit hooks...' && exit 0