add separate install scripts for each package

This commit is contained in:
Nathaniel Tampus
2023-07-27 18:07:01 +08:00
parent 2aea4af121
commit efc2492275
2 changed files with 2 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"separate-install": "pnpm -w separate-install:client",
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",

View File

@@ -4,6 +4,7 @@
"main": "./dist/server.js", "main": "./dist/server.js",
"type": "module", "type": "module",
"scripts": { "scripts": {
"separate-install": "pnpm -w separate-install:server",
"start": "node ./dist/server.js", "start": "node ./dist/server.js",
"build": "tsc", "build": "tsc",
"dev": "tsc-watch --noClear --onSuccess \"node ./dist/server.js\"" "dev": "tsc-watch --noClear --onSuccess \"node ./dist/server.js\""