-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
49 lines (49 loc) · 1.34 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
{
"name": "webapp-starter-template",
"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": {
"dotenv": "^16.4.3",
"eslint-config-prettier": "^9.1.0",
"express": "^4.18.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"husky": "^9.0.10",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3"
},
"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"
]
}
}