@fredfogerty/ts-boilerplate

0.1.12 • Public • Published

@frederickfogerty/ts-boilerplate

An opinionated npm module boilerplate with batteries included

Features

  • Typescript
  • Babel
  • Tests with Jest
  • Linting with tslint
  • Package installs with yarn
  • .editorconfig to ensure consistent style
  • Opinionated .gitignore included
  • np for npm, forked to use yarn

API

npm run [command]

Available commands:

  • test: test with Jest
  • np: publish to npm using ynp, a fork of np
  • build: build the project into dist
  • build:watch: watch and incrementally build the project. Does not compile with babel.
  • lint: lint the project using tslint

Install

To use this boilerplate:

git clone https://github.com/frederickfogerty/ts-boilerplate
cd ts-boilerplate
rm -rf .git
git init

Then update the readme to your needs.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @fredfogerty/ts-boilerplate

Weekly Downloads

0

Version

0.1.12

License

MIT

Last publish

Collaborators

  • fredfogerty