-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (56 loc) · 2 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
48
49
50
51
52
53
54
55
56
57
{
"name": "matheus-desafio-fullstack",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/Matheusvic112/matheus-Desafio-Fullstack.git",
"author": "Matheus Vicente <[email protected]>",
"license": "MIT",
"scripts": {
"dev": "ts-node-dev src/server.ts",
"typeorm": "typeorm-ts-node-commonjs",
"drop": "psql -U mathe -d mathe -c \"DROP DATABASE db_api2\" \"exit\"",
"new": "psql -U mathe -d mathe -c \"CREATE DATABASE db_api2\" \"exit\"",
"migration:generate": "typeorm-ts-node-commonjs migration:generate src/migrations/initial -d ./src/data-source.ts",
"migration:run": "typeorm-ts-node-commonjs migration:run -d ./src/data-source.ts",
"build": "tsc ",
"start": "node dist/server.js",
"migration:prod": "yarn typeorm migration:run -d dist/data-source"
},
"dependencies": {
"@types/bcrypt": "^5.0.0",
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.1",
"@types/node": "^18.15.5",
"@types/pg": "^8.6.6",
"@types/pg-format": "^1.0.2",
"@types/uuid": "^9.0.1",
"@types/yup": "^0.32.0",
"bcrypt": "^5.1.0",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"jsonwebtoken": "^9.0.0",
"pg": "^8.10.0",
"pg-format": "^1.0.4",
"ts-node-dev": "^2.0.0",
"typeorm": "0.3.7",
"typeorm-cli": "^1.0.7",
"typescript": "^5.0.2",
"uuid": "^9.0.0",
"yup": "^1.0.2",
"@types/cors": "^2.8.13"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.1",
"@types/node": "^18.15.5",
"@types/pg": "^8.6.6",
"@types/pg-format": "^1.0.2",
"ts-node-dev": "^2.0.0",
"typeorm-cli": "^1.0.7",
"typescript": "^5.0.2"
}
}