mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-09 10:08:58 -06:00
Add Google Cloud Storage to functions dependencies, fix firebase.json pre-deploy scripts, update functions eslint
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
],
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/api/hello-world/",
|
||||
"function": "helloWorld"
|
||||
"source": "/api/surrounding",
|
||||
"function": "surrounding"
|
||||
},
|
||||
{
|
||||
"source": "**",
|
||||
@@ -19,8 +19,8 @@
|
||||
},
|
||||
"functions": {
|
||||
"predeploy": [
|
||||
"npm --prefix \"$RESOURCE_DIR\" run lint",
|
||||
"npm --prefix \"$RESOURCE_DIR\" run build"
|
||||
"yarn --prefix \"$RESOURCE_DIR\" run lint",
|
||||
"yarn --prefix \"$RESOURCE_DIR\" run build"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,6 +27,8 @@ module.exports = {
|
||||
rules: {
|
||||
"quotes": ["error", "double"],
|
||||
"import/no-unresolved": 0,
|
||||
"indent": ["warn", 4]
|
||||
"indent": ["warn", 4],
|
||||
"@typescript-eslint/no-var-requires": 0,
|
||||
"max-len": ["warn", 120],
|
||||
},
|
||||
};
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@google-cloud/storage": "^5.20.5",
|
||||
"firebase-admin": "^10.0.2",
|
||||
"firebase-functions": "^3.18.0"
|
||||
},
|
||||
|
||||
2747
functions/yarn.lock
Normal file
2747
functions/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user