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
|
git clone https://git.platypush.tech/blacklight/rss-viewer-browser-extension
|
||||||
cd rss-viewer-browser-extension
|
cd rss-viewer-browser-extension
|
||||||
npm install
|
./build.sh
|
||||||
npm run build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
A file named `dist.crx` will be generated - just drop it into your browser's extensions.
|
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",
|
"name": "rss-viewer-browser-ext",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "sample-project",
|
"name": "rss-viewer-browser-ext",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dotenv": "^16.0.0",
|
"dotenv": "^16.0.0",
|
||||||
"node-sass": "^8.0.0",
|
"node-sass": "^8.0.0",
|
||||||
|
|
Loading…
Reference in a new issue