-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
75 lines (75 loc) · 3.09 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
{
"name": "screwmycode-in--extension",
"version": "2.4.0",
"description": "Variable speed pitch control for YouTube (Web Extension for Firefox)",
"license": "MIT",
"author": {
"url": "https://bamdad.fr",
"name": "Bamdad Sabbagh",
"email": "[email protected]"
},
"scripts": {
"build": "pnpm dev:clean && pnpm build:clean && pnpm build:chrome && pnpm build:firefox",
"build:clean": "rimraf packages",
"build:increment": "build/increment.sh",
"build:chrome": "pnpm build:chrome:webpack && pnpm build:chrome:package",
"build:chrome:package": "web-ext build --source-dir dist/chrome --filename chrome.zip",
"build:chrome:webpack": "NODE_ENV=production pnpm webpack:chrome",
"build:firefox": "pnpm build:firefox:webpack && pnpm build:firefox:package",
"build:firefox:package": "web-ext build --source-dir dist/firefox --filename firefox.zip",
"build:firefox:webpack": "NODE_ENV=production pnpm webpack:firefox",
"dev": "pnpm dev:chrome",
"dev:android": "pnpm dev:clean && pnpm dev:android:watch",
"dev:android:run": "web-ext run -t firefox-android --adb-device 2de7bd13 --firefox-apk org.mozilla.fenix",
"dev:android:watch": "concurrently 'pnpm webpack:android' 'wait-on dist/android/manifest.json && pnpm dev:android:run'",
"dev:clean": "rimraf dist",
"dev:chrome": "pnpm dev:clean && pnpm dev:chrome:watch",
"dev:chrome:run": "web-ext run --source-dir dist/chrome -t chromium",
"dev:chrome:watch": "concurrently 'pnpm webpack:chrome' 'wait-on dist/chrome/manifest.json && pnpm dev:chrome:run'",
"dev:firefox": "pnpm dev:clean && pnpm dev:firefox:watch",
"dev:firefox:run": "web-ext run --source-dir dist/firefox",
"dev:firefox:watch": "concurrently 'pnpm webpack:firefox' 'wait-on dist/firefox/manifest.json && pnpm dev:firefox:run'",
"lint": "eslint src --ext .js --fix",
"package:reinstall": "rimraf node_modules && pnpm",
"package:sort": "npx sort-package-json",
"webpack:android": "webpack",
"webpack:chrome": "webpack --env chrome",
"webpack:firefox": "webpack --env firefox"
},
"dependencies": {
"speed-to-percentage": "^1.2.1",
"speed-to-semitones": "^1.3.1"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@bamdadsabbagh/eslint-config": "^2.0.26",
"@types/chrome": "^0.0.193",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.4",
"babel-loader": "^8.2.5",
"concurrently": "^7.3.0",
"copy-webpack-plugin": "^11.0.0",
"css-minimizer-webpack-plugin": "^4.0.0",
"html-minimizer-webpack-plugin": "^4.0.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^29.7.0",
"jest-webextension-mock": "^3.7.22",
"node-forge": "^1.3.1",
"prettier": "^3.3.2",
"rimraf": "^3.0.2",
"terser-webpack-plugin": "^5.3.3",
"ts-jest": "^28.0.7",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"wait-on": "^6.0.1",
"web-ext": "^7.1.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"webExt": {
"artifactsDir": "packages"
}
}