-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
228 lines (228 loc) · 6.89 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
{
"name": "tabimagesaver",
"version": "4.5.0",
"id": "tab-image-saver@mcdamo.addons.mozilla.org",
"description": "__MSG_extension_description__",
"homepage": "https://github.com/mcdamo/tab-image-saver",
"repository": {
"type": "git",
"url": "git@github.com:mcdamo/tab-image-saver.git"
},
"bugs": {
"url": "https://github.com/mcdamo/tab-image-saver/issues"
},
"permissions": {
"multiprocess": true
},
"license": "MPL-2.0",
"keywords": [
"webextensions",
"batch",
"image",
"save image",
"save images"
],
"webextensionManifest": {
"manifest_version": 2,
"name": "__MSG_extension_name__",
"default_locale": "en",
"applications": {
"gecko": {
"strict_min_version": "73.0"
}
},
"permissions": [
"cookies",
"downloads",
"menus",
"notifications",
"storage",
"tabs",
"<all_urls>"
],
"icons": {
"24": "icons/tab-image-saver-v2@24.png",
"48": "icons/tab-image-saver-v2@48.png"
},
"browser_action": {
"default_icon": {
"24": "icons/tab-image-saver-v2@24.png",
"48": "icons/tab-image-saver-v2@48.png"
},
"theme_icons": [
{
"light": "icons/tab-image-saver-v2-light@24.png",
"dark": "icons/tab-image-saver-v2@24.png",
"size": 24
},
{
"light": "icons/tab-image-saver-v2-light@48.png",
"dark": "icons/tab-image-saver-v2@48.png",
"size": 48
}
],
"default_title": "__MSG_extension_name__",
"browser_style": true
},
"options_ui": {
"page": "options.html",
"browser_style": true,
"open_in_tab": true
},
"background": {
"scripts": [
"background.js"
]
},
"sidebar_action": {
"default_title": "Tab Image Saver",
"default_panel": "sidebar.html",
"default_icon": "icons/tab-image-saver-v2@48.png"
},
"commands": {
"default": {
"suggested_key": {},
"description": "__MSG_commands_default_action_label__"
},
"active": {
"suggested_key": {},
"description": "__MSG_commands_active_action_label__"
},
"left": {
"suggested_key": {},
"description": "__MSG_commands_left_action_label__"
},
"right": {
"suggested_key": {},
"description": "__MSG_commands_right_action_label__"
},
"all": {
"suggested_key": {},
"description": "__MSG_commands_all_action_label__"
}
}
},
"scripts": {
"build": "npm-run-all build:*",
"build:clean": "rm -rf build",
"build:copy": "mkdir build && cp -r src/* build",
"build:striplogging": "grunt",
"build:webpack": "node scripts/build.js",
"#build:lint": "web-ext -s ./extension lint",
"bundle": "npm-run-all bundle:*",
"#bundle:copy": "cp -r addon/icons bundle && cp addon/manifest.json bundle",
"bundle:manifest": "node scripts/generate-manifest",
"#bundle:webpack": "webpack",
"dev": "node scripts/dev.js",
"lint": "npm-run-all lint:*",
"lint:eslint": "eslint --ext=.js,.json ./src",
"lint-fix": "eslint --ext=.js,.json src --fix",
"release": "npm-run-all bundle:* build:* && web-ext -s extension -a release build --overwrite-dest",
"test": "npm-run-all test:*",
"#test:bundle": "npm run-all bundle:*",
"test:lint": "npm run lint",
"#test:lint": "npm run bundle:webpack && npm run lint",
"#test:func": "export FIREFOX_BINARY=${FIREFOX_BINARY:-beta} && npm run bundle && XPI_NAME=dist/tab-image-saver-1.0.0.zip mocha test/functional/",
"test:karma": "karma start",
"version": "npm run bundle:manifest && git add src/manifest.json",
"virtualenv-postinstall": "virtualenv-postinstall",
"watch:lint": "esw -w --ext=.js,.json src",
"watch:karma": "karma start --auto-watch --no-single-run",
"web-ext": "npx web-ext --pref privacy.partition.network_state=false -s ./dev run",
"firefox-launch": "node scripts/dev.js --browser=firefox"
},
"dependencies": {
"@jsep-plugin/regex": "^1.0.3",
"jse-eval": "^1.5.2",
"react-sortablejs": "^6.1.4",
"sortablejs": "^1.15.0"
},
"devDependencies": {
"@babel/core": "^7.22.1",
"@babel/preset-env": "^7.22.4",
"@babel/preset-react": "^7.22.3",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@webcomponents/webcomponentsjs": "^2.8.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.2",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-preset-react-app": "^10.0.1",
"case-sensitive-paths-webpack-plugin": "2.4.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chalk": "^4.1.2",
"colors": "^1.4.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.0",
"dotenv": "^16.1.4",
"dotenv-expand": "^10.0.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-watch": "^8.0.0",
"eslint-webpack-plugin": "^4.0.1",
"execa": "^5.1.1",
"fs-extra": "^11.1.1",
"fx-runner": "^1.3.0",
"geckodriver": "^4.0.3",
"grunt": "^1.6.1",
"grunt-remove-logging": "^0.2.0",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.5.1",
"html-webpack-tags-plugin": "^3.0.2",
"karma": "^6.4.2",
"karma-coverage": "^2.2.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-coveralls": "^2.1.0",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^5.0.0",
"mini-css-extract-plugin": "^2.7.6",
"mocha": "^10.2.0",
"mz": "^2.7.0",
"npm-run-all": "^4.1.5",
"ora": "^5.4.1",
"pnp-webpack-plugin": "^1.7.0",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^7.3.2",
"postcss-preset-env": "^8.4.2",
"postcss-safe-parser": "^6.0.0",
"prettier": "^2.8.8",
"react": "^16.14.0",
"react-app-polyfill": "^3.0.0",
"react-dev-utils": "^12.0.1",
"react-dom": "^16.14.0",
"resolve": "1.22.0",
"selenium-webdriver": "^4.9.2",
"sinon": "^8.1.1",
"sinon-chai": "^3.7.0",
"sinon-chrome": "^3.0.1",
"style-loader": "^3.3.3",
"terser-webpack-plugin": "^5.3.9",
"web-ext": "^7.6.2",
"webextension-polyfill": "^0.10.0",
"webextensions-api-fake": "^1.3.0",
"webpack": "^5.85.1",
"webpack-cli": "^5.1.3",
"webpack-dev-server": "^4.15.0",
"webpack-manifest-plugin": "5.0.0",
"yargs": "^17.7.2"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}