Add checks

This commit is contained in:
Adria Navarro 2024-11-26 12:29:24 +01:00
parent 55b9e530e0
commit f1c7d1e257
2 changed files with 9 additions and 13 deletions

View File

@ -4,14 +4,16 @@
"license": "GPL-3.0",
"private": true,
"scripts": {
"svelte-check": "svelte-check --no-tsconfig",
"build": "yarn svelte-check && routify -b && vite build --emptyOutDir",
"build": "routify -b && vite build --emptyOutDir",
"start": "routify -c rollup",
"dev": "routify -c dev:vite",
"dev:vite": "vite --host 0.0.0.0",
"rollup": "rollup -c -w",
"test": "vitest run",
"test:watch": "vitest"
"test:watch": "vitest",
"svelte-check": "svelte-check --no-tsconfig",
"check:types": "yarn svelte-check && yarn check:ts",
"check:ts": "tsc --noEmit --target es2020"
},
"jest": {
"globals": {

View File

@ -9,15 +9,9 @@
"noImplicitAny": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"incremental": true
"incremental": true,
"skipLibCheck": true
},
"include": [
"./src/**/*"
],
"exclude": [
"node_modules",
"**/*.json",
"**/*.spec.ts",
"**/*.spec.js"
]
"include": ["./src/**/*"],
"exclude": ["node_modules", "**/*.json", "**/*.spec.ts", "**/*.spec.js"]
}