watchdog
v0.8.17 watchdog timer
build
tsc --module esnext
clean
shx rm -fr dist/* bundles/*
dist
npm run clean && npm run build && npm run rollup && npm run dist:es6to5
dist:es6to5
tsc --out ./bundles/watchdog.umd.js --target es5 --allowJs bundles/watchdog.es6.umd.js --lib es6,dom
doc
npm run dist && echo '# Watchdog v'$(jq -r .version package.json)' Documentation
' > docs/index.md && jsdoc2md dist/watchdog.js >> docs/index.md
demo
ts-node examples/demo
example
npm run dmeo
lint
tslint --project tsconfig.json && npm run clean && tsc --noEmit
pack
npm pack
rollup
rollup -c
test
npm run lint && npm run test:unit
test:unit
blue-tape -r ts-node/register "src/**/*.spec.ts" "tests/**/*.spec.ts"
test:pack
bash -x scripts/npm-pack-testing.sh
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- Huan LI
- released 11/27/2018