0.9.0 • Published 6 years ago

@deepsweet/start-preset-node-ts-lib v0.9.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

start-preset-node-ts-lib

npm

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.