-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
104 lines (104 loc) · 3.8 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
{
"name": "youtube-volume-scroll",
"version": "3.2.2",
"description": "Browser Extension that enables scrolling mousewheel to control volume on Youtube and Youtube Music",
"main": "index.js",
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"check": "bun copy_to_dist && bun check_no_copy && del-cli dist",
"check_no_copy": "(biome check && web-ext lint -w --ignore-files \"./popup/vendors/*\") || (del-cli dist && exit 1)",
"lint": "biome check --write",
"format": "biome format --write",
"sas": "sass --update unpacked/popup",
"release": "release-it && bun b",
"publish": "gh workflow run publish.yml",
"b": "bun sas && bun copy_to_dist && bun check_no_copy && bun build:firefox && bun build:chromium && del-cli dist",
"build:firefox": "x-var web-ext build --filename=\"youtube-volume-scroll_%npm_package_version%_firefox.xpi\"",
"build:chromium": "bun manifest:chromium && x-var web-ext build --filename=\"youtube-volume-scroll_%npm_package_version%_chromium.zip\"",
"manifest:firefox": "bun manifest:add:gecko-id && bun manifest:add:background-script",
"manifest:chromium": "bun manifest:remove:gecko-id && bun manifest:remove:background-script",
"manifest:add:gecko-id": "dot-json dist/manifest.json browser_specific_settings.gecko.id [email protected]",
"manifest:remove:gecko-id": "dot-json dist/manifest.json -d browser_specific_settings",
"manifest:add:background-script": "dot-json dist/manifest.json background.scripts.0 background-script.js && cpy background-script.js ../dist --cwd=unpacked",
"manifest:remove:background-script": "dot-json dist/manifest.json -d background && del-cli dist/background-script.js",
"copy_to_dist": "cpy . ../dist --cwd=unpacked --dot && bun manifest:firefox"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Araxeus/Youtube-Volume-Scroll.git"
},
"author": "Araxeus",
"license": "MIT",
"bugs": {
"url": "https://github.com/Araxeus/Youtube-Volume-Scroll/issues"
},
"homepage": "https://github.com/Araxeus/Youtube-Volume-Scroll#readme",
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@release-it/bumper": "^6.0.1",
"auto-changelog": "^2.4.0",
"cpy-cli": "=4.2.0",
"del-cli": "^5.1.0",
"dot-json": "^1.3.0",
"globals": "^15.9.0",
"release-it": "^17.6.0",
"sass": "^1.77.8",
"vendorfiles": "^1.2.2",
"web-ext": "^8.2.0",
"x-var": "^2.0.1"
},
"vendorConfig": {
"vendorFolder": "./unpacked/popup/vendors"
},
"vendorDependencies": {
"cooltipz": {
"version": "v2.3.0",
"repository": "https://github.com/jackdomleo7/Cooltipz.css",
"files": ["cooltipz.min.css", "LICENSE"]
},
"coloris": {
"version": "v0.24.0",
"repository": "https://github.com/mdbassit/Coloris",
"files": ["dist/coloris.min.js", "dist/coloris.min.css", "LICENSE"]
}
},
"webExt": {
"sourceDir": "dist",
"ignoreFiles": ["./popup/*.scss", "./popup/*.map"],
"run": {
"firefox": "nightly"
},
"lint": {
"pretty": true
},
"build": {
"overwriteDest": true
}
},
"release-it": {
"plugins": {
"@release-it/bumper": {
"out": "unpacked/manifest.json"
}
},
"hooks": {
"before:init": "bun check",
"after:bump": "bun format",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"git": {
"requireBranch": "main",
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"github": {
"release": true,
"draft": true,
"web": true
},
"npm": {
"publish": false
}
},
"trustedDependencies": ["@biomejs/biome"]
}