mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2024-12-21 23:56:26 +00:00
config
This commit is contained in:
parent
d03663258c
commit
b3c72786cb
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,4 +3,5 @@ node_modules
|
|||||||
/.svelte-kit
|
/.svelte-kit
|
||||||
/package
|
/package
|
||||||
/build
|
/build
|
||||||
.vercel_build_output
|
.vercel_build_output
|
||||||
|
.vercel
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
"preview": "svelte-kit preview",
|
"preview": "svelte-kit preview",
|
||||||
"check": "svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
||||||
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
|
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
|
||||||
"generate": "graphql-codegen"
|
"generate": "graphql-codegen",
|
||||||
|
"ci": "pnpm run generate && pnpm run check && pnpm run build"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -20,7 +21,6 @@
|
|||||||
"graphql": "^15.8.0",
|
"graphql": "^15.8.0",
|
||||||
"graphql-request": "^3.7.0",
|
"graphql-request": "^3.7.0",
|
||||||
"graphql-tag": "^2.12.6",
|
"graphql-tag": "^2.12.6",
|
||||||
"rollup-plugin-analyzer": "^4.0.0",
|
|
||||||
"svelte": "^3.44.3",
|
"svelte": "^3.44.3",
|
||||||
"svelte-check": "^2.2.11",
|
"svelte-check": "^2.2.11",
|
||||||
"svelte-preprocess": "^4.10.1",
|
"svelte-preprocess": "^4.10.1",
|
||||||
|
7
pnpm-lock.yaml
generated
7
pnpm-lock.yaml
generated
@ -14,7 +14,6 @@ specifiers:
|
|||||||
graphql-tag: ^2.12.6
|
graphql-tag: ^2.12.6
|
||||||
highlight.js: ^11.3.1
|
highlight.js: ^11.3.1
|
||||||
lunr: ^2.3.9
|
lunr: ^2.3.9
|
||||||
rollup-plugin-analyzer: ^4.0.0
|
|
||||||
svelte: ^3.44.3
|
svelte: ^3.44.3
|
||||||
svelte-check: ^2.2.11
|
svelte-check: ^2.2.11
|
||||||
svelte-cloudinary: ^0.2.4
|
svelte-cloudinary: ^0.2.4
|
||||||
@ -39,7 +38,6 @@ devDependencies:
|
|||||||
graphql: 15.8.0
|
graphql: 15.8.0
|
||||||
graphql-request: 3.7.0_graphql@15.8.0
|
graphql-request: 3.7.0_graphql@15.8.0
|
||||||
graphql-tag: 2.12.6_graphql@15.8.0
|
graphql-tag: 2.12.6_graphql@15.8.0
|
||||||
rollup-plugin-analyzer: 4.0.0
|
|
||||||
svelte: 3.44.3
|
svelte: 3.44.3
|
||||||
svelte-check: 2.2.11_svelte@3.44.3
|
svelte-check: 2.2.11_svelte@3.44.3
|
||||||
svelte-preprocess: 4.10.1_svelte@3.44.3+typescript@4.5.4
|
svelte-preprocess: 4.10.1_svelte@3.44.3+typescript@4.5.4
|
||||||
@ -3443,11 +3441,6 @@ packages:
|
|||||||
glob: 7.2.0
|
glob: 7.2.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/rollup-plugin-analyzer/4.0.0:
|
|
||||||
resolution: {integrity: sha512-LL9GEt3bkXp6Wa19SNR5MWcvHNMvuTFYg+eYBZN2OIFhSWN+pEJUQXEKu5BsOeABob3x9PDaLKW7w5iOJnsESQ==}
|
|
||||||
engines: {node: '>=8.0.0'}
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/rollup/2.61.1:
|
/rollup/2.61.1:
|
||||||
resolution: {integrity: sha512-BbTXlEvB8d+XFbK/7E5doIcRtxWPRiqr0eb5vQ0+2paMM04Ye4PZY5nHOQef2ix24l/L0SpLd5hwcH15QHPdvA==}
|
resolution: {integrity: sha512-BbTXlEvB8d+XFbK/7E5doIcRtxWPRiqr0eb5vQ0+2paMM04Ye4PZY5nHOQef2ix24l/L0SpLd5hwcH15QHPdvA==}
|
||||||
engines: {node: '>=10.0.0'}
|
engines: {node: '>=10.0.0'}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import preprocess from 'svelte-preprocess'
|
import preprocess from 'svelte-preprocess'
|
||||||
import adapter from '@sveltejs/adapter-static'
|
import adapter from '@sveltejs/adapter-static'
|
||||||
import analyze from 'rollup-plugin-analyzer'
|
|
||||||
|
|
||||||
/** @type {import('@sveltejs/kit').Config} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
@ -8,14 +7,6 @@ const config = {
|
|||||||
kit: {
|
kit: {
|
||||||
adapter: adapter(),
|
adapter: adapter(),
|
||||||
target: '#svelte',
|
target: '#svelte',
|
||||||
|
|
||||||
vite: {
|
|
||||||
build: {
|
|
||||||
rollupOptions: {
|
|
||||||
plugins: [analyze()],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user