Made a build.sh script to generate the zipped extension file
This commit is contained in:
parent
f065860edb
commit
1bed02b456
3 changed files with 11 additions and 6 deletions
|
@ -11,8 +11,7 @@ browser and detect feed URLs in web pages.
|
|||
```
|
||||
git clone https://git.platypush.tech/blacklight/rss-viewer-browser-extension
|
||||
cd rss-viewer-browser-extension
|
||||
npm install
|
||||
npm run build
|
||||
./build.sh
|
||||
```
|
||||
|
||||
A file named `dist.crx` will be generated - just drop it into your browser's extensions.
|
||||
|
|
6
build.sh
Executable file
6
build.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
npm install
|
||||
npm run build
|
||||
zip -r dist dist
|
||||
mv dist.zip dist.crx
|
8
package-lock.json
generated
8
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "sample-project",
|
||||
"version": "1.0.0",
|
||||
"name": "rss-viewer-browser-ext",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "sample-project",
|
||||
"version": "1.0.0",
|
||||
"name": "rss-viewer-browser-ext",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"dotenv": "^16.0.0",
|
||||
"node-sass": "^8.0.0",
|
||||
|
|
Loading…
Reference in a new issue