-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.47 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.47 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
{
"name": "focusdeck",
"version": "0.3.0",
"private": true,
"type": "module",
"scripts": {
"clean": "rm -rf dist",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"build:chrome": "tsx scripts/build.ts chrome",
"build:firefox": "tsx scripts/build.ts firefox",
"build": "npm run build:chrome && npm run build:firefox",
"release:chrome": "RELEASE=1 npm run build:chrome",
"release:firefox": "RELEASE=1 npm run build:firefox",
"release": "RELEASE=1 npm run build",
"pack:chrome": "mkdir -p release && rm -f release/focusdeck-chrome-v$npm_package_version.zip && cd dist/chrome && zip -r ../../release/focusdeck-chrome-v$npm_package_version.zip . -x '*.map'",
"pack:firefox": "mkdir -p release && rm -f release/focusdeck-firefox-v$npm_package_version.zip && cd dist/firefox && zip -r ../../release/focusdeck-firefox-v$npm_package_version.zip . -x '*.map'",
"pack:source": "mkdir -p release && rm -f release/focusdeck-source-v$npm_package_version.zip && git archive --format=zip --output=release/focusdeck-source-v$npm_package_version.zip HEAD",
"pack": "npm run pack:chrome && npm run pack:firefox && npm run pack:source"
},
"dependencies": {
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@types/chrome": "^0.0.302",
"@types/node": "^22.13.0",
"@types/webextension-polyfill": "^0.12.3",
"sharp": "^0.34.5",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vite": "^6.0.3",
"vitest": "^3.0.5"
}
}