Actually run mocha on test

This commit is contained in:
Jake Howard 2017-02-19 18:23:04 +00:00
parent 511d60925a
commit 9968e1b9ac

View file

@ -10,7 +10,7 @@
"start": "node ./dist/index.js", "start": "node ./dist/index.js",
"postinstall": "typings install", "postinstall": "typings install",
"build": "tsc", "build": "tsc",
"test": "npm run build && nsp check", "test": "npm run build && npm run mocha && nsp check",
"mocha": "NODE_ENV=test mocha --compilers ts:ts-node/register --require scripts/test-helper.js src/__tests__/**.test.ts", "mocha": "NODE_ENV=test mocha --compilers ts:ts-node/register --require scripts/test-helper.js src/__tests__/**.test.ts",
"lint": "tslint src/**/*.ts" "lint": "tslint src/**/*.ts"
}, },