-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.67 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": "express_ts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"tsc:prod": "tsc -p tsconfig.prod.json",
"alias:prod": "tsc-alias -p tsconfig.prod.json",
"tsc:dev": "tsc -p tsconfig.json",
"alias:dev": "tsc-alias -p tsconfig.json",
"tsc:dev:watch": "tsc --watch -p tsconfig.json",
"alias:dev:watch": "tsc-alias --watch -p tsconfig.json",
"build:prod": "npm run tsc:prod && npm run alias:prod",
"build:dev": "npm run tsc:dev && npm run alias:dev",
"build:dev:watch": "npm-run-all --parallel tsc:dev:watch alias:dev:watch",
"start:prod": "cross-env NODE_ENV=production node -r dotenv/config ./prod/src/index.js",
"start:dev": "cross-env NODE_ENV=development node -r dotenv/config ./dev/src/index.js dotenv_config_path=.env.dev",
"start:dev:watch": "cross-env NODE_ENV=development nodemon -r dotenv/config ./dev/src/index.js dotenv_config_path=.env.dev",
"prod": "npm run build:prod && npm run start:prod",
"dev": "npm run build:dev && npm run start:dev",
"dev:watch": "npm-run-all --parallel tsc:dev:watch alias:dev:watch start:dev:watch",
"test": "vitest"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.15",
"@types/node": "^18.11.18",
"@types/supertest": "^2.0.12",
"cross-env": "^7.0.3",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"prisma": "^4.8.1",
"supertest": "^6.3.3",
"tsc-alias": "^1.8.2",
"typescript": "^4.9.4",
"vitest": "^0.26.3"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"zod": "^3.20.2"
}
}