about summary refs log tree commit diff stats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json87
1 files changed, 51 insertions, 36 deletions
diff --git a/package.json b/package.json
index d388da1f..83705623 100644
--- a/package.json
+++ b/package.json
@@ -1,38 +1,53 @@
 {
-	"name": "libredirect",
-	"description": "Redirects YouTube, Twitter, TikTok and more to privacy friendly frontends.",
-	"engines": {
-		"node": ">=16.13.1",
-		"npm": ">=8.1.2"
-	},
-	"scripts": {
-		"start": "web-ext run",
-		"start-nightly": "web-ext run --firefox=/home/manerakai/Downloads/firefox/firefox",
-		"build": "web-ext build",
-		"test": "web-ext lint",
-		"html": "pug --basedir ./ --obj ./src/config.json src/pages/options/index.pug --out src/pages/options/ && pug --basedir ./ --obj ./src/config.json src/pages/popup/popup.pug --out src/pages/popup/"
-	},
-	"repository": {
-		"type": "git",
-		"url": "git+https://github.com/libredirect/libredirect.git"
-	},
-	"author": "LibRedirect",
-	"license": "GPL-3.0-only",
-	"bugs": {
-		"url": "https://github.com/libredirect/libredirect/issues"
-	},
-	"homepage": "https://libredirect.github.io",
-	"devDependencies": {
-		"pug-cli": "^1.0.0-alpha6",
-		"web-ext": "^7.2.0"
-	},
-	"webExt": {
-		"sourceDir": "./src/",
-		"run": {
-			"browserConsole": true
-		},
-		"build": {
-			"overwriteDest": true
-		}
-	}
+  "name": "libredirect",
+  "type": "module",
+  "description": "Redirects YouTube, Twitter, TikTok and more to privacy friendly frontends.",
+  "engines": {
+    "node": ">=18.20.4",
+    "npm": ">=10.7.0"
+  },
+  "scripts": {
+    "start": "web-ext run",
+    "firefox": "web-ext run --firefox=/home/manerakai/software/firefox/firefox",
+    "start_ar": "web-ext run --firefox=/home/manerakai/software/firefox_ar/firefox",
+    "android": "web-ext run -t firefox-android --adb-device emulator-5554 --firefox-apk org.mozilla.firefox --adb-remove-old-artifacts",
+    "build": "web-ext build -i pages/options_src -i pages/popup_src pages/icons -i pages/popup_src -i pages/components",
+    "build_chromium": "brave-browser --pack-extension=src/ --pack-extension-key=src.pem",
+    "test": "web-ext lint",
+    "html": "rollup -c --config-popup && rollup -c --config-options && rollup -c --config-messages"
+  },
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/libredirect/libredirect.git"
+  },
+  "author": "LibRedirect",
+  "license": "GPL-3.0-only",
+  "bugs": {
+    "url": "https://github.com/libredirect/libredirect/issues"
+  },
+  "homepage": "https://libredirect.github.io",
+  "devDependencies": {
+    "prettier": "3.3.3"
+  },
+  "webExt": {
+    "sourceDir": "./src/",
+    "run": {
+      "browserConsole": true
+    },
+    "build": {
+      "overwriteDest": true
+    }
+  },
+  "dependencies": {
+    "svelte-select": "^5.8.3",
+    "pug-cli": "^1.0.0-alpha6",
+    "rollup": "^3.15.0",
+    "rollup-plugin-css-only": "^4.3.0",
+    "rollup-plugin-svelte": "^7.1.2",
+    "svelte": "^3.55.0",
+    "web-ext": "^7.2.0",
+    "@rollup/plugin-commonjs": "^24.0.0",
+    "@rollup/plugin-node-resolve": "^15.0.0",
+    "@rollup/plugin-terser": "^0.4.0"
+  }
 }