change scripts from "watch" to "dev"

This commit is contained in:
wancat committed 2024-02-19 18:05:01 +08:00
1 parent 9dc0b43737
commit 075e21fb89
6 files changed
+15 -6

No files matched your search

-1
View File
@@ -7,7 +7,6 @@
"dev": "vite", "dev": "vite",
"dev:docker": "API_TARGET=http://backend:3000 vite", "dev:docker": "API_TARGET=http://backend:3000 vite",
"build": "vite build", "build": "vite build",
"watch": "yarn dev",
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
-1
View File
@@ -8,7 +8,6 @@
"scripts": { "scripts": {
"start": "node src/index.js", "start": "node src/index.js",
"build": "tsc", "build": "tsc",
"watch": "tsc -w",
"dev": "nodemon src/index.js" "dev": "nodemon src/index.js"
}, },
"dependencies": { "dependencies": {
+1 -1
View File
@@ -9,6 +9,6 @@
"license": "GPL", "license": "GPL",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"watch": "tsc -w" "dev": "tsc -w"
} }
} }
+1 -1
View File
@@ -8,7 +8,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"watch": "tsc -w", "dev": "tsc -w",
"test": "yarn build && jest" "test": "yarn build && jest"
} }
} }
+12
View File
@@ -0,0 +1,12 @@
{
"name": "@linux-odyssey/game",
"type": "module",
"packageManager": "yarn@4.1.0",
"scripts": {
"build": "tsc",
"dev": "tsc -w"
},
"dependencies": {
"@linux-odyssey/models": "workspace:^"
}
}
+1 -2
View File
@@ -5,11 +5,10 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"start": "node dist/index.js", "start": "node dist/index.js",
"dev": "nodemon",
"setup": "node dist/cli/setup.js", "setup": "node dist/cli/setup.js",
"clean": "node dist/cli/clean.js", "clean": "node dist/cli/clean.js",
"build": "tsc", "build": "tsc",
"watch": "concurrently \"tsc -w\" \"nodemon\"", "dev": "concurrently \"tsc -w\" \"nodemon\"",
"build:quests": "node dist/cli/build.js" "build:quests": "node dist/cli/build.js"
}, },
"dependencies": { "dependencies": {