-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.35 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.35 KB
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
{
"name": "event-calendar-backend",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "debug=* NODE_PATH=./src ts-node-dev --respawn ./src/index.ts",
"build": "rimraf dist && tsc",
"start": "NODE_PATH=./dist node ./dist/index.js",
"lint": "eslint --max-warnings 0 --ext .js,ts src",
"docker:dev": "docker-compose -f docker-compose.dev.yml up --build",
"docker:prod": "docker-compose --file docker-compose.yml up --build",
"migration:run": "ts-node ./node_modules/.bin/typeorm migration:run --config ./src/typeorm/config/ormconfig.ts",
"migration:revert": "APP_DB_PATH=localhost ts-node ./node_modules/.bin/typeorm migration:revert --config ./src/typeorm/config/ormconfig.ts",
"migration:generate": "APP_DB_PATH=localhost ts-node ./node_modules/.bin/typeorm migration:generate --pretty --config ./src/typeorm/config/ormconfig.ts -n ",
"migration:create": "APP_DB_PATH=localhost NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:create --config ./src/typeorm/config/ormconfig.ts -n "
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.1",
"multer": "^1.4.5-lts.1",
"pg": "^8.7.3",
"typeorm": "0.2.38"
},
"devDependencies": {
"@types/node": "^16.11.6",
"dotenv": "^10.0.0",
"eslint": "^8.2.0",
"nodemon": "^2.0.12",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.7.4"
}
}