2019-03-28 20:58:55 +08:00
|
|
|
{
|
2019-07-06 18:39:32 +08:00
|
|
|
"name": "webserver",
|
2021-10-26 11:05:58 +08:00
|
|
|
"version": "3.1.0",
|
2019-03-28 20:58:55 +08:00
|
|
|
"private": true,
|
2019-05-27 23:12:30 +08:00
|
|
|
"scripts": {
|
2021-10-04 13:28:23 +08:00
|
|
|
"build": "tsc -p tsconfig.build.json",
|
|
|
|
|
"test": "jest --colors test/*.ts",
|
2019-05-27 23:12:30 +08:00
|
|
|
"newman": "newman run test/renderstreaming.postman_collection.json",
|
|
|
|
|
"start": "node ./build/index.js",
|
|
|
|
|
"dev": "ts-node ./src/index.ts",
|
2020-04-13 11:05:59 +08:00
|
|
|
"lint": "eslint src/**/*.ts test/**/*.ts",
|
2019-05-27 23:12:30 +08:00
|
|
|
"pack": "pkg ."
|
|
|
|
|
},
|
2019-03-28 20:58:55 +08:00
|
|
|
"dependencies": {
|
2021-10-04 13:28:23 +08:00
|
|
|
"@types/express": "^4.17.13",
|
2022-09-07 08:57:53 +08:00
|
|
|
"@types/node": "^18.7.15",
|
2022-06-14 19:01:59 +08:00
|
|
|
"@types/ws": "^8.5.3",
|
|
|
|
|
"debug": "~4.3.4",
|
|
|
|
|
"express": "~4.18.1",
|
2020-12-18 17:44:16 +08:00
|
|
|
"morgan": "^1.10.0",
|
2022-09-07 08:57:53 +08:00
|
|
|
"uuid": "^9.0.0",
|
|
|
|
|
"ws": "^8.8.1"
|
2019-05-27 23:12:30 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2022-09-07 08:57:53 +08:00
|
|
|
"@jest-mock/express": "^2.0.1",
|
|
|
|
|
"@types/jest": "^29.0.0",
|
2021-10-04 13:28:23 +08:00
|
|
|
"@types/morgan": "^1.9.3",
|
2022-09-07 08:57:53 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
|
|
|
|
"@typescript-eslint/parser": "^5.36.2",
|
|
|
|
|
"eslint": "^8.23.0",
|
|
|
|
|
"eslint-plugin-jest": "^27.0.1",
|
|
|
|
|
"jest": "^29.0.2",
|
|
|
|
|
"jest-websocket-mock": "^2.4.0",
|
2022-06-14 19:01:59 +08:00
|
|
|
"mock-socket": "^9.1.5",
|
|
|
|
|
"newman": "^5.3.2",
|
2022-09-07 08:57:53 +08:00
|
|
|
"pkg": "^5.8.0",
|
|
|
|
|
"ts-jest": "^28.0.8",
|
|
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
|
"typescript": "^4.8.2"
|
2019-05-27 23:12:30 +08:00
|
|
|
},
|
2021-02-18 14:11:08 +08:00
|
|
|
"bin": {
|
|
|
|
|
"webserver": "build/index.js"
|
|
|
|
|
},
|
2019-05-27 23:12:30 +08:00
|
|
|
"pkg": {
|
|
|
|
|
"assets": [
|
2022-11-01 09:53:57 +08:00
|
|
|
"client/public/**/*",
|
|
|
|
|
"client/src/**/*"
|
2019-05-27 23:12:30 +08:00
|
|
|
],
|
|
|
|
|
"targets": [
|
|
|
|
|
"node10"
|
|
|
|
|
]
|
2019-03-28 20:58:55 +08:00
|
|
|
}
|
|
|
|
|
}
|