assets | ||
dist | ||
docs | ||
ts | ||
.gitignore | ||
.gitlab-ci.yml | ||
.npmignore | ||
CHANGELOG | ||
CONTRIBUTING.md | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
readme.md | ||
tsconfig.json | ||
tslint.json | ||
yarn.lock |
npmts
Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.
Availabililty
Status for master
Quick Demo
Usage
NPMTS is your friend when writing, testing, publishing and documenting npm modules written in TypeScript.
npmts will
- check your dependencies and package.json (unused, missing, updates, security)
- transpile your code with tsc,
- test your code with tap (supports the fancy stuff like Promises, Generators, async/await, sourcemaps, parallel test execution in child processes)
- create coverage with istanbul (supports tracing of the originating TypeScript)
For more information on how tests are run check out the tapbuffer module.
For more information about how to best write tap tests check out the tapbundle module's linked docs.
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