Skip to content

Commit

Permalink
Add initial function and firebase files
Browse files Browse the repository at this point in the history
  • Loading branch information
navzam committed Aug 15, 2024
1 parent e8134a7 commit 50d5039
Show file tree
Hide file tree
Showing 8 changed files with 8,496 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
module.exports = {
root: true,
env: {
es6: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"google",
"plugin:@typescript-eslint/recommended",
],
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["tsconfig.json", "tsconfig.dev.json"],
sourceType: "module",
},
ignorePatterns: [
"/lib/**/*", // Ignore built files.
],
plugins: [
"@typescript-eslint",
"import",
],
rules: {
"quotes": ["error", "double"],
"import/no-unresolved": 0,
"indent": ["error", 2],
},
};
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "kipr-321905"
}
}
25 changes: 25 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"functions": {
"predeploy": [
"yarn --cwd \"$RESOURCE_DIR\" run lint",
"yarn --cwd \"$RESOURCE_DIR\" run build"
]
},
"emulators": {
"auth": {
"port": 9099
},
"firestore": {
"port": 8080
},
"ui": {
"enabled": true,
"port": 4001
},
"functions": {
"enabled": true,
"port": 5001
},
"singleProjectMode": true
}
}
Loading

0 comments on commit 50d5039

Please sign in to comment.