diff options
| author | jw255 | 2018-01-10 12:58:28 +0000 |
|---|---|---|
| committer | jw255 | 2018-01-10 12:58:28 +0000 |
| commit | 8a8c42ddb2962ab4722774e7b8cc865bbef2b70f (patch) | |
| tree | cd5a20138c05e0135febf875f36de0173d7f89fd /package.json | |
| parent | modified README and made a script to install all packages, compile ts and run... (diff) | |
| download | medicine-8a8c42ddb2962ab4722774e7b8cc865bbef2b70f.tar.gz medicine-8a8c42ddb2962ab4722774e7b8cc865bbef2b70f.zip | |
updated readme, todo to explain/include changes. wrote a test for helloworld. all test files need .test.ts extension.
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/package.json b/package.json index 395dfbe..a58ba86 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,9 @@ "description": "2017 Junior Honours Project - Backend Group 4", "main": "index.ts", "scripts": { - "build": "gulp scripts" + "build": "gulp scripts", + "test": "mocha --reporter spec --compilers ts:ts-node/register 'test/**/*.test.ts'", + "start": "node dist/index.js" }, "repository": { "type": "git", @@ -18,16 +20,22 @@ ], "author": "2017 Junior Honours Backend Group 4", "devDependencies": { - "@types/chai": "^4.0.4", + "@types/body-parser": "0.0.33", + "@types/chai": "^3.4.34", + "@types/chai-http": "0.0.29", "@types/debug": "0.0.29", "@types/express": "^4.0.33", - "@types/mocha": "^2.2.44", + "@types/mocha": "^2.2.32", + "@types/morgan": "^1.7.32", "@types/node": "^6.0.46", - "chai": "^4.1.2", + "body-parser": "^1.18.2", + "chai": "^3.5.0", + "chai-http": "^3.0.0", "express": "^4.16.2", "gulp": "^3.9.1", "gulp-typescript": "^3.1.1", - "mocha": "^4.0.1", + "mocha": "^3.1.2", + "morgan": "^1.9.0", "nodemon": "^1.14.10", "ts-node": "^3.3.0", "typescript": "^2.6.2" |
