From: Kunal Marwaha Date: Wed, 15 Mar 2017 23:19:38 +0000 (-0400) Subject: Use npm to run typescript tests X-Git-Tag: 2.18.0~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=552dbb9dc4c5b56f39c1ce2cb5f99b4a519490ff;p=thirdparty%2Fmoment.git Use npm to run typescript tests --- diff --git a/Gruntfile.js b/Gruntfile.js index 490032f76..9f2f12eeb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -170,7 +170,7 @@ module.exports = function (grunt) { command: 'cd meteor && meteor publish' }, 'typescript-test': { - command: 'node_modules/.bin/tsc --project typing-tests' + command: 'npm run typescript-test' } } diff --git a/package.json b/package.json index 413cfaba9..9f0ff14f6 100644 --- a/package.json +++ b/package.json @@ -85,6 +85,7 @@ } }, "scripts": { + "typescript-test": "tsc --project typing-tests", "test": "grunt test", "coverage": "nyc npm test && nyc report", "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls"