-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
69 lines (69 loc) · 2.37 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
60
61
62
63
64
65
66
67
68
69
{
"name": "telegram-send",
"version": "2.0.1",
"private": true,
"type": "module",
"source": "src/manifest.json",
"scripts": {
"format": "eslint --ignore-path .gitignore --fix . && prettier --write .",
"prepare": "parcel build --config @parcel/config-webextension --no-content-hash --no-scope-hoist --no-optimize --no-cache --log-level verbose --reporter @parcel/reporter-bundle-analyzer",
"test": "tsc --noEmit && eslint --ignore-path .gitignore . && prettier --check .",
"watch": "parcel watch --config @parcel/config-webextension --no-hmr --no-content-hash --host localhost",
"webext:pack": "cd dist && zip -r ../ext.zip . && cd .. && zip -r ext.src.zip README.md package.json package-lock.json src tsconfig.json .eslintrc.json .postcssrc.json tailwind.config.js",
"webext:publish": "publish-extension --firefox-extension-id [email protected] --firefox-zip ext.zip --firefox-sources-zip ext.src.zip --firefox-channel listed"
},
"browserslist": [
"last 2 chrome versions",
"last 2 firefox versions"
],
"prettier": {
"plugins": [
"prettier-plugin-organize-imports",
"prettier-plugin-packagejson"
],
"printWidth": 100,
"semi": false,
"overrides": [
{
"files": "manifest.json",
"options": {
"parser": "json-stringify"
}
}
]
},
"dependencies": {
"preact": "^10.21.0",
"swr": "^2.2.5",
"tinygram": "^1.3.0",
"webext-typed-messages": "^0.1.0",
"webext-typed-storage": "^0.1.0"
},
"devDependencies": {
"@parcel/config-webextension": "^2.12.0",
"@parcel/reporter-bundle-analyzer": "^2.12.0",
"@types/chrome": "^0.0.268",
"@types/node": "^20.12.11",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"parcel": "^2.12.0",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-packagejson": "^2.5.0",
"publish-browser-extension": "^2.1.3",
"sharp": "^0.31.3",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5"
},
"alias": {
"react": "preact/compat",
"react-dom": "preact/compat",
"react/jsx-runtime": "preact/jsx-runtime"
}
}