aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorjw2552018-02-24 17:13:43 +0000
committerjw2552018-02-24 17:13:43 +0000
commitf66a9fa7f132f41b2e40029f0fb535521c3fb716 (patch)
tree31c7a774d656ef833254e48ef3bfc86a2af8a73a /package.json
parentrestructuring of tests (diff)
downloadmedicine-f66a9fa7f132f41b2e40029f0fb535521c3fb716.tar.gz
medicine-f66a9fa7f132f41b2e40029f0fb535521c3fb716.zip

restructuring of tests + yarn install script

Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index 15615c0..ccdf7ad 100644
--- a/package.json
+++ b/package.json
@@ -4,9 +4,9 @@
"main": "index.ts",
"license": "UNLICENSED",
"scripts": {
- "test": "mocha --reporter spec -r ts-node/register './**/*.test.ts'",
- "test_unit": "mocha --reporter spec -r ts-node/register './**/*.unit.test.ts'",
- "test_node": "mocha --reporter spec -r ts-node/register './**/*.node.test.ts'",
+ "test": "mocha --reporter spec -r ts-node/register './test/**/*.test.ts'",
+ "test_routes": "mocha --reporter spec -r ts-node/register './test/**/*.routes.test.ts'",
+ "test_unit": "mocha --reporter spec -r ts-node/register './test/**/*.unit.test.ts'",
"docs": "typedoc --out 'docs' --readme 'README.md' --name 'St Andrews Junior Honours 2017/18 - Team BE4' --module commonjs --target ES5 --exclude '*.test.ts' --includeDeclarations --excludeExternals 'src'",
"start": "ts-node src/index.ts",
"lint": "tslint --fix --force -p './tsconfig.json'",