add firebase

This commit is contained in:
2023-05-19 23:38:43 +02:00
parent 0f2b17dab9
commit 2fc81d5da6
6 changed files with 10645 additions and 2 deletions

15
.firebaserc Normal file
View File

@@ -0,0 +1,15 @@
{
"projects": {
"default": "contexted-f8b4e"
},
"targets": {
"contexted-f8b4e": {
"hosting": {
"contexted-v3": [
"contexted-v3"
]
}
}
},
"etags": {}
}

1
.gitignore vendored
View File

@@ -22,5 +22,6 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
.firebase
.env .env

1
components.d.ts vendored
View File

@@ -11,7 +11,6 @@ declare module '@vue/runtime-core' {
export interface GlobalComponents { export interface GlobalComponents {
Autocomplete: typeof import('./src/components/Note/Autocomplete.vue')['default'] Autocomplete: typeof import('./src/components/Note/Autocomplete.vue')['default']
Hamburger: typeof import('./src/components/TopBar/Hamburger.vue')['default'] Hamburger: typeof import('./src/components/TopBar/Hamburger.vue')['default']
List: typeof import('./src/components/ViewModes/List.vue')['default']
ListView: typeof import('./src/components/ViewModes/ListView.vue')['default'] ListView: typeof import('./src/components/ViewModes/ListView.vue')['default']
Logo: typeof import('./src/components/TopBar/Logo.vue')['default'] Logo: typeof import('./src/components/TopBar/Logo.vue')['default']
Mindmap: typeof import('./src/components/ViewModes/Mindmap.vue')['default'] Mindmap: typeof import('./src/components/ViewModes/Mindmap.vue')['default']

17
firebase.json Normal file
View File

@@ -0,0 +1,17 @@
{
"hosting": {
"target": "contexted-v3",
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

10608
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,9 @@
"build-only": "vite build", "build-only": "vite build",
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false", "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/" "format": "prettier --write src/",
"local": "npm run build && firebase serve --only hosting",
"deploy": "npm run build && firebase deploy --only hosting:contexted-v3"
}, },
"dependencies": { "dependencies": {
"@ckeditor/ckeditor5-autoformat": "^37.1.0", "@ckeditor/ckeditor5-autoformat": "^37.1.0",
@@ -56,6 +58,7 @@
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.14",
"eslint": "^8.40.0", "eslint": "^8.40.0",
"eslint-plugin-vue": "^9.13.0", "eslint-plugin-vue": "^9.13.0",
"firebase-tools": "^12.1.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss": "^8.4.23", "postcss": "^8.4.23",
"prettier": "^2.8.8", "prettier": "^2.8.8",