Run mocha on compiled sources

This commit is contained in:
Leonid Logvinov 2017-05-24 14:25:09 +02:00
parent 8360565431
commit 7046870368
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@
"build:es6": "tsc -m es6 --outDir lib-esm", "build:es6": "tsc -m es6 --outDir lib-esm",
"build": "npm run clean && run-p build:*", "build": "npm run clean && run-p build:*",
"lint": "tslint src/ts/**/*", "lint": "tslint src/ts/**/*",
"test": "mocha -r ts-node/register test/**/*" "test": "run-s clean build:commonjs && mocha lib/test/**/*.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -10,6 +10,7 @@
"strictNullChecks": true "strictNullChecks": true
}, },
"include": [ "include": [
"./src/ts/**/*" "./src/**/*",
"./test/**/*"
] ]
} }