-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.97 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.97 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "intone",
"displayName": "Intone",
"version": "0.3.4",
"private": true,
"description": "Browser extension that reads web pages aloud using locally run TTS.",
"license": "MIT",
"author": {
"name": "Amir Grozki",
"url": "https://github.com/GeReV"
},
"repository": {
"url": "https://github.com/GeReV/intone"
},
"engines": {
"node": ">=18.12.0"
},
"scripts": {
"dev": "yarn run clear && cross-env NODE_ENV=development run-p dev:*",
"dev-firefox": "yarn run clear && cross-env NODE_ENV=development EXTENSION=firefox run-p dev:*",
"dev:prepare": "tsx scripts/prepare.ts",
"dev:background": "yarn run build:background --mode development",
"dev:web": "yarn run build:web --mode development --watch",
"dev:js": "yarn run build:js --mode development",
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:background build:js",
"build:firefox": "cross-env EXTENSION=firefox yarn run build",
"build:prepare": "tsx scripts/prepare.ts",
"build:background": "vite build --config vite.config.background.ts",
"build:web": "vite build",
"build:js": "vite build --config vite.config.content.ts",
"pack": "cross-env NODE_ENV=production run-p pack:*",
"pack:zip": "rimraf intone.zip && jszip-cli add extension/* -o ./intone.zip",
"pack:crx": "crx pack extension -o ./intone.crx",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename intone.xpi --overwrite-dest",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start:firefox": "web-ext run --source-dir ./extension --firefox=deved",
"start:server": "docker compose --project-directory src/server up --build -d",
"clear": "rimraf --glob extension/dist extension/manifest.json extension.*",
"lint": "oxlint --config oxlint.json .",
"test": "vitest test",
"postinstall": "simple-git-hooks",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@ffflorian/jszip-cli": "^3.6.2",
"@total-typescript/ts-reset": "^0.6.1",
"@types/fs-extra": "^11.0.4",
"@types/jsdom": "^28.0.1",
"@types/node": "~24",
"@types/webextension-polyfill": "^0.12.3",
"cross-env": "^10.0.0",
"crx": "^5.0.1",
"fs-extra": "^11.2.0",
"jsdom": "^29.0.0",
"lint-staged": "^17.0.0",
"npm-run-all": "^4.1.5",
"oxlint": "^1.63.0",
"prettier": "^3.8.3",
"rimraf": "^6.0.0",
"simple-git-hooks": "^2.8.1",
"tsx": "^4.7.0",
"type-fest": "^4.10.1",
"typescript": "^6.0.0",
"vite": "^8.0.0",
"vitest": "^4.0.0",
"web-ext": "^10.0.0",
"webextension-polyfill": "^0.12.0"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged"
},
"lint-staged": {
"src/extension/**/*.{ts,js,html,css,json,md}": "prettier --write",
"src/extension/**/*.{ts,js}": "oxlint --fix --config oxlint.json"
},
"resolutions": {},
"dependencies": {
"@mozilla/readability": "0.6.0",
"defuddle": "0.18.1"
}
}