diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-06 21:30:23 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-06 21:30:23 +0200 |
commit | 7e645f4411bc0b04b909e4534a3c4baaca456629 (patch) | |
tree | 49067124278c5347c72a9f7c831b44f56c3c951b /package.json | |
parent | 79e9323e92437a3ae564a2bb6ebffe4bc2b21bb3 (diff) |
Added tests
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 11 |
1 files changed, 9 insertions, 2 deletions
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" } } |