-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
129 lines (129 loc) · 4.1 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"private": true,
"scripts": {
"_build": "rimraf dist/$BROWSER && parcel build src/manifests/$BROWSER/manifest.json --no-content-hash --dist-dir dist/$BROWSER --no-cache --detailed-report 0",
"build:firefox": "cross-env BROWSER=firefox npm run _build -- --no-source-maps",
"build:safari": "cross-env BROWSER=safari npm run _build",
"build:chrome": "cross-env BROWSER=chrome npm run _build",
"build": "run-p build:*",
"_watch": "parcel watch src/manifests/$BROWSER/manifest.json --dist-dir dist/$BROWSER --no-cache --no-content-hash --no-hmr",
"watch:firefox": "cross-env BROWSER=firefox npm run _watch",
"watch:chrome": "cross-env BROWSER=chrome npm run _watch",
"watch:safari": "rimraf dist/safari && cross-env BROWSER=safari npm run _watch",
"_package": "web-ext build --source-dir=dist/$BROWSER --artifacts-dir=web-ext-artifacts/$BROWSER",
"package:firefox": "cross-env BROWSER=firefox npm run _package",
"package:safari": "cross-env BROWSER=safari npm run _package",
"package:chrome": "cross-env BROWSER=chrome npm run _package",
"package": "run-p package:*",
"predev": "rimraf dist/firefox && mkdir -p dist/firefox && cp src/manifests/firefox/manifest.json dist/firefox/manifest.json",
"dev": "run-p watch:firefox start:firefox",
"start:firefox": "web-ext run --source-dir dist/firefox",
"start:chrome": "web-ext run --source-dir dist/chrome --target chromium",
"build-and-package": "run-s build package",
"check-types": "tsc --noemit",
"check-format": "prettier --check .",
"unused-exports": "ts-unused-exports ./tsconfig.json",
"lint:css": "stylelint src/**/*.css",
"lint:js": "xo",
"lint": "run-p lint:* check-types",
"lint-fix": "run-p 'lint:* -- --fix'",
"pretest": "cross-env NODE_ENV=test run-p lint unused-exports build:chrome",
"test": "jest --runInBand"
},
"browserslist": [
"last 1 Chrome version",
"last 1 Firefox version"
],
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"async-mutex": "^0.5.0",
"color": "^4.2.3",
"combinations": "^1.0.0",
"css-selector-generator": "^3.6.4",
"emittery": "^1.0.3",
"fuse.js": "^7.0.0",
"intersect": "^1.0.1",
"lodash": "^4.17.21",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-toastify": "^10.0.0",
"requestidlecallback-polyfill": "^1.0.2",
"specificity": "^0.4.1",
"tippy.js": "^6.3.7",
"type-fest": "^4.26.1",
"webextension-polyfill": "^0.12.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@parcel/config-webextension": "^2.12.0",
"@parcel/optimizer-terser": "^2.12.0",
"@parcel/transformer-inline-string": "^2.13.2",
"@sindresorhus/tsconfig": "^2.0.0",
"@types/chrome": "^0.0.299",
"@types/color": "^4.0.0",
"@types/combinations": "^1.0.0",
"@types/intersect": "^1.0.0",
"@types/jest": "^29.4.0",
"@types/jest-environment-puppeteer": "^5.0.3",
"@types/lodash": "^4.14.195",
"@types/react-dom": "^19.0.0",
"@types/webextension-polyfill": "^0.12.1",
"cross-env": "^7.0.3",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^5.0.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"jest-puppeteer": "^11.0.0",
"npm-run-all2": "^7.0.0",
"parcel": "^2.12.0",
"prettier": "3.4.2",
"puppeteer": "^24.0.0",
"rimraf": "^6.0.1",
"serve-handler": "^6.1.5",
"stylelint": "^16.9.0",
"stylelint-config-standard": "^37.0.0",
"svgo": "^3.3.2",
"ts-jest": "^29.0.5",
"ts-unused-exports": "^11.0.0",
"typescript": "^5.6.2",
"web-ext": "^8.3.0",
"xo": "^0.60.0"
},
"overrides": {
"serve-handler": {
"path-to-regexp": "^8.2.0"
}
},
"webExt": {
"run": {
"startUrl": [
"https://rango.click"
]
}
},
"jest": {
"projects": [
{
"displayName": "unit",
"preset": "ts-jest",
"testMatch": [
"<rootDir>/src/**/*.test.ts"
]
},
{
"displayName": "e2e",
"preset": "./jest-e2e-preset.js",
"testMatch": [
"<rootDir>/e2e/**/*.test.ts"
],
"transformIgnorePatterns": [
"node_modules/(?!clipboardy/.*)"
]
}
],
"testTimeout": 30000
}
}