Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.62 KB
/
Copy pathpackage.json
File metadata and controls
40 lines (40 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "qlty-browser",
"private": true,
"version": "1.0.0",
"scripts": {
"build": "npm run build:chrome && npm run build:firefox",
"build:chrome": "cross-env TARGET_BROWSER=chrome vite build",
"build:firefox": "cross-env TARGET_BROWSER=firefox vite build",
"run:firefox": "web-ext run --source-dir=dist/firefox",
"sign:firefox": "web-ext sign --source-dir=dist/firefox --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET --channel unlisted",
"package": "npm run build && npm run package:chrome && npm run package:firefox",
"package:chrome": "crx pack dist/chrome -o dist/qlty.crx",
"package:firefox": "web-ext build --source-dir=dist/firefox --artifacts-dir dist",
"watch": "dotenvx run -f .env.development -- vite build --watch --mode development",
"watch:chrome": "cross-env TARGET_BROWSER=chrome dotenvx run -f .env.development -- vite build --watch --mode development",
"watch:firefox": "cross-env TARGET_BROWSER=firefox dotenvx run -f .env.development -- vite build --watch --mode development"
},
"type": "module",
"dependencies": {
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@crxjs/vite-plugin": "^2.0.2",
"@dotenvx/dotenvx": "^1.45.2",
"@types/chrome": "^0.0.329",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@types/webextension-polyfill": "^0.12.3",
"@vitejs/plugin-react": "^4.6.0",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"fast-glob": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"vite": "^7.3.7",
"web-ext": "^10.8.0",
"webextension-polyfill": "^0.12.0"
}
}