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 typescript
Usage
$ yarn start
# or
$ npx start
Tasks
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.