-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
62 lines (62 loc) · 2.32 KB
/
package.json
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "vite-react-webext",
"displayName": "Vite React WebExt",
"version": "0.0.1",
"description": "[description]",
"packageManager": "yarn@3.2.0",
"private": true,
"scripts": {
"dev": "npm run clear && cross-env NODE_ENV=development run-p 'dev:*'",
"dev:prepare": "esno scripts/prepare.ts",
"dev:web": "vite",
"dev:js": "npm run build:js -- --mode development",
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:js",
"build:prepare": "esno scripts/prepare.ts",
"build:web": "vite build",
"build:js": "vite build --config vite.config.content.ts",
"preview": "vite preview",
"pack": "cross-env NODE_ENV=production run-p 'pack:*'",
"pack:zip": "rimraf extension.zip && jszip-cli add extension/* -o ./extension.zip",
"pack:crx": "crx pack extension -o ./extension.crx",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename extension.xpi --overwrite-dest",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start:firefox": "web-ext run --source-dir ./extension --target=firefox-desktop",
"clear": "rimraf extension/dist extension/manifest.json 'extension.*'",
"lint": "eslint --ignore-path .gitignore './**/*.{ts,tsx,js,jsx}'"
},
"dependencies": {
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/node": "^17.0.23",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
"@types/webextension-polyfill": "^0.8.3",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"@vitejs/plugin-react": "^1.3.1",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"esno": "^0.14.1",
"fs-extra": "^10.0.1",
"kolorist": "^1.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.1",
"rimraf": "^3.0.2",
"typescript": "^4.6.3",
"unplugin-auto-import": "^0.6.9",
"vite": "^2.9.6",
"web-ext": "^6.8.0",
"webext-bridge": "^5.0.4",
"webextension-polyfill": "^0.9.0"
}
}