about summary refs log tree commit diff stats
path: root/package.json
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-25 20:54:31 +0100
committerHygna <hygna@proton.me>2022-10-25 20:54:31 +0100
commit9d3239c81f73b75afacd5048fd7bd687c5e3a538 (patch)
treeee2b84bcde5a2b56fa4c42113a8ce0693ceba6f5 /package.json
parentImproved the instance fetcher (diff)
downloadlibredirect-9d3239c81f73b75afacd5048fd7bd687c5e3a538.zip
Moved some configs to package.json, removed an unnecessary dependency, added shebang to get_instances.py
Diffstat (limited to 'package.json')
-rw-r--r--package.json28
1 files changed, 26 insertions, 2 deletions
diff --git a/package.json b/package.json
index 7df440f6..98351dad 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,31 @@
 		"prettier": "^2.7.1",
 		"web-ext": "^7.2.0"
 	},
-	"dependencies": {
-		"buffer": "^6.0.3"
+	"prettier": {
+		"semi": false,
+		"tabWidth": 2,
+		"useTabs": true,
+		"arrowParens": "avoid",
+		"printWidth": 200,
+		"bracketSameLine": true,
+		"endOfLine": "lf",
+		"singleQuote": false
+	},
+	"webExt": {
+		"ignoreFiles": [
+			"instances/get_instances.py",
+			"instances/beatbump.json",
+			"instances/bibliogram.json",
+			"instances/cloudtube.json",
+			"instances/facil.json",
+			"instances/neuters.json"
+		],
+		"sourceDir": "./src/",
+		"run": {
+			"browserConsole": true
+		},
+		"build": {
+			"overwriteDest": true
+		}
 	}
 }