This commit is contained in:
cupcakearmy 2021-05-02 12:31:40 +02:00
parent 67d29dab2e
commit 5c5e308b15
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
3 changed files with 32 additions and 14 deletions

View File

@ -13,6 +13,7 @@
"copy-to-clipboard": "^3.3.1"
},
"devDependencies": {
"@sveltejs/adapter-static": "next",
"@sveltejs/kit": "next",
"svelte": "^3.34.0",
"svelte-preprocess": "^4.0.0",
@ -24,7 +25,8 @@
"node_modules/@fontsource/fira-mono": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/@fontsource/fira-mono/-/fira-mono-4.2.2.tgz",
"integrity": "sha512-t2WRThg+eLkQNQCtPG2sCCq40lz3xeb7nsL7P8l4+wfSRbdLQXAY5IebMftI2YEZR4MRRhdgrg0p5fi/2yXypA=="
"integrity": "sha512-t2WRThg+eLkQNQCtPG2sCCq40lz3xeb7nsL7P8l4+wfSRbdLQXAY5IebMftI2YEZR4MRRhdgrg0p5fi/2yXypA==",
"license": "MIT"
},
"node_modules/@rollup/pluginutils": {
"version": "4.1.0",
@ -42,6 +44,12 @@
"rollup": "^1.20.0||^2.0.0"
}
},
"node_modules/@sveltejs/adapter-static": {
"version": "1.0.0-next.7",
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-1.0.0-next.7.tgz",
"integrity": "sha512-kIghJ2PoAPW6x8r5f+q8JTeB0EmBtl0Jl7wDB2HfsBCcdtNmdRqVgMcpfhSstpz1VGVDOuaU8rGlHL+XBAMMKQ==",
"dev": true
},
"node_modules/@sveltejs/kit": {
"version": "1.0.0-next.94",
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.94.tgz",
@ -480,9 +488,9 @@
}
},
"node_modules/svelte": {
"version": "3.38.0",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-3.38.0.tgz",
"integrity": "sha512-V0CbyzvXEka7zQtRYt++cpPh0zxxDUTIeNlq4KncGXn2qHnQFZ2i4L4+2QOfLwOudb9cewJeegupBQcscnBaaA==",
"version": "3.38.1",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-3.38.1.tgz",
"integrity": "sha512-N3XLAyfzqrFxwRLevBeW7Dke9ZlHRVGSIed5abo4Drvj+zvd2OyWpFa1x4nQUc8Lnvt4Kcn8/5le1peRDybNqg==",
"dev": true,
"engines": {
"node": ">= 8"
@ -623,6 +631,12 @@
"picomatch": "^2.2.2"
}
},
"@sveltejs/adapter-static": {
"version": "1.0.0-next.7",
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-1.0.0-next.7.tgz",
"integrity": "sha512-kIghJ2PoAPW6x8r5f+q8JTeB0EmBtl0Jl7wDB2HfsBCcdtNmdRqVgMcpfhSstpz1VGVDOuaU8rGlHL+XBAMMKQ==",
"dev": true
},
"@sveltejs/kit": {
"version": "1.0.0-next.94",
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.94.tgz",
@ -928,9 +942,9 @@
}
},
"svelte": {
"version": "3.38.0",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-3.38.0.tgz",
"integrity": "sha512-V0CbyzvXEka7zQtRYt++cpPh0zxxDUTIeNlq4KncGXn2qHnQFZ2i4L4+2QOfLwOudb9cewJeegupBQcscnBaaA==",
"version": "3.38.1",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-3.38.1.tgz",
"integrity": "sha512-N3XLAyfzqrFxwRLevBeW7Dke9ZlHRVGSIed5abo4Drvj+zvd2OyWpFa1x4nQUc8Lnvt4Kcn8/5le1peRDybNqg==",
"dev": true
},
"svelte-hmr": {

View File

@ -1,13 +1,13 @@
{
"name": "cryptgeon",
"private": true,
"version": "0.0.1",
"scripts": {
"dev": "svelte-kit dev",
"build": "svelte-kit build",
"preview": "svelte-kit preview"
"preview": "svelte-kit preview",
"licenses": "npx license-checker --summary > licenses.csv"
},
"devDependencies": {
"@sveltejs/adapter-static": "next",
"@sveltejs/kit": "next",
"svelte": "^3.34.0",
"svelte-preprocess": "^4.0.0",

View File

@ -1,4 +1,5 @@
const preprocess = require('svelte-preprocess');
const preprocess = require('svelte-preprocess')
const adapter = require('@sveltejs/adapter-static')
/** @type {import('@sveltejs/kit').Config} */
module.exports = {
@ -7,7 +8,10 @@ module.exports = {
preprocess: preprocess(),
kit: {
adapter: adapter({
fallback: 'index.html',
}),
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte'
target: '#svelte',
},
}
};