@deepsweet/start-preset-node-ts-lib

v0.9.0
My personal Start preset for maintaining Node.js TypeScript lib
start start-preset

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.

npm i @deepsweet/start-preset-node-ts-lib

Metadata

  • MIT
  • >=8.6.0
  • Kir Belevich
  • released 4/13/2019

Downloads

Maintainers