about summary refs log tree commit diff stats
path: root/package.json
blob: 98351dad76847415080e44e36be49411957d9953 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
	"name": "libredirect",
	"description": "Redirects YouTube, Twitter, Instagram and more to privacy friendly frontends.",
	"engines": {
		"node": ">=16.13.1",
		"npm": ">=8.1.2"
	},
	"scripts": {
		"start": "web-ext run",
		"build": "web-ext build",
		"test": "web-ext lint",
		"instances": "python3 src/instances/get_instances.py && git update-index --assume-unchanged src/instances/blacklist.json src/instances/data.json",
		"ejs": "ejs src/pages/options/index.ejs -f src/config/config.json -o src/pages/options/index.html && ejs src/pages/popup/popup.ejs -f src/config/config.json -o src/pages/popup/popup.html && prettier -w src/pages/options/index.html src/pages/popup/popup.html"
	},
	"repository": {
		"type": "git",
		"url": "git+https://codeberg.org/LibRedirect/LibRedirect.git"
	},
	"author": "LibRedirect",
	"license": "GPL-3.0-only",
	"bugs": {
		"url": "https://codeberg.org/LibRedirect/LibRedirect/issues"
	},
	"homepage": "https://libredirect.codeberg.page",
	"devDependencies": {
		"ejs": "^3.1.8",
		"prettier": "^2.7.1",
		"web-ext": "^7.2.0"
	},
	"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
		}
	}
}