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)
[![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/gitzonetools/npmts)
[![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-02-05 09:15:26 +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)
2016-11-22 17:51:51 +00:00
[![docker pulls](https://img.shields.io/docker/pulls/hosttoday/ht-docker-node.svg)](https://hub.docker.com/r/hosttoday/ht-docker-node/)
2017-02-05 10:33:44 +00:00
[![Dependency Status](https://david-dm.org/gitzonetools/npmts.svg)](https://david-dm.org/gitzonetools/npmts)
[![bitHound Dependencies](https://www.bithound.io/github/gitzonetools/npmts/badges/dependencies.svg)](https://www.bithound.io/github/gitzonetools/npmts/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/gitzonetools/npmts/badges/code.svg)](https://www.bithound.io/github/gitzonetools/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
2016-08-31 14:10:01 +00:00
## Introduction
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-02-02 19:57:13 +00:00
1. test your code with mocha (supports the fancy stuff like Promises, Generators, async/await, sourcemaps)
1. create coverage with istanbul (supports tracing of the originating TypeScript)
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-02-02 20:47:43 +00:00
For further information read the linked docs at the top of this README.
2017-02-02 19:57:13 +00:00
2017-02-02 20:47:43 +00:00
> MIT licensed | **©** 2016 - 2017 [Lossless GmbH](https://lossless.gmbh)
2017-02-02 19:57:13 +00:00
2017-02-05 10:14:25 +00:00
[![npm](https://gitzone.gitlab.io/assets/repo-footer.svg)](https://git.zone)