Skip to content

Commit

Permalink
fix: npm commands
Browse files Browse the repository at this point in the history
  • Loading branch information
windingwind committed Jul 28, 2023
1 parent 10d19e5 commit 778922d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
11 changes: 2 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,9 @@
{
"type": "node",
"request": "launch",
"name": "Restart-Z6",
"name": "Restart",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "restart-dev-z6"]
},
{
"type": "node",
"request": "launch",
"name": "Restart-Z7",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "restart-dev-z7"]
"runtimeArgs": ["run", "restart"]
},
{
"type": "node",
Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@
"build-prod": "cross-env NODE_ENV=production node scripts/build.mjs",
"build": "concurrently -c auto npm:build-prod npm:tsc",
"tsc": "tsc --noEmit",
"start-z6": "node scripts/start.mjs --z 6",
"start-z7": "node scripts/start.mjs --z 7",
"start": "node scripts/start.mjs",
"stop": "node scripts/stop.mjs",
"start-watch": "npm run build-dev && concurrently -c auto npm:start npm:watch",
"restart-dev-z6": "npm run build-dev && npm run stop && npm run start-z6",
"restart-dev-z7": "npm run build-dev && npm run stop && npm run start-z7",
"restart-dev": "npm run build-dev && npm run stop && npm run start",
"restart-prod": "npm run build-prod && npm run stop && npm run start",
"restart": "npm run restart-dev",
"reload": "npm run build-dev && node scripts/reload.mjs --z 7",
"reload": "npm run build-dev && node scripts/reload.mjs",
"watch": "chokidar \"src/**\" \"addon/**\" -c \"npm run reload\"",
"release": "release-it",
"lint": "prettier --write . '!addon/chrome/content/lib/**' && eslint . --ext .ts --fix",
Expand Down

0 comments on commit 778922d

Please sign in to comment.