-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
3,796 additions
and
980 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,45 @@ | ||
# Yarn and npm | ||
yarn-error.log | ||
npm-debug.log | ||
node_modules | ||
|
||
# WebStorm files | ||
.idea/* | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
.idea | ||
.vscode | ||
|
||
# Vim swap files | ||
*.swp | ||
*.swo | ||
# dependencies | ||
node_modules | ||
.pnp | ||
.pnp.js | ||
|
||
# Sublime files | ||
*.sublime-workspace | ||
*.sublime-project | ||
# testing | ||
coverage | ||
|
||
# Mac and windows files | ||
#cache | ||
.turbo | ||
.next | ||
.vercel | ||
|
||
# misc | ||
.DS_Store | ||
.tmp | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# Distribution | ||
/dist_packed | ||
/dist/build | ||
|
||
# local env files | ||
*.env | ||
|
||
out | ||
build | ||
dist_packed | ||
|
||
# plasmo - https://www.plasmo.com | ||
.plasmo | ||
|
||
# bpp - http://bpp.browser.market/ | ||
keys.json | ||
|
||
# typescript | ||
.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* @type {import('prettier').Options} | ||
*/ | ||
module.exports = { | ||
printWidth: 120, | ||
tabWidth: 2, | ||
useTabs: false, | ||
semi: true, | ||
singleQuote: false, | ||
trailingComma: "none", | ||
bracketSpacing: true, | ||
bracketSameLine: true, | ||
plugins: [require.resolve("@plasmohq/prettier-plugin-sort-imports")], | ||
importOrder: ["^@plasmohq/(.*)$", "^~(.*)$", "^[./]"], | ||
importOrderSeparation: true, | ||
importOrderSortSpecifiers: true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,42 @@ | ||
{ | ||
"name": "twitch-cp-bonus-collector", | ||
"version": "1.2.1", | ||
"description": "A browser extension that automates clicking on the Channel Points bonus button during a Twitch live stream when it appears.", | ||
"repository": "https://github.com/avi12/twitch-cp-bonus-collector", | ||
"license": "GPL-3.0-or-later", | ||
"author": "avi12 <avi6106@gmail.com>", | ||
"homepage": "https://avi12.com", | ||
"bugs": { | ||
"email": "avi6106@gmail.com" | ||
}, | ||
"displayName": "Twitch Channel Points Bonus Collector", | ||
"version": "2.0.0", | ||
"description": "Auto-clicks the Channel Points bonus button when it appears.", | ||
"author": "avi12", | ||
"homepage": "https://avi12.com/twitch-cp-bonus-collector", | ||
"scripts": { | ||
"dev": "rollup -c -w", | ||
"build": "rollup -c", | ||
"pack": "web-ext build --overwrite-dest --artifacts-dir dist_packed --source-dir dist --filename twitch-cp-bonus-collector-{version}.zip", | ||
"pack-self": "zip-self -o dist_packed/twitch-cp-bonus-collector-{version}-source.zip", | ||
"build-pack": "pnpm run build && pnpm run pack && pnpm run webext-incompat-fix && pnpm run pack-self", | ||
"build-for-firefox": "build-for-browser --i dist_packed/twitch-cp-bonus-collector-{version}.zip --browser=firefox", | ||
"webext-incompat-fix": "webext-store-incompat-fixer -i dist_packed/twitch-cp-bonus-collector-{version}.zip -s edge,firefox,chrome,opera", | ||
"set-version": "set-json-version -f package.json dist/manifest.json dist/manifest.json -v", | ||
"run-browser": "web-ext run --no-config-discovery --start-url https://www.twitch.tv/codinggarden --source-dir dist --verbose --target", | ||
"run-firefox": "pnpm run-browser firefox-desktop", | ||
"run-chromium": "pnpm run-browser chromium", | ||
"run-edge-windows": "\"\"%ProgramFiles(x86)%\\Microsoft\\Edge\\Application\\msedge.exe\"\" https://www.twitch.tv/codinggarden --load-extension=%cd%\\dist" | ||
"dev": "plasmo dev", | ||
"dev:firefox": "plasmo dev --target=firefox-mv2", | ||
"build": "plasmo build", | ||
"build:firefox": "plasmo build --target=firefox-mv2", | ||
"pack": "web-ext build --overwrite-dest --artifacts-dir dist_packed --source-dir build/chrome-mv3-prod --filename skillshare-player-control-{version}.zip", | ||
"pack:firefox": "web-ext build --overwrite-dest --artifacts-dir dist_packed --source-dir build/firefox-mv2-prod --filename skillshare-player-control-{version}_adapted_for_firefox.zip", | ||
"pack:self": "zip-self -o dist_packed/skillshare-player-control-{version}_adapted_for_firefox-source.zip", | ||
"build-pack": "pnpm build && pnpm build && pnpm run pack", | ||
"build-pack:firefox": "pnpm build:firefox && pnpm pack:firefox && pnpm pack:self", | ||
"build-pack:all": "pnpm build && pnpm build:firefox && pnpm run pack && pnpm pack:firefox && pnpm pack:self", | ||
"set-version": "set-json-version -f package.json -v", | ||
"run-browser": "web-ext run --no-config-discovery --start-url https://www.skillshare.com/classes/Practical-C-Programming-Beginner-Course/919943529 --verbose --target", | ||
"run:chrome": "pnpm run-browser chromium --source-dir build/chrome-mv3-dev", | ||
"run:firefox": "pnpm run-browser firefox-desktop --source-dir build/firefox-mv2-dev" | ||
}, | ||
"dependencies": { | ||
"plasmo": "0.55.0-alpha.2" | ||
}, | ||
"devDependencies": { | ||
"@types/chrome": "^0.0.175", | ||
"build-for-browser": "github:avi12/build-for-browser", | ||
"eslint": "^8.6.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"prettier": "^2.6.2", | ||
"rollup": "^2.63.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"set-json-version": "^1.0.7", | ||
"web-ext": "^6.6.0", | ||
"webext-store-incompat-fixer": "^0.3.1", | ||
"zip-self": "^0.4.5" | ||
"@plasmohq/prettier-plugin-sort-imports": "3.5.1", | ||
"@types/chrome": "0.0.197", | ||
"@types/node": "18.7.21", | ||
"@typescript-eslint/eslint-plugin": "^5.38.0", | ||
"@typescript-eslint/parser": "^5.38.0", | ||
"prettier": "2.7.1", | ||
"set-json-version": "^2.1.0", | ||
"typescript": "4.8.3", | ||
"web-ext": "^7.2.0", | ||
"zip-self": "^0.5.2" | ||
}, | ||
"manifest": { | ||
"offline_enabled": true | ||
} | ||
} | ||
} |
Oops, something went wrong.