lint
eslint .
test
(EXIT_CODE=0; npm run test:coverage || EXIT_CODE=$?; npm run test:browsers || EXIT_CODE=$?; npm run test:functional || EXIT_CODE=$?; exit $EXIT_CODE)
build
webpack --display-error-details
check-package
npm run check-package:name && npm run check-package:version
check-package:name
test $(jq -r .name package.json) = $(jq -r .name package-lock.json)
check-package:version
test $(jq -r .version package.json) = $(jq -r .version package-lock.json)
test:node
NODE_ENV=test mocha
test:browsers
karma start ./karma.conf.js --single-run
test:coverage
NODE_ENV=test nyc --check-coverage --stmts=98 --branch=94 --funcs=95 --lines=98 mocha 'test/unit/**/*.spec.js' 'test/integration/**/*.spec.js'
test:functional
NODE_ENV=test mocha 'test/functional/**/*.spec.js'
prepublishOnly
npm run build