-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
38 lines (38 loc) · 1.12 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
{
"name": "sendight-backend",
"version": "1.0.0",
"main": "dist/app.js",
"repository": "https://github.com/thephilomaths/sendight-backend.git",
"license": "MIT",
"scripts": {
"start": "tsc && node dist/app.js",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"lint": "eslint . --ext .ts",
"lint-and-fix": "eslint . --ext .ts --fix",
"build": "cd src/db && npx sequelize-cli db:migrate && npx sequelize-cli db:seed:all && mv db_dev.sqlite ../../ && cd ../.. && tsc"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier-format && npm run lint"
}
},
"devDependencies": {
"@types/express": "^4.17.11",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "4",
"prettier": "^2.2.1",
"typescript": "^4.2.4"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.1",
"sequelize": "^6.6.2",
"socket.io": "^4.0.1",
"sqlite3": "^5.0.2",
"sequelize-cli": "^6.2.0"
}
}