-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.53 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
{
"name": "music-app-api",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"argon2": "^0.30.3",
"class-transformer": "^0.5.1",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"joi": "^17.7.1",
"jsonwebtoken": "^9.0.0",
"mime": "^3.0.0",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.2.0",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.6.2",
"typeorm": "^0.3.12"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.13",
"@types/jsonwebtoken": "^9.0.1",
"@types/multer": "^1.4.7",
"@types/swagger-ui-express": "^4.1.3",
"ts-node": "^10.9.1",
"tsx": "^3.12.3",
"typescript": "^4.9.5"
},
"scripts": {
"dev": "set NODE_ENV=dev&&tsx src/server.ts",
"watch": "set NODE_ENV=dev&&tsx watch src/server.ts",
"migration:create": "set NODE_ENV=dev&& node --require ts-node/register ./node_modules/typeorm/cli.js migration:create",
"migration:run": "set NODE_ENV=dev&& npx typeorm-ts-node-commonjs migration:run -d ./build/ormconfig.js",
"migration:revert": "set NODE_ENV=dev&&node --require ts-node/register ./node_modules/typeorm/cli.js migration:revert",
"migrate:start:prod": "set NODE_ENV=dev&& npx typeorm-ts-node-commonjs migration:run -d ./build/ormconfig.js && node ./build/server.js",
"build": "set NODE_ENV=production&& tsc --target ES2020 --experimentalDecorators --emitDecoratorMetadata"
}
}