mirror of
https://github.com/cupcakearmy/ora.git
synced 2026-04-02 20:15:25 +00:00
build for chrome
This commit is contained in:
@@ -12,7 +12,9 @@
|
||||
"clean": "rm -rf dist .cache web-ext-artifacts node_modules",
|
||||
"dev": "parcel watch --no-hmr manifest.json src/dashboard/index.html",
|
||||
"build": "parcel build --no-content-hash --no-source-maps --no-minify manifest.json src/dashboard/index.html",
|
||||
"dist": "rm -rf dist && yarn run build && web-ext build -s dist --overwrite-dest"
|
||||
"dist": "rm -rf dist && yarn run build && yarn pack:ff && yarn pack:crx",
|
||||
"pack:crx": "crx pack ./dist -p ./crx.pem -o ora.crx",
|
||||
"pack:ff": "web-ext build -s dist --overwrite-dest"
|
||||
},
|
||||
"browserslist": [
|
||||
"last 2 chrome versions",
|
||||
@@ -34,6 +36,7 @@
|
||||
"devDependencies": {
|
||||
"@types/firefox-webext-browser": "^78.0.1",
|
||||
"@types/lodash": "^4.14.161",
|
||||
"crx": "^5.0.1",
|
||||
"parcel-bundler": "^1.12.4",
|
||||
"parcel-plugin-svelte": "^4.0.6",
|
||||
"parcel-plugin-web-extension": "^1.6.1",
|
||||
|
||||
Reference in New Issue
Block a user