-
-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathpackage.json
More file actions
191 lines (191 loc) · 7.95 KB
/
Copy pathpackage.json
File metadata and controls
191 lines (191 loc) · 7.95 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
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
{
"name": "twitter-media-harvest",
"version": "4.5.7",
"type": "module",
"description": "The easiest way to get media from twitter-timeline.",
"engines": {
"node": ">=22"
},
"dependencies": {
"@aws-crypto/sha256-browser": "^5.2.0",
"@aws-sdk/credential-provider-cognito-identity": "^3.972.21",
"@aws-sdk/credential-providers": "^3.1024.0",
"@babel/runtime": "^7.29.2",
"@chakra-ui/icons": "2.2.4",
"@chakra-ui/react": "<3",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@sentry/browser": "^10.47.0",
"@smithy/fetch-http-handler": "^5.3.15",
"@smithy/protocol-http": "^5.3.12",
"@smithy/signature-v4": "^5.3.12",
"fp-ts": "^2.16.11",
"framer-motion": "^12.38.0",
"idb": "^8.0.3",
"joi": "^18.2.1",
"jwt-decode": "^4.0.0",
"path-browserify": "^1.0.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-icons": "^5.6.0",
"react-router-dom": "^7.14.0",
"sanitize-filename": "^1.6.4",
"select-dom": "^9.5.0",
"semver": "^7.7.4",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.29.6",
"@babel/eslint-parser": "^7.28.6",
"@babel/plugin-transform-runtime": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@eslint/js": "^10.0.1",
"@faker-js/faker": "^10.4.0",
"@media-harvest-config/prettier": "workspace:^",
"@media-harvest/webext-i18n-loader": "workspace:^",
"@playwright/test": "^1.59.1",
"@smithy/types": "^4.13.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/chrome": "~0.0.291",
"@types/gettext-parser": "^9.0.0",
"@types/jest": "^30.0.0",
"@types/joi": "^17.2.3",
"@types/jsdom": "^28.0.1",
"@types/jws": "^3.2.11",
"@types/node": "^25.5.2",
"@types/path-browserify": "^1.0.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/semver": "^7.7.1",
"@types/webextension-polyfill": "^0.12.5",
"@types/wicg-file-system-access": "^2023.10.7",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"@typescript-eslint/typescript-estree": "^8.58.0",
"babel-loader": "^10.1.1",
"browserslist": "^4.28.2",
"chalk": "^5.6.2",
"copy-webpack-plugin": "^14.0.0",
"core-js": "^3.49.0",
"cross-env": "^10.1.0",
"crypto": "^1.0.1",
"css-loader": "^7.1.4",
"dayjs": "^1.11.20",
"dotenv-webpack": "^9.0.0",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react-hooks": "^7.0.1",
"fake-indexeddb": "^6.2.5",
"file-loader": "^6.2.0",
"filemanager-webpack-plugin": "^10.0.1",
"gettext-extractor": "^4.0.6",
"gettext-parser": "^9.0.2",
"glob": "^13.0.6",
"globals": "^17.4.0",
"husky": "^9.1.7",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"jest-extended": "^7.0.0",
"jest-transformer-svg": "^2.1.0",
"jest-webextension-mock": "^4.1.1",
"keep-a-changelog": "^2.8.0",
"lint-staged": "^16.4.0",
"mini-css-extract-plugin": "^2.10.2",
"pinst": "^3.0.0",
"playwright-bdd": "^8.5.0",
"prettier": "^3.8.1",
"prettier-eslint": "^16.4.2",
"sass": "^1.99.0",
"sass-loader": "^16.0.7",
"style-loader": "^4.0.0",
"svg-inline-loader": "^0.8.2",
"ts-jest": "^29.4.9",
"ts-loader": "^9.5.7",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"tsx": "^4.21.0",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.0",
"url-loader": "^4.1.1",
"web-ext": "^10.1.0",
"webpack": "^5.105.4",
"webpack-bundle-analyzer": "^5.3.0",
"webpack-cli": "^7.0.2",
"webpack-merge": "^6.0.1",
"whatwg-fetch": "^3.6.20"
},
"resolutions": {
"cliui": "^7.0.0",
"chalk": "^4.0.0"
},
"scripts": {
"postinstall": "husky",
"postpack": "pinst --enable",
"test": "cross-env NODE_ENV=test yarn typecheck && jest --env=node --coverage",
"test:all": "cross-env NODE_ENV=test yarn workspaces foreach -p -A run test",
"test:tools": "cross-env NODE_ENV=test yarn workspaces foreach -p --include '@media-harvest/*' -A run test",
"ci": "cross-env NODE_ENV=test jest --coverage --silent --ci",
"ci:all": "yarn workspaces foreach -p -A run ci",
"build:all": "yarn check:envfile && yarn build:tools && yarn build:chrome:all && yarn build:edge:all && yarn build:firefox:all:self-sign",
"build:all:dev": "yarn check:envfile && yarn build:tools && yarn build:chrome:all:dev && yarn build:edge:all:dev && yarn build:firefox:all:dev",
"build:tools": "yarn workspaces foreach -p --include '@media-harvest/*' -A run build && yarn install",
"build:chrome:all": "webpack --mode=production --progress --color --env target=chrome --env zip=true",
"build:edge:all": "webpack --mode=production --progress --color --env target=edge --env zip=true",
"build:edge:all:dev": "webpack --mode=development --progress --color --env target=edge",
"build:firefox:all": "webpack --mode=production --progress --color --env target=firefox --env zip=true",
"build:firefox:all:dev": "webpack --mode=development --progress --color --env target=firefox",
"build:firefox:all:self-sign": "webpack --mode=production --progress --color --env target=firefox --env self-sign --env zip=true",
"build:chrome:service": "webpack --mode=production --progress --color --env target=chrome --config-name=service",
"build:chrome:injection": "webpack --mode=production --progress --color --env target=chrome --config-name=content-script",
"build:chrome:all:dev": "webpack --mode=development --progress --color --env target=chrome",
"build:chrome:service:dev": "webpack --mode=development --progress --color --env target=chrome --config-name=service",
"build:chrome:injection:dev": "webpack --mode=development --progress --color --env target=chrome --config-name=content-script",
"watch:chrome:all:dev": "yarn build:chrome:all:dev --watch",
"watch:chrome:service:dev": "yarn build:chrome:service:dev --watch",
"watch:chrome:injection:dev": "yarn build:chrome:injection:dev --watch",
"lint": "eslint --color --quiet --fix && prettier . -l --write",
"typecheck": "tsc --noEmit --skipLibCheck",
"locale:extract": "cross-env ./utils/locales-extractor.mjs",
"locale:check": "yarn locale:extract && cross-env ./utils/check-locales.mjs",
"locale:update-translations": "cross-env ./utils/update-translations.mjs",
"locale:sync-version": "cross-env ./utils/sync-pot-version.mjs && yarn locale:update-translations",
"mh-typegen": "cross-env ./utils/mh-typegen.mjs",
"check:envfile": "cross-env ./utils/check-envfile.mjs",
"check:translations": "cross-env ./utils/check-translations.mjs",
"check:changelog": "cross-env ./utils/check-changelog.mjs",
"check:flags": "cross-env ./utils/check-flags.mjs",
"check:all": "yarn check:envfile && yarn locale:extract --check && yarn locale:check && yarn check:changelog && yarn check:translations && yarn check:flags && yarn typecheck",
"test:e2e": "playwright test",
"test:e2e:chrome": "playwright test --project=chrome-extension",
"test:e2e:ui": "playwright test --ui"
},
"repository": {
"type": "git",
"url": "git+https://github.com/EltonChou/TwitterMediaHarvest.git"
},
"author": "Elton H.Y. Chou",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/EltonChou/TwitterMediaHarvest/issues"
},
"workspaces": {
"packages": [
"webpack/loaders/*",
"webpack/plugins/*",
"configs/*",
".github/actions/*"
]
},
"homepage": "https://github.com/EltonChou/TwitterMediaHarvest#readme",
"packageManager": "yarn@4.9.1"
}