aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 6a900cdaeb8f74a0836593018f78560a59f1c09d (plain)
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
{
  "name": "thunderbird-ai-compose",
  "version": "0.1.0",
  "description": "Thunderbird Mail Extension that helps you compose emails using AI",
  "keywords": [
    "Thunderbird",
    "AI",
    "Compose",
    "Mail",
    "Extension"
  ],
  "homepage": "https://github.com/luciferreeves/thunderbird-ai-compose#readme",
  "bugs": {
    "url": "https://github.com/luciferreeves/thunderbird-ai-compose/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/luciferreeves/thunderbird-ai-compose.git"
  },
  "license": "MIT",
  "author": "Bobby <[email protected]>",
  "scripts": {
    "clean": "rm -rf build",
    "build:ts": "tsup src/background.ts src/popup/popup.ts src/options/options.ts --format iife --out-dir build --splitting false --sourcemap false",
    "rename:ext": "find build -name '*.global.js' -exec bash -c 'mv \"$0\" \"${0%.global.js}.js\"' {} \\;",
    "build:static": "cp src/manifest.json build/ && mkdir -p build/popup build/options && cp src/popup/*.html build/popup/ && cp src/options/*.html build/options/ && cp node_modules/webextension-polyfill/dist/browser-polyfill.js build/",
    "build": "npm run clean && npm run build:ts && npm run rename:ext && npm run build:static"
  },
  "dependencies": {
    "webextension-polyfill": "^0.12.0"
  },
  "devDependencies": {
    "@types/firefox-webext-browser": "^120.0.4",
    "@types/webextension-polyfill": "^0.12.3",
    "@typescript-eslint/eslint-plugin": "^8.44.1",
    "@typescript-eslint/parser": "^8.44.1",
    "eslint": "^9.36.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.4",
    "prettier": "^3.6.2",
    "tsup": "^8.5.0",
    "typescript": "^5.9.2"
  }
}