mirror of
https://codeberg.org/LibRedirect/libredirect.git
synced 2025-02-03 20:57:50 +01:00
Moved some configs to package.json, removed an unnecessary dependency, added shebang to get_instances.py
This commit is contained in:
parent
65243b5b93
commit
9d3239c81f
@ -1,24 +0,0 @@
|
||||
{
|
||||
"semi": false,
|
||||
"tabWidth": 2,
|
||||
"useTabs": true,
|
||||
"arrowParens": "avoid",
|
||||
"printWidth": 200,
|
||||
"bracketSameLine": true,
|
||||
"endOfLine": "lf",
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.js", "*.json"],
|
||||
"options": {
|
||||
"singleQuote": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["*.html", "*.py"],
|
||||
"options": {
|
||||
"tabWidth": 4,
|
||||
"singleQuote": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
28
package.json
28
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1
src/instances/get_instances.py
Normal file → Executable file
1
src/instances/get_instances.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# Note: Run this script from the root of the repo
|
||||
|
||||
import traceback
|
||||
|
@ -1,10 +0,0 @@
|
||||
module.exports = {
|
||||
ignoreFiles: ["instances/get_instances.py"],
|
||||
sourceDir: "./src/",
|
||||
run: {
|
||||
browserConsole: true,
|
||||
},
|
||||
build: {
|
||||
overwriteDest: true,
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user