-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 1.12 KB
/
package.json
File metadata and controls
22 lines (22 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "slack-markdown-proxy",
"version": "0.1.2",
"private": true,
"scripts": {
"build": "biome check src/ && vitest run && esbuild src/page.ts src/background.ts --bundle --outdir=dist --format=iife --target=chrome110 && cp manifest.json dist/manifest.json && mkdir -p dist/icons && cp icons/icon-16.png icons/icon-48.png icons/icon-128.png dist/icons/",
"watch": "esbuild src/page.ts src/background.ts --bundle --outdir=dist --format=iife --target=chrome110 --watch",
"sync-version": "node -e \"const p=require('./package.json');const m=require('./manifest.json');m.version=p.version;require('fs').writeFileSync('manifest.json',JSON.stringify(m,null,2)+'\\n')\"",
"package": "npm version patch --no-git-tag-version && npm run sync-version && npm run build && cd dist && zip -r ../slack-markdown-proxy.zip .",
"lint": "biome check src/",
"lint:fix": "biome check --write src/",
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/chrome": "^0.1.36",
"esbuild": "^0.20.0",
"typescript": "^5.4.0",
"vitest": "^3.0.0"
}
}