libredirect/package.json

58 lines
1.6 KiB
JSON

{
"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
}
}
}