-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.35 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 1.35 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
44
45
{
"name": "eclipsetabguard",
"version": "1.0.0",
"description": "Smart tab suspender browser extension",
"main": "index.js",
"type": "module",
"license": "MIT",
"private": false,
"engines": {
"node": ">= 14.0.0",
"npm": ">= 6.0.0"
},
"homepage": "",
"repository": {
"type": "git",
"url": ""
},
"bugs": "",
"keywords": [
"browser-extension",
"tab-manager",
"memory",
"performance"
],
"author": {
"name": "",
"email": "",
"url": ""
},
"contributors": [],
"scripts": {
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
"typecheck": "tsc --noEmit",
"compile": "esbuild src/popup/popup.ts src/background/index.ts --outdir=dist --outbase=src --bundle --minify --target=esnext",
"copy-assets": "node -e \"const fs=require('fs');fs.cpSync('manifest.json','dist/manifest.json');fs.mkdirSync('dist/popup',{recursive:true});fs.cpSync('src/popup/popup.html','dist/popup/popup.html');fs.cpSync('src/icons','dist/icons',{recursive:true})\"",
"build": "npm run clean && npm run typecheck && npm run compile && npm run copy-assets",
"package": "npm run build && cd dist && tar -cf ../eclipsetabguard.zip --format=zip *"
},
"devDependencies": {
"@types/chrome": "^0.1.39",
"esbuild": "^0.28.0",
"sharp": "^0.35.2",
"typescript": "^6.0.2"
}
}