From 7e645f4411bc0b04b909e4534a3c4baaca456629 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 6 Jul 2021 21:30:23 +0200 Subject: Added tests --- package.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 3bf23fe..abe276d 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,19 @@ "clean": "rm -rf node_modules dist packages/*/node_modules packages/*/dist", "dev": "concurrently -k --kill-others-on-fail \"cd packages/client && yarn serve\" \"cd packages/server && yarn dev\"", "build": "cd packages/client && yarn build && cd ../server && yarn tsc", - "start": "node packages/server/dist/app.js" + "start": "node packages/server/dist/app.js", + "test": "jest --verbose" }, "workspaces": [ "packages/*" ], "devDependencies": { - "concurrently": "^6.2.0" + "@types/jest": "^26.0.23", + "concurrently": "^6.2.0", + "jest": "^27.0.6", + "ts-jest": "^27.0.3", + "typescript": "^4.3.5", + "client": "^1.0.0", + "server": "^1.0.0" } } -- cgit v1.2.3-18-g5258