generated from fabalexsie/WebAppStarterTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.38 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
{
"name": "virtucard-backend",
"version": "1.0.0",
"description": "",
"main": "src/server.ts",
"scripts": {
"start": "concurrently -n \"server, react\" \"npm:server\" \"npm:frontend\"",
"server": "ts-node-dev src/server.ts",
"frontend": "node scripts/start-frontend.js",
"production": "ts-node src/server.ts",
"prepare": "husky install",
"lint": "eslint src frontend/src --fix",
"format": "prettier src --write \"src/**/*.{js,ts,json,md}\" --config ./.prettierrc"
},
"author": "Fabian",
"license": "ISC",
"dependencies": {
"clsx": "^2.0.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"human-id": "^4.1.0"
},
"devDependencies": {
"@types/express": "^4.17.20",
"@types/node": "^20.8.8",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"concurrently": "^8.2.2",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"ts-node-dev": "^2.0.0",
"typescript": "^5.2.2"
},
"lint-staged": {
"src/**/*.{js,ts,json,md}": [
"prettier --write",
"eslint src --fix"
],
"frontend/src/**/*.{js,jsx,ts,tsx,json}": [
"prettier --write",
"node scripts/abort-if-console-log-used.js",
"eslint src --fix"
],
"css,scss,md": [
"prettier --write"
]
}
}