scripts and remove unused pkgs

This commit is contained in:
2020-10-15 13:49:34 +02:00
parent d9b3d1f6ad
commit dd33ad7f68
2 changed files with 8 additions and 50 deletions

View File

@@ -12,8 +12,8 @@
"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 && yarn pack:ff && yarn pack:crx",
"pack:crx": "crx3 pack ./dist -p ./crx.pem -o ora.crx",
"dist": "rm -rf dist && yarn run build && yarn pack:ff && yarn run pack:zip",
"pack:zip": "zip -r ./ora.zip dist/*",
"pack:ff": "web-ext build -s dist --overwrite-dest"
},
"browserslist": [
@@ -29,14 +29,13 @@
"joi": "^17.2.1",
"lodash": "^4.17.20",
"spectre.css": "^0.5.9",
"svelte-spa-router": "^2.2.0",
"svelte-spa-router": "^3.0.0",
"tailwindcss": "^1.8.10",
"webextension-polyfill": "^0.6.0"
},
"devDependencies": {
"@types/firefox-webext-browser": "^78.0.1",
"@types/lodash": "^4.14.161",
"crx3": "^1.1.2",
"parcel-bundler": "^1.12.4",
"parcel-plugin-svelte": "^4.0.6",
"parcel-plugin-web-extension": "^1.6.1",