-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
37 lines (37 loc) · 1.14 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
{
"name": "express-fsd-2024",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./dist/server.js",
"dev": "nodemon ./src/server.ts",
"build": "tsc",
"db:migrate": "typeorm-ts-node-commonjs migration:run -d ./src/database/db.ts",
"revert:migrations": "typeorm-ts-node-commonjs migration:revert -d ./src/database/db.ts",
"db:drop": "npx typeorm-ts-node-commonjs schema:drop -d ./src/database/db.ts",
"db:seed": "npx ts-node ./src/database/seeders/dbSeeder.ts",
"db:refresh": "npm run db:drop && npm run db:migrate && npm run db:seed"
},
"author": "datata",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.1.1",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2",
"mysql2": "^3.10.2",
"reflect-metadata": "^0.2.2",
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.14.9",
"nodemon": "^3.1.4",
"ts-node": "^10.9.2",
"typescript": "^5.5.2"
}
}