build: keep firefox local profile

This commit is contained in:
EnixCoda 2022-04-28 00:29:39 +08:00
parent afb7d17f1c
commit c01ddb8dce
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ tmp
dist
yarn-error.log
vscode-icons
firefox-profile

View file

@ -10,7 +10,7 @@
"scripts": {
"dev": "VERSION=dev-v$(node scripts/get-version.js) webpack --watch",
"dev-safari": "TARGET=safari yarn run dev",
"debug-firefox": "web-ext run -s dist",
"debug-firefox": "web-ext run --source-dir=dist --firefox-profile=firefox-profile --profile-create-if-missing --keep-profile-changes --start-url github.com/EnixCoda/Gitako",
"analyse-bundle": "ANALYSE= NODE_ENV=production webpack",
"postinstall": "rm -rf node_modules/@types/react-native && node scripts/fix-pjax-api",
"build": "VERSION=v$(node scripts/get-version.js) NODE_ENV=production webpack",