Added backend tests and npm test to Dockerfile
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"debug-client": "tsc-watch --project ./public/js-source",
|
||||
"debug-server": "tsc-watch --project . --onSuccess \"node --enable-source-maps --use-openssl-ca --unhandled-rejections=strict ./out/index\"",
|
||||
"debug": "concurrently npm:debug-*",
|
||||
"test": "nyc mocha -r ts-node/register ./public/js-source/test/**/*.ts",
|
||||
"test": "nyc mocha -r ts-node/register ./public/js-source/test/**/*.ts ./test/**/*.ts",
|
||||
"build": "tsc",
|
||||
"production": "node --use-openssl-ca --unhandled-rejections=strict ./out/index",
|
||||
"install-debug": "npm install && npm run build",
|
||||
@@ -25,16 +25,20 @@
|
||||
"node-sass-middleware": "0.11.0",
|
||||
"pkg-express-utils": "git+https://git.biotronik.int/scm/coe-bs-website/node-pkg-express-utils.git",
|
||||
"pug": "^3.0.0",
|
||||
"role-acl": "^4.5.4"
|
||||
"role-acl": "^4.5.4",
|
||||
"supertest": "^6.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.2.14",
|
||||
"@types/compression": "^1.7.0",
|
||||
"@types/express": "^4.17.8",
|
||||
"@types/http-errors": "^1.8.0",
|
||||
"@types/jsdom": "^16.2.5",
|
||||
"@types/mocha": "^8.0.4",
|
||||
"@types/node": "^14.14.7",
|
||||
"@types/node-sass-middleware": "0.0.31",
|
||||
"@types/rewire": "^2.5.28",
|
||||
"@types/supertest": "^2.0.10",
|
||||
"@typescript-eslint/eslint-plugin": "^4.7.0",
|
||||
"@typescript-eslint/parser": "^4.7.0",
|
||||
"chai": "^4.2.0",
|
||||
|
||||
Reference in New Issue
Block a user