This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
91 lines (91 loc) · 3.33 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "vite-ts-react-ssr",
"version": "0.0.1",
"description": "Vite supercharged Typescript SSR template with react, MobX, SCSS auto types generation, eslint, prettier, dotenv and class-transformer",
"repository": {
"type": "git",
"url": "https://github.com/clicman/vite-ts-react-ssr.git"
},
"author": "Viktor Sidochenko",
"license": "MIT",
"scripts": {
"css": "tsm src --banner '// This file is autogenerated by tsm. Do not edit it!\n\n'",
"devCommand": "nodemon --watch src/server/server.ts --watch src/server --exec 'yarn ts-node -r tsconfig-paths/register src/server/server.ts'",
"dev": "concurrently --kill-others \"yarn css --watch\" \"yarn devCommand\"",
"build": "yarn css && tsc -p tsconfig.prod.json && tscpaths -p tsconfig.prod.json -s ./ -o ./dist && yarn build:client && yarn build:server && yarn copy-files",
"build:client": "vite build --mode production --outDir dist/client",
"build:server": "vite build --mode production --ssr src/server/entry-server.tsx --outDir dist/server",
"serve": "yarn clean && yarn build && cross-env NODE_ENV=production node dist/src/server/server.js",
"clean": "rimraf dist/",
"lint": "eslint '*/**/*.{js,jsx,ts,tsx}'",
"copy-files": "copyfiles src/assets/* dist/assets && copyfiles index.html dist"
},
"browserslist": [
"defaults"
],
"dependencies": {
"axios": "^0.21.4",
"axios-hooks": "^2.7.0",
"class-transformer": "^0.4.0",
"compression": "1.7.4",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"express": "4.17.1",
"lazysizes": "^5.3.2",
"mobx": "^6.3.3",
"mobx-react": "^7.2.0",
"node-cache": "^5.1.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.1.2",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"reflect-metadata": "^0.1.13",
"serve-static": "^1.14.1"
},
"devDependencies": {
"@types/compression": "1.7.2",
"@types/concurrently": "6.2.1",
"@types/dotenv": "^8.2.0",
"@types/eslint": "7.28.0",
"@types/express": "4.17.13",
"@types/node": "15.3.0",
"@types/node-cache": "^4.2.5",
"@types/react": "^17.0.24",
"@types/react-dom": "^17.0.9",
"@types/react-helmet-async": "^1.0.3",
"@types/react-router-dom": "^5.3.0",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"@vitejs/plugin-react-refresh": "^1.3.6",
"autoprefixer": "^10.3.5",
"concurrently": "^6.2.1",
"copyfiles": "^2.4.1",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.26.0",
"eslint-plugin-react-hooks": "^4.2.0",
"nodemon": "^2.0.12",
"postcss": "8.3.7",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"sass": "^1.42.1",
"ts-node": "^10.1.0",
"tsconfig-paths": "^3.11.0",
"tscpaths": "^0.0.9",
"typed-scss-modules": "^4.1.1",
"typescript": "4.4.3",
"vite": "2.5.10",
"vite-plugin-auto-css-modules": "^1.0.2",
"vite-plugin-legacy": "^2.1.0",
"vite-plugin-singlefile": "^0.5.1",
"webpack": "^5.53.0"
}
}