Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.56 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 loc) · 1.56 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
41
42
43
{
"name": "patch-roulette-web-extension",
"displayName": "diffs.dev",
"description": "Streamlines opening diffs in the diffs.dev Diff Viewer.",
"version": "0.0.8",
"private": true,
"type": "module",
"scripts": {
"format": "prettier --write .",
"lint": "tsc && prettier --check . && eslint .",
"manifest:chrome": "bun scripts/manifest.ts",
"manifest:firefox": "EXTENSION=firefox bun scripts/manifest.ts",
"build": "vite build",
"pack:chrome": "bun run manifest:chrome && bun run build && mkdir -p pack && rm -f pack/chrome.zip && (cd dist && zip -r ../pack/chrome.zip .)",
"pack:firefox": "bun run manifest:firefox && bun run build && mkdir -p pack && rm -f pack/firefox.zip && (cd dist && zip -r ../pack/firefox.zip .)",
"pack": "bun run pack:chrome && bun run pack:firefox"
},
"devDependencies": {
"@eslint/compat": "^1.3.1",
"@eslint/js": "^9.30.1",
"@types/bun": "^1.2.18",
"@types/webextension-polyfill": "^0.12.3",
"chrome-types": "^0.1.360",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"globals": "^16.3.0",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"typescript": "^5.8.3",
"typescript-eslint": "^8.36.0",
"vite": "^7.0.0"
},
"dependencies": {
"@tailwindcss/vite": "^4.1.11",
"tailwindcss": "^4.1.11",
"webextension-polyfill": "^0.12.0"
},
"bunrc": {
"run": {
"bun": true
}
}
}