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", "license": "GPL-3.0",
"private": true, "private": true,
"scripts": { "scripts": {
"svelte-check": "svelte-check --no-tsconfig", "build": "routify -b && vite build --emptyOutDir",
"build": "yarn svelte-check && routify -b && vite build --emptyOutDir",
"start": "routify -c rollup", "start": "routify -c rollup",
"dev": "routify -c dev:vite", "dev": "routify -c dev:vite",
"dev:vite": "vite --host 0.0.0.0", "dev:vite": "vite --host 0.0.0.0",
"rollup": "rollup -c -w", "rollup": "rollup -c -w",
"test": "vitest run", "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": { "jest": {
"globals": { "globals": {

View File

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