mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-27 21:20:53 +01:00
- Fixed an empty div tag in Dropdown.svelte to ensure proper HTML structure. - Implemented a custom HTML sanitizer in markdown.ts to avoid postcss dependency issues, allowing only specific tags and attributes to enhance security against XSS attacks.
46 lines
1.8 KiB
JSON
46 lines
1.8 KiB
JSON
{
|
|
"imports": {
|
|
"$config": "./src/lib/server/utils/config/config.ts",
|
|
"$logger/": "./src/lib/server/utils/logger/",
|
|
"$shared/": "./src/lib/shared/",
|
|
"$stores/": "./src/lib/client/stores/",
|
|
"$ui/": "./src/lib/client/ui/",
|
|
"$assets/": "./src/lib/client/assets/",
|
|
"$alerts/": "./src/lib/client/alerts/",
|
|
"$server/": "./src/server/",
|
|
"$db/": "./src/lib/server/db/",
|
|
"$jobs/": "./src/lib/server/jobs/",
|
|
"$pcd/": "./src/lib/server/pcd/",
|
|
"$arr/": "./src/lib/server/utils/arr/",
|
|
"$http/": "./src/lib/server/utils/http/",
|
|
"$utils/": "./src/lib/server/utils/",
|
|
"$notifications/": "./src/lib/server/notifications/",
|
|
"@std/assert": "jsr:@std/assert@^1.0.0",
|
|
"marked": "npm:marked@^15.0.6",
|
|
"simple-icons": "npm:simple-icons@^15.17.0"
|
|
},
|
|
"tasks": {
|
|
"dev": "APP_BASE_PATH=./dist/dev deno run -A npm:vite dev",
|
|
"build": "APP_BASE_PATH=./dist/build deno run -A npm:vite build",
|
|
"preview": "APP_BASE_PATH=./dist/data ./dist/build/profilarr",
|
|
"compile": "deno compile --no-check --allow-net --allow-read --allow-write --allow-env --allow-ffi --allow-run --target x86_64-unknown-linux-gnu --output dist/build/profilarr dist/build/mod.ts",
|
|
"format": "prettier --write .",
|
|
"lint": "prettier --check . && eslint .",
|
|
"test": "APP_BASE_PATH=./dist/test deno test src/tests --allow-read --allow-write --allow-env",
|
|
"test:watch": "APP_BASE_PATH=./dist/test deno test src/tests --allow-read --allow-write --allow-env --watch"
|
|
},
|
|
"compilerOptions": {
|
|
"lib": ["deno.window", "dom"],
|
|
"strict": true
|
|
},
|
|
"exclude": ["dist/", "node_modules/"],
|
|
"fmt": {
|
|
"exclude": ["dist/", "node_modules/"],
|
|
"indentWidth": 2,
|
|
"useTabs": false
|
|
},
|
|
"lint": {
|
|
"exclude": ["dist/", "node_modules/"]
|
|
}
|
|
}
|