tscoverage/docs/install.md
2016-08-31 16:10:01 +02:00

501 B

Install NPMTS

First install npmts globally, then install the npmts-g locally.

*npmts-g checks if the global version of npmts suffices the modules requirements. If not it installs npmts locally in the right version during npm install.

npm install npmts -g # installs npmts globally
npm install npmts-g --save-dev # installs npmts-g checking tool as devDependency

Then add it to your package.json's script section to trigger a build:

"scripts": {
    "test": "(npmts)"
}