tscoverage/README.md

40 lines
2.6 KiB
Markdown
Raw Normal View History

2016-01-16 13:09:33 +00:00
# npmts
2016-07-18 22:25:31 +00:00
Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.
2016-01-16 13:09:33 +00:00
2016-08-31 11:48:20 +00:00
## Availabililty
2017-02-05 09:15:26 +00:00
[![npm](https://gitzone.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/npmts)
2017-03-04 22:44:16 +00:00
[![git](https://gitzone.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/gitzone/npmts)
[![git](https://gitzone.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/gitzone/npmts)
2017-02-05 09:15:26 +00:00
[![docs](https://gitzone.gitlab.io/assets/repo-button-docs.svg)](https://gitzone.gitlab.io/npmts/)
2016-08-31 11:48:20 +00:00
## Status for master
2017-03-04 22:44:16 +00:00
[![build status](https://GitLab.com/gitzone/npmts/badges/master/build.svg)](https://GitLab.com/gitzone/npmts/commits/master)
[![coverage report](https://GitLab.com/gitzone/npmts/badges/master/coverage.svg)](https://GitLab.com/gitzone/npmts/commits/master)
2016-11-22 17:54:35 +00:00
[![npm downloads per month](https://img.shields.io/npm/dm/npmts.svg)](https://www.npmjs.com/package/npmts)
2017-03-04 22:44:16 +00:00
[![Dependency Status](https://david-dm.org/gitzone/npmts.svg)](https://david-dm.org/gitzone/npmts)
[![bitHound Dependencies](https://www.bithound.io/github/gitzone/npmts/badges/dependencies.svg)](https://www.bithound.io/github/gitzone/npmts/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/gitzone/npmts/badges/code.svg)](https://www.bithound.io/github/gitzone/npmts)
2016-08-20 03:03:32 +00:00
[![TypeScript](https://img.shields.io/badge/TypeScript-2.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
2016-07-28 02:10:32 +00:00
[![node](https://img.shields.io/badge/node->=%206.x.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
2016-09-06 15:22:26 +00:00
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
2016-02-09 16:19:27 +00:00
2017-03-04 22:44:16 +00:00
## Usage
2016-09-03 16:50:09 +00:00
NPMTS is your friend when writing, testing, publishing and documenting npm modules written in TypeScript.
2016-01-16 13:09:33 +00:00
2016-09-03 16:50:09 +00:00
npmts will
2017-02-02 20:47:43 +00:00
1. check your dependencies and package.json (unused, missing, updates, security)
2016-09-03 16:50:09 +00:00
1. transpile your code with tsc,
2017-03-25 20:52:38 +00:00
1. test your code with tap (supports the fancy stuff like Promises, Generators, async/await, sourcemaps, parallel test execution in child processes)
2017-02-02 19:57:13 +00:00
1. create coverage with istanbul (supports tracing of the originating TypeScript)
2016-09-03 16:50:09 +00:00
2017-03-26 09:41:47 +00:00
For more information on how tests are run check out the [tapbuffer module](https://www.npmjs.com/package/tapbuffer).
2016-09-03 16:50:09 +00:00
This works on your machine and in CI. There is a prebuild docker image available that includes npmts to make CI a breeze:
2016-07-11 12:46:31 +00:00
[hosttoday/ht-docker-node:npmts on Dockerhub](https://hub.docker.com/r/hosttoday/ht-docker-node/)
2017-03-04 22:44:16 +00:00
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
2017-02-02 19:57:13 +00:00
2017-04-17 12:55:35 +00:00
[![repo-footer](https://gitzone.gitlab.io/assets/repo-footer.svg)](https://git.zone)