-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.71 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
{
"name": "resume",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"prepare": "husky install",
"dev": "VITE_COMMIT_REF=$(git show -s --format=%h) vite --host",
"fix-styled-components-in-pre-render": "sed -E -i 's/import ([a-zA-Z_]+),(.+)from\"styled-components\";/import \\1fixed,\\2from\"styled-components\";const \\1 = \\1fixed.default;/g' dist/server/server-render.js",
"build": "export VITE_COMMIT_REF=$(git show -s --format=%h) && vite build --outDir dist/static && vite build --ssr src/server-render.tsx --outDir dist/server && pnpm fix-styled-components-in-pre-render && node prerender.js",
"prebuild": "rm -rf dist/static",
"preview": "vite preview",
"lint": "eslint -c .eslintrc.json --ext .ts,.tsx ./src"
},
"dependencies": {
"@vitejs/plugin-react-swc": "^3.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-feather": "^2.0.10",
"styled-components": "5.3.9",
"use-debounce": "^9.0.3"
},
"devDependencies": {
"@types/debounce": "^1.2.1",
"@types/react": "^18.0.29",
"@types/react-dom": "^18.0.11",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-v3xlabs": "^1.6.0",
"husky": "^8.0.3",
"prettier": "^2.8.7",
"typescript": "^5.0.2",
"vite": "^4.2.1",
"vite-plugin-compression": "^0.5.1"
},
"packageManager": "[email protected]+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c"
}