-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 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
{
"name": "FinanceAPI",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/michaelchierici/FinanceAPI.git",
"author": "Michael Chierici <michael.chierici@deway.com.br>",
"license": "MIT",
"devDependencies": {
"@types/config": "^3.3.0",
"@types/express": "^4.17.17",
"@types/node": "^16.11.10",
"ts-node": "10.7.0",
"ts-node-dev": "^2.0.0",
"typescript": "4.5.2"
},
"dependencies": {
"card-number-generator": "^0.0.2",
"config": "^3.3.9",
"dotenv": "^16.3.1",
"envalid": "^7.3.1",
"express": "^4.17.2",
"express-async-errors": "^3.1.1",
"pg": "^8.4.0",
"reflect-metadata": "^0.1.13",
"typeorm": "0.3.17"
},
"scripts": {
"start": "ts-node-dev --respawn --transpile-only --exit-child src/index.ts",
"build": "tsc",
"typeorm": "typeorm-ts-node-commonjs -d src/utils/data-source.ts",
"migration:generate": "./node_modules/.bin/ts-node ./node_modules/.bin/typeorm migration:generate -d src/utils/data-source.ts",
"migration:up": "./node_modules/.bin/ts-node ./node_modules/.bin/typeorm migration:run -d ./ormconfig.ts",
"migration:down": "./node_modules/.bin/ts-node ./node_modules/.bin/typeorm migration:revert -d ./ormconfig.ts"
}
}