Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.47 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 3.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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "agent-browser-shield-extension",
"version": "0.1.0-alpha.1",
"private": true,
"description": "Chromium MV3 extension prototype for agent-friendly browsing.",
"license": "SEE LICENSE IN LICENSE",
"author": "PixieBrix, Inc.",
"homepage": "https://github.com/pixiebrix/agent-browser-shield#readme",
"bugs": "https://github.com/pixiebrix/agent-browser-shield/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/pixiebrix/agent-browser-shield.git",
"directory": "extension"
},
"engines": {
"node": ">=24",
"bun": ">=1.1"
},
"packageManager": "bun@1.1.38",
"type": "module",
"scripts": {
"build": "bun run build.ts",
"watch": "bun run build.ts --watch",
"package": "bun run ../scripts/package-extension.ts",
"package:cws": "bun run ../scripts/package-extension.ts --strip-key -o ../output/extension-cws.zip",
"fetch-easylist": "uv run --directory .. scripts/fetch_easylist.py",
"fetch-justdeleteme": "uv run --directory .. scripts/fetch_justdeleteme.py",
"build-site-data": "bun run scripts/build-site-data.ts",
"build-injection-patterns": "bun run scripts/build-injection-patterns.ts",
"build-icons": "bun run scripts/build-icons.ts",
"clean": "rm -rf dist",
"test": "jest",
"test:coverage": "jest --coverage --coverageReporters=text-summary",
"check": "biome check . && eslint . && stylelint \"src/**/*.{css,html}\"",
"check:fix": "biome check --write . && eslint . --fix && stylelint \"src/**/*.{css,html}\" --fix",
"format": "biome format --write .",
"lint": "biome lint . && eslint . && stylelint \"src/**/*.{css,html}\"",
"lint:eslint": "eslint .",
"lint:eslint:fix": "eslint . --fix",
"lint:stylelint": "stylelint \"src/**/*.{css,html}\"",
"lint:stylelint:fix": "stylelint \"src/**/*.{css,html}\" --fix",
"knip": "knip",
"typecheck": "tsc --noEmit && tsc -p tsconfig.test.json --noEmit",
"preflight": "bun run build-site-data && bun run build-injection-patterns && bun run check && bun run typecheck && bun run knip && bun run test:coverage"
},
"dependencies": {
"abort-utils": "^3.0.0",
"file-saver": "^2.0.5",
"idb": "^8.0.4",
"lodash": "^4.18.1",
"nanoid": "^6.0.2",
"react": "19.3.0",
"react-dom": "19.3.0",
"tldts": "^7.4.18",
"urlpattern-polyfill": "10.1.0",
"webext-messenger": "^0.36.0",
"webext-storage": "^3.1.0"
},
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@cfworker/json-schema": "^4.1.1",
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
"@eslint/js": "10.0.1",
"@resvg/resvg-js": "^2.6.2",
"@types/bun": "^1.4.3",
"@types/chrome": "^0.3.5",
"@types/file-saver": "^2.0.7",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.26",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"eslint": "10.12.0",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jest": "^29.17.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-unicorn": "78.0.0",
"fake-indexeddb": "^6.2.5",
"fast-check": "^4.10.2",
"globals": "17.13.0",
"jest": "^30",
"jest-environment-jsdom": "^30",
"jest-webextension-mock": "^4.2.0",
"js-yaml": "^5.4.3",
"knip": "^6.41.0",
"postcss-html": "^2.0.0",
"stylelint": "^17.16.0",
"stylelint-config-standard": "^40.0.0",
"ts-jest": "^29",
"type-fest": "^5.10.0",
"typescript": "^6.0.3",
"typescript-eslint": "8.71.2",
"zod": "^4.6.7"
}
}