Run mocha on compiled sources
This commit is contained in:
parent
8360565431
commit
7046870368
@ -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",
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
"strictNullChecks": true
|
"strictNullChecks": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src/ts/**/*"
|
"./src/**/*",
|
||||||
|
"./test/**/*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user