-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
54 lines (54 loc) · 2.07 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
{
"private": true,
"name": "build",
"scripts": {
"start": "run-pty % npm run watch % npm run firefox % npm run chrome",
"firefox": "sucrase-node scripts/wait-for-manifest.ts && npm run web-ext -- run",
"chrome": "npm run firefox -- --target chromium",
"compile": "rollup --config --bundleConfigAsCjs",
"watch": "npm run compile -- --watch",
"build:helper": "npm run compile && sucrase-node scripts/build-clean.ts && npm run web-ext -- build && sucrase-node scripts/build-post.ts",
"build:chrome": "cross-env BROWSER=chrome npm run build:helper",
"build:firefox": "cross-env BROWSER=firefox npm run build:helper && cross-env BROWSER=firefox npm run web-ext -- lint",
"build:all": "npm run build:chrome && npm run build:firefox",
"png-icons": "sucrase-node scripts/png-icons.ts",
"web-ext": "sucrase-node node_modules/.bin/web-ext",
"test": "run-pty --auto-exit % npm run build:all % eslint . --report-unused-disable-directives % prettier --check . % tsc"
},
"dependencies": {
"n-ary-huffman": "4.0.0",
"preact": "10.11.3",
"preact-shadow-root": "1.0.2",
"tiny-decoders": "7.0.1",
"webextension-polyfill": "0.10.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "24.0.0",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-replace": "5.0.2",
"@rollup/plugin-sucrase": "5.0.1",
"@types/cross-spawn": "6.0.2",
"@types/firefox-webext-browser": "94.0.1",
"@types/yazl": "2.4.2",
"@typescript-eslint/eslint-plugin": "5.48.1",
"@typescript-eslint/parser": "5.48.1",
"cross-env": "7.0.3",
"cross-spawn": "7.0.3",
"crx3": "1.1.3",
"eslint": "8.31.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "8.0.0",
"js-tokens": "8.0.0",
"minifycss": "1.0.1",
"optional-require": "1.1.8",
"preact-render-to-string": "5.2.6",
"prettier": "2.8.3",
"readdirp": "3.6.0",
"rollup": "3.10.0",
"rollup-plugin-prettier": "3.0.0",
"run-pty": "5.0.0",
"typescript": "4.9.4",
"web-ext": "^8.2.0",
"yazl": "2.5.1"
}
}