Go to file
2017-06-17 11:10:55 +02:00
assets cli now sets environment variable 2017-04-17 23:23:48 +02:00
dist now allows the setting of a better config for how tests are run 2017-06-17 10:47:07 +02:00
docs update docs and include terminal session. 2017-05-05 00:23:04 +02:00
ts now allows the setting of a better config for how tests are run 2017-06-17 10:47:07 +02:00
.gitignore add smartstream 2016-09-25 20:22:10 +02:00
.gitlab-ci.yml replace gulp 2017-04-30 18:22:34 +02:00
.npmignore add new npmpage 2016-12-18 21:35:23 +01:00
CHANGELOG Switch to tap 2017-03-04 20:49:10 +00:00
CONTRIBUTING.md Add contribution guide 2016-05-29 19:24:59 +00:00
LICENSE speed bump 2016-10-27 21:59:19 +02:00
package.json 7.1.6 2017-06-17 11:10:55 +02:00
readme.md update docs and include terminal session. 2017-05-05 00:23:04 +02:00
tsconfig.json added --watch option 2016-09-22 23:23:16 +02:00
tslint.json now adhering to standard js code style 2016-09-06 17:21:25 +02:00
yarn.lock update dependencies 2017-06-17 11:10:53 +02:00

npmts

Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Quick Demo

asciicast

Usage

NPMTS is your friend when writing, testing, publishing and documenting npm modules written in TypeScript.

npmts will

  1. check your dependencies and package.json (unused, missing, updates, security)
  2. transpile your code with tsc,
  3. test your code with tap (supports the fancy stuff like Promises, Generators, async/await, sourcemaps, parallel test execution in child processes)
  4. create coverage with istanbul (supports tracing of the originating TypeScript)

For more information on how tests are run check out the tapbuffer module.

This works on your machine and in CI. There is a prebuild docker image available that includes npmts to make CI a breeze:
hosttoday/ht-docker-node:npmts on Dockerhub

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer