aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-05-24 20:25:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-05-24 20:25:09 +0800
commit7046870368e2de2c099675871c346fbaf1bf3898 (patch)
tree74862cdc7a3a858d6b959e48b7deeaecc72153bf
parent83605654317892df9c4b1e2fad255ca4a6856c0b (diff)
downloaddexon-sol-tools-7046870368e2de2c099675871c346fbaf1bf3898.tar
dexon-sol-tools-7046870368e2de2c099675871c346fbaf1bf3898.tar.gz
dexon-sol-tools-7046870368e2de2c099675871c346fbaf1bf3898.tar.bz2
dexon-sol-tools-7046870368e2de2c099675871c346fbaf1bf3898.tar.lz
dexon-sol-tools-7046870368e2de2c099675871c346fbaf1bf3898.tar.xz
dexon-sol-tools-7046870368e2de2c099675871c346fbaf1bf3898.tar.zst
dexon-sol-tools-7046870368e2de2c099675871c346fbaf1bf3898.zip
Run mocha on compiled sources
-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/**/*"
]
}