-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.23 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
{
"name": "typeorm",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@types/config": "^3.3.4",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/morgan": "^1.9.9",
"@types/node": "^16.11.10",
"ts-node": "10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "4.5.2"
},
"dependencies": {
"body-parser": "^1.19.1",
"config": "^3.3.11",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"envalid": "^8.0.0",
"express": "^4.17.2",
"firebase-admin": "^12.0.0",
"morgan": "^1.10.0",
"pg": "^8.4.0",
"reflect-metadata": "^0.1.13",
"typeorm": "0.3.20",
"zod": "^3.22.4"
},
"scripts": {
"start": "ts-node-dev --respawn --transpile-only --exit-child src/app.ts",
"build": "tsc -p .",
"typeorm": "typeorm-ts-node-commonjs",
"migrate": "rm -rf build && yarn build && yarn typeorm migration:generate ./src/migrations/added-entity -d ./src/utils/data-source.ts",
"db:push": "rm -rf build && yarn build && yarn typeorm migration:run -d src/utils/data-source.ts",
"schema:drop": "typeorm-ts-node-commonjs schema:drop -d ./src/utils/data-source.ts"
}
}