-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.28 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
{
"name": "typescript-template",
"version": "0.0.1",
"description": "Typescript template",
"type": "commonjs",
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.14",
"@types/node": "^16.18.3",
"jest": "^29.3.1",
"ts-node": "10.7.0",
"ts-node-dev": "^2.0.0",
"typescript": "4.5.2"
},
"dependencies": {
"axios": "^1.1.3",
"body-parser": "^1.19.1",
"class-validator": "^0.13.2",
"envalid": "^7.3.1",
"express": "^4.17.2",
"pg": "^8.8.0",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.3.10"
},
"scripts": {
"start": "ts-node src/server.ts",
"start:dev": "ts-node-dev src/server.ts",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "jest",
"migration:generate": "ts-node --transpile-only ./node_modules/typeorm/cli.js migration:generate -d src/database/dataSource.ts",
"migration:up": "ts-node --transpile-only ./node_modules/typeorm/cli.js migration:run -d src/database/dataSource.ts",
"migration:down": "ts-node --transpile-only ./node_modules/typeorm/cli.js migration:revert -d src/database/dataSource.ts",
"seed:run": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed",
"seed:config": "ts-node ./node_modules/typeorm-seeding/dist/cli.js config"
}
}