-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.35 KB
/
package.json
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
{
"name": "eblog",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"argon2": "^0.30.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dompurify": "^3.0.2",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"jsdom": "^21.1.1",
"jsonwebtoken": "^9.0.0",
"mime": "^3.0.0",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.2.3",
"reflect-metadata": "^0.1.13",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"typeorm": "^0.3.15",
"zod": "^3.21.4"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.17",
"@types/dompurify": "^3.0.2",
"@types/dotenv": "^8.2.0",
"@types/jsdom": "^21.1.1",
"@types/jsonwebtoken": "^9.0.5",
"@types/multer": "^1.4.7",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"ts-node": "^10.9.1",
"tsx": "^3.12.6",
"typescript": "^5.0.4"
},
"scripts": {
"start": "node build/server.js",
"start:prod": "npx typeorm-ts-node-commonjs migration:run -d ./build/ormconfig.js && node build/server.js",
"build": "tsc",
"dev": "set NODE_ENV=dev&&tsx watch src/server.ts",
"migration:create": "typeorm migration:create",
"migration:run": "npx typeorm-ts-node-commonjs migration:run -d ./src/ormconfig.ts"
}
}