-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 3.62 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 3.62 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
{
"name": "AmazonBrandFilter",
"description": "Filters out all unknown brands from Amazon search results.",
"version": "0.9.0",
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/bootstrap": "^5.3.8",
"@types/chrome": "^0.0.237",
"@types/jest": "^29.5.11",
"@types/lodash": "^4.14.202",
"@types/web": "^0.0.130",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"html-webpack-plugin": "^5.5.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^13.2.2",
"node-sass": "^9.0.0",
"prettier": "2.8.8",
"run-script-os": "^1.1.6",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.3",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.1.3",
"web-ext": "^7.6.2",
"webextension-polyfill-ts": "^0.26.0",
"webpack": "^5.86.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"bootstrap": "^5.3.8",
"bootstrap-icons": "^1.13.1",
"bootstrap-js": "^5.3.8",
"compile-sass": "^2.0.0",
"lodash": "^4.17.21",
"sass-loader": "^16.0.6"
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write \"src/**/*.ts\""
],
"src/**/*.json": [
"prettier --write \"src/**/*.json\""
],
"engines/**/*.json": [
"prettier --write \"engines/**/*.json\""
],
"scripts/**/*.js": [
"prettier --write \"scripts/**/*.js\""
],
"tests/**/*.ts": [
"prettier --write \"tests/**/*.ts\""
]
},
"scripts": {
"package": "web-ext build",
"prepare": "husky install",
"lint": "yarn eslint src/**/*.ts",
"test": "jest",
"win-build-gecko": "Remove-Item dist/gecko -Recurse -Force -ErrorAction SilentlyContinue; webpack --mode development --config engines/gecko/webpack.config.js; node scripts\\post-build-update-manifest-gecko.js; Get-ChildItem dist/gecko | Compress-Archive -DestinationPath dist/gecko.zip -Force",
"win-build-chromium": "Remove-Item dist/chromium -Recurse -Force -ErrorAction SilentlyContinue; webpack --mode development --config engines/chromium/webpack.config.js; node scripts\\post-build-update-manifest-chromium.js; Get-ChildItem dist/chromium | Compress-Archive -DestinationPath dist/chromium.zip -Force",
"nix-build-gecko": "rm -rf dist/gecko && webpack --mode development --config engines/gecko/webpack.config.js && node scripts/post-build-update-manifest-gecko.js",
"nix-build-chromium": "rm -rf dist/chromium && webpack --mode development --config engines/chromium/webpack.config.js && node scripts/post-build-update-manifest-chromium.js",
"win-build-gecko-prod": "Remove-Item dist/gecko -Recurse -Force -ErrorAction SilentlyContinue; webpack --mode production --config engines/gecko/webpack.config.js; node scripts\\post-build-update-manifest-gecko.js; Get-ChildItem dist/gecko | Compress-Archive -DestinationPath dist/gecko.zip -Force",
"win-build-chromium-prod": "Remove-Item dist/chromium -Recurse -Force -ErrorAction SilentlyContinue; webpack --mode production --config engines/chromium/webpack.config.js; node scripts\\post-build-update-manifest-chromium.js; Get-ChildItem dist/chromium | Compress-Archive -DestinationPath dist/chromium.zip -Force",
"nix-build-gecko-prod": "rm -rf dist/gecko && webpack --mode production --config engines/gecko/webpack.config.js && node scripts/post-build-update-manifest-gecko.js",
"nix-build-chromium-prod": "rm -rf dist/chromium && webpack --mode production --config engines/chromium/webpack.config.js && node scripts/post-build-update-manifest-chromium.js"
}
}