60 lines
2.2 KiB
JSON
60 lines
2.2 KiB
JSON
{
|
|
"name": "template-nodejs-express",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint . --ext .ts",
|
|
"lint-fix": "eslint . --ext .ts --fix",
|
|
"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/**/*.ts",
|
|
"build": "tsc",
|
|
"production": "node --use-openssl-ca --unhandled-rejections=strict ./out/index",
|
|
"install-debug": "npm install && npm run build",
|
|
"install-prod": "npm install --only=dev && npm install --only=prod && npm run build && npm test && npm run del-node-module && npm install --only=prod",
|
|
"del-node-module:default": "rm -r node_modules",
|
|
"del-node-module:windows": "if exist node_modules rmdir /Q/S node_modules",
|
|
"del-node-module": "run-script-os"
|
|
},
|
|
"dependencies": {
|
|
"compression": "^1.7.4",
|
|
"cookie-parser": "~1.4.4",
|
|
"express": "~4.16.1",
|
|
"http-errors": "~1.6.3",
|
|
"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",
|
|
"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",
|
|
"concurrently": "^5.3.0",
|
|
"eslint": "^7.13.0",
|
|
"eslint-plugin-no-null": "^1.0.2",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"fetch-mock": "^9.10.7",
|
|
"jsdom": "^16.4.0",
|
|
"mocha": "^8.2.1",
|
|
"node-watch": "^0.7.0",
|
|
"nyc": "^15.1.0",
|
|
"rewire": "^5.0.0",
|
|
"ts-node": "^9.0.0",
|
|
"tsc-watch": "^4.2.9",
|
|
"typescript": "^4.0.5"
|
|
}
|
|
}
|