mirror of
https://github.com/tiennm99/dating.git
synced 2026-08-31 18:30:54 +00:00
- rewrite lib, routes, and vite config as js with jsdoc type annotations - replace tsconfig with jsconfig and point svelte-check at it - drop typescript-eslint from eslint config and dev dependencies - resolve nav hrefs in template to satisfy svelte navigation lint rule - add gitattributes forcing lf so prettier and autocrlf stop conflicting
36 lines
1006 B
JSON
36 lines
1006 B
JSON
{
|
|
"name": "dating",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"packageManager": "pnpm@11.8.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"build:gh": "BUILD_PROFILE=gh vite build",
|
|
"preview": "vite preview",
|
|
"prepare": "svelte-kit sync || echo ''",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
|
|
"lint": "prettier --check . && eslint .",
|
|
"format": "prettier --write ."
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
"@sveltejs/kit": "^2.63.0",
|
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
"@types/node": "^24",
|
|
"eslint": "^10.4.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-svelte": "^3.19.0",
|
|
"globals": "^17.6.0",
|
|
"prettier": "^3.8.3",
|
|
"prettier-plugin-svelte": "^4.1.0",
|
|
"svelte": "^5.56.1",
|
|
"svelte-check": "^4.6.0",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.0.16"
|
|
}
|
|
}
|