Files
profilarr/deno.json
2025-10-21 06:10:00 +10:30

43 lines
1.4 KiB
JSON

{
"imports": {
"$config": "./src/utils/config/config.ts",
"$stores": "./src/stores",
"$components": "./src/components",
"$static": "./src/static",
"$db/": "./src/db/",
"$logger": "./src/utils/logger/logger.ts",
"$logger/": "./src/utils/logger/",
"$arr/": "./src/utils/arr/",
"$http/": "./src/utils/http/",
"$api": "./src/utils/api/request.ts",
"$utils/": "./src/utils/"
},
"tasks": {
"dev": "APP_BASE_PATH=./temp vite dev",
"build": "vite build && cp -r build/static .",
"compile": "deno task build && deno compile --no-check --allow-all --output profilarr build/mod.ts",
"start": "APP_BASE_PATH=temp PORT=6975 ./profilarr",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"test": "APP_BASE_PATH=./temp deno test --allow-read --allow-write --allow-env",
"test:watch": "APP_BASE_PATH=./temp deno test --allow-read --allow-write --allow-env --watch"
},
"compilerOptions": {
"lib": ["deno.window", "dom"],
"strict": true
},
"exclude": ["build/", ".svelte-kit/", "node_modules/"],
"fmt": {
"exclude": ["build/", ".svelte-kit/", "node_modules/"],
"indentWidth": 2,
"useTabs": false
},
"lint": {
"exclude": ["build/", ".svelte-kit/", "node_modules/"]
}
}