Skip to content

Commit eaae175

Browse files
committedFeb 13, 2025
build: use conc
1 parent 71ed7f0 commit eaae175

File tree

3 files changed

+131
-7
lines changed

3 files changed

+131
-7
lines changed
 

‎.vscode/tasks.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"tasks": [
44
{
55
"type": "npm",
6-
"script": "dev",
6+
"script": "dev:chrome",
77
"presentation": {
88
"reveal": "silent"
99
},

‎package-lock.json

+122-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
"description": "",
66
"type": "module",
77
"scripts": {
8-
"build": "wxt build",
8+
"build": "conc npm:typecheck npm:build:*",
9+
"build:chrome": "wxt build -b chrome",
910
"build:firefox": "wxt build -b firefox",
10-
"compile": "tsc --noEmit",
11-
"dev": "wxt",
11+
"dev": "conc npm:typecheck npm:dev:* --restart-tries 1",
12+
"dev:chrome": "wxt -b chrome",
1213
"dev:firefox": "wxt -b firefox",
1314
"postinstall": "wxt prepare",
14-
"zip": "wxt zip",
15+
"typecheck": "tsc --noEmit",
16+
"zip": "conc npm:typecheck npm:zip:*",
17+
"zip:chrome": "wxt zip -b chrome",
1518
"zip:firefox": "wxt zip -b firefox"
1619
},
1720
"prettier": {
@@ -28,6 +31,7 @@
2831
"@types/chrome": "^0.0.304",
2932
"@types/eslint__js": "^8.42.3",
3033
"@typescript-eslint/parser": "^8.24.0",
34+
"concurrently": "^9.1.2",
3135
"eslint": "^9.20.1",
3236
"eslint-config-alloy": "^5.1.2",
3337
"eslint-import-resolver-typescript": "^3.7.0",

0 commit comments

Comments
 (0)
Please sign in to comment.