-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.36 KB
/
Copy pathpackage.json
File metadata and controls
38 lines (38 loc) · 1.36 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
35
36
37
38
{
"name": "typeorm",
"version": "1.0.0",
"description": "typeorm service",
"main": "index.js",
"license": "MIT",
"dependencies": {
"axios": "^0.26.1",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"pg": "^8.12.0",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.3.20"
},
"scripts": {
"build": "rimraf build && tsc -p tsconfig.json",
"start": "NODE_ENV=test nodemon src/api.ts",
"typeorm": "typeorm-ts-node-commonjs",
"migration:generate": "NODE_ENV=development typeorm-ts-node-commonjs migration:generate -d src/config/orm.config.ts",
"migration:run": "NODE_ENV=development typeorm-ts-node-commonjs migration:run -d src/config/orm.config.ts",
"migration:revert": "NODE_ENV=development typeorm-ts-node-commonjs migration:revert -d src/config/orm.config.ts",
"start-postgress": "docker-compose up -d",
"setup": "mkdir -p primary/data && mkdir -p replica/data && chmod +x replica/replica-entrypoint.sh && chmod +x primary/init-replication.sh",
"clean": "docker compose down && rm -rf primary/data && rm -rf replica/data"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/jest": "^27.0.2",
"@types/node": "^16.9.1",
"jest": "^27.1.1",
"nodemon": "^2.0.12",
"ts-jest": "^27.0.7",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
"typescript": "^4.4.3"
}
}