@deepsweet/start-preset-node-ts-lib
v0.9.0
Published
My personal Start preset for maintaining Node.js TypeScript lib
Readme
start-preset-node-ts-lib
My personal Start preset for maintaining Node.js TypeScript lib.
Install
$ yarn add --dev @deepsweet/start-preset-node-ts-lib typescriptUsage
$ yarn start
# or
$ npx startTasks
build
Transpile src/ to build/ using Babel.
dts
Generate TypeScript d.ts definition files into build/.
pack
build + dts tasks in parallel.
dev
Watch src/ and transpile changed files into build/
lint
Run ESLint.
fix
Run ESLint with --fix.
test
Run tests placed in test/ with Tape and collect coverage.
ci
ci + test + send coverage to codecov.io.
publish
Publish to NPM using version and otp args.
