46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
||
"name": "@valkyr/db",
|
||
"version": "3.0.0",
|
||
"exports": {
|
||
".": "./src/mod.ts"
|
||
},
|
||
"publish": {
|
||
"exclude": [".github", ".vscode", ".gitignore", "tests"]
|
||
},
|
||
"tasks": {
|
||
"check": {
|
||
"description": "Run formatting/linting with Biome and type-check the source code with Deno.",
|
||
"dependencies": ["check:biome", "check:deno"]
|
||
},
|
||
|
||
"check:biome": {
|
||
"command": "deno run -A npm:@biomejs/biome@2.3.10 check --write ./src",
|
||
"description": "Format, lint, and organize imports in the src directory using Biome."
|
||
},
|
||
|
||
"check:deno": {
|
||
"command": "deno check ./src",
|
||
"description": "Perform full TypeScript type-checking on the src directory."
|
||
},
|
||
|
||
"test": {
|
||
"command": "deno test --allow-all",
|
||
"description": "Run all tests using Deno’s built-in test runner."
|
||
},
|
||
|
||
"test:publish": {
|
||
"command": "deno publish --dry-run",
|
||
"description": "Validate that the package can be published without errors."
|
||
},
|
||
|
||
"ncu": {
|
||
"command": "npx npm-check-updates -u -p npm",
|
||
"description": "Update npm dependencies in package.json to their latest compatible versions."
|
||
}
|
||
},
|
||
"compilerOptions": {
|
||
"lib": ["deno.window", "dom"]
|
||
},
|
||
"nodeModulesDir": "auto"
|
||
}
|