/
package.json
59 lines (59 loc) · 1.87 KB
/
package.json
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
{
"name": "anticlickbait",
"version": "3.1.3",
"author": "Bjørn Polat-Snoen",
"description": "",
"type": "module",
"license": "MIT",
"keywords": [
"chrome-extension",
"firefox-extension",
"react",
"vite"
],
"engines": {
"node": ">=14.18.0"
},
"packageManager": "pnpm@8.15.6+sha256.01c01eeb990e379b31ef19c03e9d06a14afa5250b82e81303f88721c99ff2e6f",
"scripts": {
"prepare": "tsx scripts/icons.ts",
"dev": "vite",
"preview": "vite preview",
"build": "tsc && vite build && npm run package",
"build:chrome": "TARGET=chrome vite build",
"build:firefox": "TARGET=firefox vite build",
"package": "rm -f ./dist/anticlickbait.zip && web-ext build --source-dir dist --artifacts-dir dist --overwrite-dest",
"sign": "web-ext sign --source-dir dist --artifacts-dir dist --api-key $AMO_JWT_ISSUER --api-secret $AMO_JWT_SECRET --use-submission-api --channel listed",
"build:firefox:sign": "npm run build:firefox && npm run sign",
"fmt": "prettier --write '**/*.{tsx,ts,json,css,scss,md}'"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@tanstack/react-query": "^4.29.3",
"linkedom": "^0.14.25",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^5.2.7",
"vite-plugin-web-extension": "^4.1.3",
"webextension-polyfill": "^0.10.0",
"zod": "^3.21.4"
},
"devDependencies": {
"@types/node": "^18.16.1",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@vitejs/plugin-react": "^1.3.2",
"eslint": "^8.38.0",
"eslint-plugin-react": "^7.32.2",
"execa": "^7.1.1",
"glob": "^9.2.1",
"prettier": "^2.7.1",
"tsx": "^4.7.1",
"typescript": "^5.4.3",
"web-ext": "^7.11.0"
}
}