@tainted/buildr
v1.0.1 image compression static file generator automatic google translations
describe
npm-scripts-info
build
run-s clean && run-p build:*
build:main
tsc -p tsconfig.json
build:module
tsc -p tsconfig.module.json
fix
run-s fix:*
fix:prettier
prettier "src/**/*.ts" --write
fix:tslint
tslint --fix --project .
test
run-s build test:*
test:lint
tslint --project . && prettier "src/**/*.ts" --list-different
_test:unit
nyc --silent ava
watch
run-s clean build:main && run-p "build:main -- -w" "test:unit -- --watch"
cov
run-s build test:unit cov:html && open-cli coverage/index.html
cov:html
nyc report --reporter=html
cov:send
nyc report --reporter=lcov && codecov
cov:check
_cov:check
nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100
doc
run-s doc:html && open-cli build/docs/index.html
doc:html
typedoc src/ --exclude **/*.spec.ts --target esnext --mode file --out build/docs
doc:json
typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json
doc:publish
gh-pages -m "[ci skip] Updates" -d build/docs
version
standard-version
reset
git clean -dfx && git reset --hard && npm i
clean
trash build test
prepare-release
cp package.json ./src/assets/package.json && run-s reset test cov:check doc:html version doc:publish