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:docker": "API_TARGET=http://backend:3000 vite",
"build": "vite build",
"watch": "yarn dev",
"preview": "vite preview"
},
"dependencies": {
-1
View File
@@ -8,7 +8,6 @@
"scripts": {
"start": "node src/index.js",
"build": "tsc",
"watch": "tsc -w",
"dev": "nodemon src/index.js"
},
"dependencies": {
+1 -1
View File
@@ -9,6 +9,6 @@
"license": "GPL",
"scripts": {
"build": "tsc",
"watch": "tsc -w"
"dev": "tsc -w"
}
}
+1 -1
View File
@@ -8,7 +8,7 @@
"license": "MIT",
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"dev": "tsc -w",
"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",
"scripts": {
"start": "node dist/index.js",
"dev": "nodemon",
"setup": "node dist/cli/setup.js",
"clean": "node dist/cli/clean.js",
"build": "tsc",
"watch": "concurrently \"tsc -w\" \"nodemon\"",
"dev": "concurrently \"tsc -w\" \"nodemon\"",
"build:quests": "node dist/cli/build.js"
},
"dependencies": {