Minor changes to running in dev mode.

This commit is contained in:
Greg L
2023-12-05 18:05:38 -05:00
parent 0ad9b9ae3d
commit 53c330a53b
4 changed files with 8 additions and 4 deletions
+3 -2
View File
@@ -6,7 +6,8 @@
"types": "dist/src/index.d.ts", "types": "dist/src/index.d.ts",
"scripts": { "scripts": {
"build": "tsc && gulp", "build": "tsc && gulp",
"dev": "tsc --watch", "dev:gulp": "gulp",
"dev": "tsc-watch --noClear -p ./tsconfig.json --onSuccess \"pnpm dev:gulp\"",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"clean": "rimraf dist", "clean": "rimraf dist",
"nuke": "rimraf dist node_modules" "nuke": "rimraf dist node_modules"
@@ -103,8 +104,8 @@
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"rimraf": "^5.0.5", "rimraf": "^5.0.5",
"tsc-watch": "^6.0.4",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"tsup": "^8.0.1",
"typescript": "^4.8.4" "typescript": "^4.8.4"
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"ignore": ["**/*.spec.ts", ".git", "node_modules"], "ignore": ["**/*.spec.ts", ".git", "node_modules"],
"watch": ["commands", "index.ts", "src", "../components/nodes", "../components/src"], "watch": ["commands", "index.ts", "src", "../components/nodes", "../components/src"],
"exec": "npm start", "exec": "pnpm start",
"ext": "ts" "ext": "ts"
} }
+1 -1
View File
@@ -26,7 +26,7 @@
"nuke": "rimraf dist node_modules", "nuke": "rimraf dist node_modules",
"start:windows": "cd bin && run start", "start:windows": "cd bin && run start",
"start:default": "cd bin && ./run start", "start:default": "cd bin && ./run start",
"dev": "tsc-watch --noClear -p ./tsconfig.json", "dev": "tsc-watch --noClear -p ./tsconfig.json --onSuccess \"pnpm start\"",
"oclif-dev": "run-script-os", "oclif-dev": "run-script-os",
"oclif-dev:windows": "cd bin && dev start", "oclif-dev:windows": "cd bin && dev start",
"oclif-dev:default": "cd bin && ./dev start", "oclif-dev:default": "cd bin && ./dev start",
+3
View File
@@ -327,6 +327,9 @@ importers:
rimraf: rimraf:
specifier: ^5.0.5 specifier: ^5.0.5
version: 5.0.5 version: 5.0.5
tsc-watch:
specifier: ^6.0.4
version: 6.0.4(typescript@4.9.5)
tslib: tslib:
specifier: ^2.6.2 specifier: ^2.6.2
version: 2.6.2 version: 2.6.2