-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.61 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.61 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "safesend",
"description": "Let's kill spams once for all.",
"version": "0.0.0",
"license": "SEE LICENSE",
"engines": {
"node": ">=22.16.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"private": true,
"keywords": [
"whook"
],
"author": {
"name": "Enigma Students",
"email": "contact@enigma-school.com"
},
"scripts": {
"apitypes": "npm run --silent whook -- generateOpenAPISchema --authenticated=true | npm run --silent whook -- generateOpenAPITypes > src/openAPISchema.d.ts",
"architecture": "jsarch 'src/**/*.ts' > ARCHITECTURE.md && git add ARCHITECTURE.md",
"build": "rimraf 'dist' && tsc --outDir dist",
"cover": "node --run jest -- --coverage",
"debug": "NODE_OPTIONS=${NODE_OPTIONS:-'--inspect'} NODE_ENV=${NODE_ENV:-development} DEV_MODE=1 DESTROY_SOCKETS=1 DEBUG=${DEBUG:-whook} tsx bin/whook.js",
"dev": "NODE_ENV=${NODE_ENV:-development} DEV_MODE=1 DESTROY_SOCKETS=1 tsx src/run.js",
"format": "node --run prettier",
"jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
"lint": "eslint 'src/**/*.ts'",
"postbuild": "NODE_ENV=${NODE_ENV:-development} tsx src/runBuild.js",
"prettier": "prettier --write 'src/**/*.ts'",
"rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
"repl": "NODE_ENV=${NODE_ENV:-development} tsx src/run.js -- __inject repl",
"start": "NODE_ENV=${NODE_ENV:-development} node dist/run.js",
"test": "NODE_ENV=test npm run build && node --run jest && node --run jest",
"watch": "NODE_ENV=${NODE_ENV:-development} DEV_MODE=1 DESTROY_SOCKETS=1 tsx src/runWatch.js",
"whook": "NODE_ENV=${NODE_ENV:-development} whook"
},
"files": [
"bin",
"dist",
"src",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"dependencies": {
"@types/smtp-server": "^3.5.12",
"@whook/authorization": "^20.1.2",
"@whook/cors": "^20.1.2",
"@whook/swagger-ui": "^20.1.2",
"@whook/whook": "^20.1.2",
"application-services": "^7.0.4",
"common-services": "^17.1.2",
"http-auth-utils": "^6.0.1",
"jwt-service": "^11.0.3",
"knifecycle": "^19.1.3",
"nodemailer": "^7.0.11",
"postal-mime": "^2.6.1",
"smtp-server": "^3.16.1",
"strict-qs": "^8.0.3",
"type-fest": "^5.3.0",
"ya-json-schema-types": "^1.0.1",
"ya-open-api-types": "1.2.2",
"yerror": "^8.0.0",
"yhttperror": "^8.1.0"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@swc/cli": "^0.7.8",
"@swc/core": "^1.12.11",
"@swc/helpers": "^0.5.17",
"@swc/jest": "^0.2.39",
"axios": "^1.12.2",
"esbuild-node-externals": "^1.15.0",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-prettier": "^5.5.1",
"jest": "^30.0.4",
"jsarch": "^6.2.1",
"prettier": "^3.7.4",
"rimraf": "^6.0.1",
"schema2dts": "^8.1.1",
"streamtest": "^3.0.1",
"tsx": "^4.21.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.48.1"
},
"prettier": {
"semi": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "always"
},
"jest": {
"coverageReporters": [
"lcov",
"html"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"roots": [
"<rootDir>/src"
],
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
{}
]
},
"moduleNameMapper": {
"#(.*)": "<rootDir>/../../node_modules/$1",
"(.+)\\.js": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
],
"prettierPath": null
}
}