-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.57 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
43
44
45
{
"scripts": {
"start": "nodemon",
"clean": "rm -rf build",
"compile": "tsc -p tsconfig.json",
"build": "npm run clean && npm run compile",
"serve": "ts-node ./src/server.ts",
"db:sync": "ts-node node_modules/typeorm/cli.js migration:generate -p ./src/db/migrations/sync --dataSource ./src/db/data-source.ts",
"db:migrate:up": "ts-node node_modules/typeorm/cli.js migration:run --dataSource ./src/db/data-source.ts",
"db:migrate:down": "ts-node node_modules/typeorm/cli.js migration:revert --dataSource ./src/db/data-source.ts",
"db:seed": "ts-node ./src/db/seeds/index.ts",
"lint": "eslint . -c .eslintrc.js --ext .ts --ignore-path .eslintignore",
"lint:fix": "eslint . -c .eslintrc.js --ext .ts --ignore-path .eslintignore --fix"
},
"dependencies": {
"config": "^3.3.7",
"cors": "^2.8.5",
"dayjs": "^1.11.2",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"http-status-codes": "^2.2.0",
"jsonwebtoken": "^9.0.0",
"nodemon": "^2.0.16",
"pg": "^8.7.3",
"reflect-metadata": "^0.1.13",
"socket.io": "^4.5.1",
"typeorm": "^0.3.6",
"uuid": "^8.3.2",
"validator": "^13.7.0",
"yup": "^0.32.11"
},
"devDependencies": {
"@faker-js/faker": "^7.3.0",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.13",
"@types/jsonwebtoken": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"eslint": "^8.15.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.4"
}
}