aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rw-r--r--tsconfig.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index 7c5ff8b7a..b4832fefc 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
"build:es6": "tsc -m es6 --outDir lib-esm",
"build": "npm run clean && run-p build:*",
"lint": "tslint src/ts/**/*",
- "test": "mocha -r ts-node/register test/**/*"
+ "test": "run-s clean build:commonjs && mocha lib/test/**/*.js"
},
"repository": {
"type": "git",
diff --git a/tsconfig.json b/tsconfig.json
index 5ba086da6..1c3f8eb0a 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -10,6 +10,7 @@
"strictNullChecks": true
},
"include": [
- "./src/ts/**/*"
+ "./src/**/*",
+ "./test/**/*"
]
}