This commit is contained in:
avivash 2023-01-06 11:01:02 -08:00
parent 33ceebadc3
commit 685b3b7738
6 changed files with 1380 additions and 2574 deletions

3931
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,8 @@
"format": "prettier --write --plugin-search-dir=. ."
},
"devDependencies": {
"@sveltejs/adapter-static": "^1.0.0",
"@sveltejs/kit": "^1.0.1",
"@sveltejs/adapter-static": "1.0.0-next.43",
"@sveltejs/kit": "1.0.0-next.489",
"@tailwindcss/typography": "^0.5.2",
"@types/qrcode-svg": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
@ -37,7 +37,7 @@
"tsconfig-paths": "^3.12.0",
"tslib": "^2.0.0",
"typescript": "^4.4.4",
"vite": "^4.0.0"
"vite": "^3.0.0"
},
"type": "module",
"ava": {

View File

@ -1,4 +1,3 @@
export const csr = true
export const ssr = false
export const prerender = true
export const trailingSlash = 'always'
export const prerender = true

View File

@ -9,7 +9,8 @@ const config = {
kit: {
adapter: adapter({
fallback: 'index.html'
})
}),
trailingSlash: 'always'
},
}

View File

@ -1,7 +1,6 @@
module.exports = {
mode: 'jit',
content: ['./src/**/*.{html,js,svelte,ts}'],
safelist: ['alert-success', 'alert-error', 'alert-info', 'alert-warning'],
plugins: [require('daisyui')],
darkMode: ['class', '[data-theme="dark"]'],
daisyui: {
@ -123,5 +122,10 @@ module.exports = {
max: '1000' // High enough to appear above the modal(999)
}
}
},
purge: {
options: {
safelist: ['alert-success', 'alert-error', 'alert-info', 'alert-warning']
}
}
}

View File

@ -23,15 +23,10 @@
"allowJs": true,
"checkJs": true,
"paths": {
"$components": ["src/components"],
"$components/*": ["src/components/*"],
"$lib":["src/lib"],
"$lib/*": ["src/lib/*"],
"$routes": ["src/routes"],
"$routes/*": ["src/routes/*"],
"$src": ["src"],
"$src/*": ["src/*"],
"$static": ["static"],
"$static/*": ["static/*"]
}
},