-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.31 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "@hostconfig/https",
"version": "0.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"type": "module",
"readme": "https://github.com/hostconfig/https#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/hostconfig/https.git"
},
"packageManager": "yarn@1.22.19",
"engineStrict" : false,
"scripts": {
"build": "tsc -p ./tsconfig.json && tsc-alias && ts-add-js-extension --dir=dist",
"postbuild": "yarn copy:views",
"rebuild": "yarn clean && yarn build",
"postinstall": "yarn build",
"dbg": "DEBUG=https:* yarn dev",
"start": "yarn prod",
"restart": "yarn rebuild && yarn prod",
"dev": "NODE_ENV=development yarn serve",
"prod": "NODE_ENV=production yarn serve",
"serve": "node ./dist/index.js",
"clean": "rm -rvf ./dist",
"wipe": "yarn clean && rm -rvf ./node_modules",
"copy:views": "cp -rv ./views ./dist/views",
"start-watch": "NODE_ENV=production nodemon dist/index.js --inspect=0.0.0.0:9229",
"start-wait-debugger": "NODE_ENV=production nodemon dist/index.js --inspect-brk=0.0.0.0:9229",
"test": "cross-env NODE_ENV=test PORT=8081 mocha --timeout 10000 --exit --inspect=0.0.0.0:9230",
"test-watch": "nodemon --exec \"yarn test\"",
"test-wait-debugger": "cross-env NODE_ENV=test PORT=8081 mocha --no-timeouts --exit --inspect-brk=0.0.0.0:9230",
"gen:ssl": "./generate.sh"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.6",
"@types/debug": "^4.1.12",
"@types/express": "^4.17.21",
"@types/mocha": "^10.0.6",
"@types/morgan": "^1.9.9",
"@types/node": "^20.10.5",
"chai": "^4.3.10",
"chai-http": "^4.4.0",
"cross-env": "^7.0.3",
"mocha": "^10.2.0",
"nodemon": "^3.0.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@hostconfig/app": "https://github.com/hostconfig/app",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"debug": "^4.3.4",
"express": "^4.18.2",
"express-validator": "^7.0.1",
"http-errors": "^2.0.0",
"https": "^1.0.0",
"morgan": "^1.10.0",
"pug": "^3.0.2",
"rimraf": "^5.0.5",
"ts-add-js-extension": "^1.6.0",
"tsc-alias": "^1.8.8"
},
"files": [
"dist/**",
"!dist/**/*.map",
"!dist/**/*.spec.*"
],
"exports": {
".": "./dist/index.js"
},
"types": "./dist/index.d.ts"
}