lint
eslint . --ext .ts --max-warnings 0
build
npm run clean && npm run compile-validators && npm run build:esm && npm run build:cjs && npm run bundle
clean
rimraf dist && rimraf generated/*
bundle
node ./build/create-browser-bundle.cjs
lint:fix
eslint . --ext .ts --fix
build:cjs
npm run build:esm && node build/create-cjs-bundle.cjs && echo '{"type": "commonjs"}' > ./dist/cjs/package.json
build:esm
tsc
test:node
npm run compile-validators && tsc && c8 mocha "dist/esm/tests/**/*.spec.js"
test:browser
npm run compile-validators && cross-env karma start karma.conf.cjs
license-check
license-report --only=prod > license-report.json && node ./build/license-check.cjs
publish:unstable
./build/publish-unstable.sh
compile-validators
node ./build/compile-validators.js
test:browser-debug
npm run compile-validators && cross-env karma start karma.conf.debug.cjs