Skip to content

Commit

Permalink
Development can now use 'web-ext run'
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-fujinone committed Mar 24, 2024
1 parent 9982194 commit f40cfbf
Show file tree
Hide file tree
Showing 4 changed files with 3,182 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .env.chrome.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CHROMIUM_BINARY_PATH=
CHROMIUM_PROFILE_PATH=
WEB_EXT_START_URL=
WEB_EXT_KEEP_PROFILE_CHANGES=true
WEB_EXT_SOURCE_DIR=src
4 changes: 4 additions & 0 deletions .env.firefox.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
WEB_EXT_FIREFOX_PROFILE=
WEB_EXT_START_URL=
WEB_EXT_KEEP_PROFILE_CHANGES=true
WEB_EXT_SOURCE_DIR=src
20 changes: 14 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"name": "auto-hide-next-up-card-for-amazon-prime-video",
"version": "2.1.1",
"private": true,
"type": "module"
}
{
"name": "auto-hide-next-up-card-for-amazon-prime-video",
"version": "2.1.1",
"private": true,
"type": "module",
"scripts": {
"dev:firefox": "env-cmd -f .env.firefox web-ext run",
"dev:chrome": "env-cmd -x -f .env.chrome web-ext run -t chromium --chromium-binary=$CHROMIUM_BINARY_PATH --chromium-profile=$CHROMIUM_PROFILE_PATH"
},
"devDependencies": {
"env-cmd": "^10.1.0",
"web-ext": "^7.11.0"
}
}
Loading

0 comments on commit f40cfbf

Please sign in to comment.