Unverified Commit fc3f9f3e authored by Andrei Eres's avatar Andrei Eres Committed by GitHub
Browse files

Build using web-ext (#95)

parent bca32fd5
Pipeline #166732 passed with stages
in 1 minute and 21 seconds
......@@ -10,7 +10,7 @@
# production
/build
build.zip
*.zip
# misc
.DS_Store
......
......@@ -6,8 +6,10 @@
"scripts": {
"setup": "yarn install && yarn allow-scripts",
"dev": "webpack --mode development --watch",
"build": "webpack --mode production && yarn build:zip",
"build:zip": "rm -rf ./build.zip && zip -r -FS ./build.zip ./build",
"build": "yarn build:clean && yarn build:source && yarn build:zip",
"build:clean": "rm -rf ./build ./*.zip",
"build:source": "webpack --mode production",
"build:zip": "web-ext build --source-dir ./build --artifacts-dir ./ --overwrite-dest",
"lint:typing": "tsc --noEmit",
"lint:ts": "eslint ./src",
"lint:css": "stylelint ./src",
......@@ -62,6 +64,7 @@
"stylelint-config-recommended": "^6.0.0",
"typescript": "^4.4.4",
"url-loader": "^4.1.1",
"web-ext": "^6.5.0",
"webpack": "^5.64.1",
"webpack-cli": "^4.9.1",
"webpack-extension-manifest-plugin": "^0.8.0"
......@@ -78,7 +81,9 @@
"node-hid": false,
"usb-detection": false,
"tiny-secp256k1": false,
"@lavamoat/preinstall-always-fail": false
"@lavamoat/preinstall-always-fail": false,
"dtrace-provider": false,
"spawn-sync": false
}
}
}
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment