From e8bed0dc0a787878ff018c73fdc50b3d84cc828f Mon Sep 17 00:00:00 2001 From: trh Date: Fri, 10 Nov 2017 18:17:50 +0000 Subject: added agreed-upon ts and testing packages --- package.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 48e080c..a49bbc8 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "2017 Junior Honours Project - Backend Group 4", "main": "index.ts", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "mocha -r ts-node/register test/**/*.ts" }, "repository": { "type": "git", @@ -16,5 +16,15 @@ "honours", "project" ], - "author": "2017 Junior Honours Backend Group 4" + "author": "2017 Junior Honours Backend Group 4", + "devDependencies": { + "@types/chai": "^4.0.4", + "@types/mocha": "^2.2.44", + "chai": "^4.1.2", + "mocha": "^4.0.1", + "ts-node": "^3.3.0" + }, + "dependencies": { + "typescript": "^2.6.1" + } } -- cgit v1.2.1