-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.76 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "api-products",
"version": "1.0.0",
"description": "",
"main": "src/index.js",
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.4.1",
"express": "^4.18.2",
"pg": "^8.11.3",
"pg-hstore": "^2.3.4",
"reflect-metadata": "^0.2.1",
"sequelize": "^6.36.0",
"sequelize-typescript": "^2.1.6",
"typescript": "^5.3.3",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.11.16",
"ts-node": "^10.9.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc",
"start": "node dist/src/index.js",
"dev": "nodemon src/index.ts",
"format": "prettier --write . --ignore-path .gitignore",
"lint": "eslint . --ignore-path .gitignore",
"format-lint": "npm run format && npm run lint -- --fix",
"prepare": "husky install",
"db-migrate": "sequelize-cli db:migrate",
"db-migration-undo": "sequelize-cli db:migrate:undo:all",
"make-seed": "npx sequelize-cli seed:generate --name demo-user",
"create-seeds": "npx sequelize-cli db:seed:all"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npm run lint"
],
"*.tsx": [
"npm run format-lint"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^9.0.10",
"lint-staged": "13.0.2",
"nodemon": "^3.0.3",
"prettier": "^3.2.5",
"sequelize-cli": "^6.6.2"
}
}