-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.89 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
{
"name": "palm-and-vine",
"private": true,
"version": "0.0.0",
"homepage": "https://naturalstrings.github.io/palm-and-vine",
"type": "module",
"scripts": {
"start": "NODE_ENV=production node ./distServer/server/index.js",
"dev": "run-p --race dev:backend dev:frontend",
"dev:backend": "tsc --project tsconfig.node.json --noEmit && tsx watch --clear-screen=false ./server/index.ts",
"dev:frontend": "run-s sleep5s vite",
"sleep5s": "node -e \"setTimeout(() => process.exit(0), 5000)\"",
"vite": "vite",
"build": "run-p build:backend build:frontend",
"build:backend": "tsc --project tsconfig.node.prod.json",
"build:frontend": "run-s compile-frontend vite-build",
"compile-frontend": "tsc --noEmit",
"vite-build": "vite build",
"clean": "run-p clean:frontend clean:backend",
"clean:frontend": "rm -rf dist",
"clean:backend": "rm -rf distServer",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview --host localhost --port 4173"
},
"dependencies": {
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"dotenv": "^16.4.4",
"express": "^4.18.2",
"pg": "^8.11.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.20.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.21",
"@types/node": "^20.11.5",
"@types/pg": "^8.10.9",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/plugin-react": "^4.2.0",
"eslint": "^8.53.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"npm-run-all": "^4.1.5",
"tsx": "^4.7.0",
"typescript": "^5.2.2",
"vite": "^5.0.0"
}
}