Skip to content

Commit c6aa0ba

Browse files
committed
chore: add dev/build script command
1 parent 1272e2e commit c6aa0ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,16 @@ Here are some helpful commands:
4040

4141
```sh
4242
# Build WXT package
43-
cd packages/wxt
4443
pnpm build
4544
```
4645

4746
```sh
4847
# Build WXT package, then build demo extension
49-
cd packages/wxt-demo
50-
pnpm build
48+
pnpm build:demo
5149
```
5250

5351
```sh
5452
# Build WXT package, then start the demo extension in dev mode
55-
cd packages/wxt-demo
5653
pnpm dev
5754
```
5855

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
},
77
"packageManager": "[email protected]",
88
"scripts": {
9+
"build": "pnpm -C packages/wxt build",
10+
"build:demo": "pnpm -C packages/wxt-demo build",
11+
"dev": "pnpm -C packages/wxt-demo dev",
912
"check": "check && pnpm -r --sequential run check",
1013
"test": "pnpm -r --sequential run test run",
1114
"test:coverage": "pnpm -r --sequential run test:coverage",

0 commit comments

Comments
 (0)