-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.87 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
{
"name": "taujs",
"license": "MIT",
"private": true,
"version": "0.0.8",
"type": "module",
"scripts": {
"dev": "NODE_ENV=development tsx watch --ignore vite.config.ts --trace-warnings --tsconfig ./src/server/tsconfig.json ./src/server/index.ts --loglevel verbose",
"build": "yarn build:client && yarn build:entry-server && yarn build:shared && yarn build:server && yarn build:server:rollup",
"build:client": "vite build",
"build:entry-server": "BUILD_MODE=ssr vite build",
"build:shared": "esbuild `find src/shared \\( -name '*.ts' -o -name '*.tsx' \\) ! -name '*.d.ts'` --bundle --platform=node --format=esm --external:@client/* --tree-shaking=true --splitting=true --outdir=dist/shared --minify",
"build:server": "esbuild ./src/server/index.ts --bundle --platform=node --format=esm --packages=external --external:@client/* --tree-shaking=true --splitting=true --outdir=dist/server --minify",
"build:server:rollup": "rollup -c rollup.server.js",
"build:server:analyse": "esbuild ./src/server/index.ts --bundle --platform=node --format=esm --external:@client/* --tree-shaking=true --splitting=true --outdir=dist/ --analyze",
"start": "NODE_ENV=production node --trace-warnings --experimental-specifier-resolution=node dist/server/index.js"
},
"dependencies": {
"@fastify/compress": "7.0.3",
"@taujs/server": "^0.1.3",
"fastify": "4.28.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.27.0",
"vite": "^5.4.7"
},
"devDependencies": {
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"fastify-tsconfig": "^2.0.0",
"sass": "^1.80.5",
"tsx": "^4.16.2",
"typescript": "^5.5.4",
"vite-plugin-node-polyfills": "^0.22.0"
}
}