31 lines
884 B
JSON
31 lines
884 B
JSON
{
|
|
"name": "demo",
|
|
"version": "1.0.0",
|
|
"description": "Demo extension for WXT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "pnpm -w build && wxt",
|
|
"build": "pnpm -w build && wxt build",
|
|
"build:all": "pnpm -w build && run-s -s 'build:all:*'",
|
|
"build:all:chrome-mv3": "wxt build",
|
|
"build:all:chrome-mv2": "wxt build --mv2",
|
|
"build:all:firefox-mv3": "wxt build -b firefox --mv3",
|
|
"build:all:firefox-mv2": "wxt build -b firefox",
|
|
"test": "pnpm -w build && vitest",
|
|
"zip": "pnpm -w build && wxt zip",
|
|
"compile": "pnpm -w build && tsc --noEmit",
|
|
"postinstall": "pnpm -w build && wxt prepare"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"vitest": "^1.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.34",
|
|
"@types/react-dom": "^18.2.14",
|
|
"sass": "^1.69.5",
|
|
"wxt": "workspace:*"
|
|
}
|
|
}
|