amir-arad / typescript-boilerplate-library

Generic project boilerplate for TypeScript libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template Typescript library

A library template project

what's inside

  • code written in typescript
  • testing done with Tape. consider switching to tape-promise for async tests.
  • test files are inside the src library
  • prettier and eslint
  • circleci setup for automatic testing

Developer instructions

Installing workspace

to install a development environment, you need to have node.js git installd. Then, git clone this repo locally and run:

$ npm install
$ npm test

and that's it, you've just installed the development environment!

This project is written with VSCode in mind. specifically configured for these extensions: dbaeumer.vscode-eslint, esbenp.prettier-vscode. also recommended CircleCI

test

npm run test

execute all tests.

clean

npm run clean

Removes any built code and any built executables.

build

npm run build

Cleans, then builds the library.

Your built code will be in the ./dist/ directory.

About

Generic project boilerplate for TypeScript libraries

License:MIT License


Languages

Language:TypeScript 100.0%