|
| 1 | +{ |
| 2 | + "name": "@neabyte/stackz", |
| 3 | + "description": "Beautiful stack trace formatter with source code context for JavaScript", |
| 4 | + "version": "0.1.0", |
| 5 | + "type": "module", |
| 6 | + "license": "MIT", |
| 7 | + "exports": "./src/index.ts", |
| 8 | + "compilerOptions": { |
| 9 | + "allowUnreachableCode": false, |
| 10 | + "allowUnusedLabels": false, |
| 11 | + "checkJs": false, |
| 12 | + "exactOptionalPropertyTypes": true, |
| 13 | + "jsx": "react", |
| 14 | + "lib": ["deno.ns", "dom", "esnext"], |
| 15 | + "noErrorTruncation": true, |
| 16 | + "noFallthroughCasesInSwitch": true, |
| 17 | + "noImplicitAny": true, |
| 18 | + "noImplicitOverride": true, |
| 19 | + "noImplicitReturns": true, |
| 20 | + "noImplicitThis": true, |
| 21 | + "noPropertyAccessFromIndexSignature": true, |
| 22 | + "noUncheckedIndexedAccess": true, |
| 23 | + "noUnusedLocals": true, |
| 24 | + "noUnusedParameters": true, |
| 25 | + "strict": true, |
| 26 | + "strictBindCallApply": true, |
| 27 | + "strictFunctionTypes": true, |
| 28 | + "strictNullChecks": true, |
| 29 | + "strictPropertyInitialization": true, |
| 30 | + "useUnknownInCatchVariables": true |
| 31 | + }, |
| 32 | + "fmt": { |
| 33 | + "bracePosition": "sameLine", |
| 34 | + "indentWidth": 2, |
| 35 | + "lineWidth": 100, |
| 36 | + "proseWrap": "preserve", |
| 37 | + "semiColons": false, |
| 38 | + "singleBodyPosition": "nextLine", |
| 39 | + "singleQuote": true, |
| 40 | + "spaceAround": false, |
| 41 | + "spaceSurroundingProperties": true, |
| 42 | + "trailingCommas": "never", |
| 43 | + "useBraces": "always", |
| 44 | + "useTabs": false |
| 45 | + }, |
| 46 | + "lint": { |
| 47 | + "include": ["src/"], |
| 48 | + "rules": { |
| 49 | + "tags": ["fresh", "jsr", "jsx", "react", "recommended", "workspace"], |
| 50 | + "include": [ |
| 51 | + "ban-untagged-todo", |
| 52 | + "camelcase", |
| 53 | + "default-param-last", |
| 54 | + "eqeqeq", |
| 55 | + "explicit-function-return-type", |
| 56 | + "explicit-module-boundary-types", |
| 57 | + "guard-for-in", |
| 58 | + "no-await-in-loop", |
| 59 | + "no-boolean-literal-for-arguments", |
| 60 | + "no-const-assign", |
| 61 | + "no-eval", |
| 62 | + "no-implicit-declare-namespace-export", |
| 63 | + "no-inferrable-types", |
| 64 | + "no-invalid-triple-slash-reference", |
| 65 | + "no-non-null-asserted-optional-chain", |
| 66 | + "no-non-null-assertion", |
| 67 | + "no-self-compare", |
| 68 | + "no-sparse-arrays", |
| 69 | + "no-sync-fn-in-async-fn", |
| 70 | + "no-throw-literal", |
| 71 | + "no-undef", |
| 72 | + "no-useless-rename", |
| 73 | + "no-top-level-await", |
| 74 | + "single-var-declarator" |
| 75 | + ], |
| 76 | + "exclude": ["no-console", "no-external-import", "prefer-ascii", "prefer-primordials"] |
| 77 | + } |
| 78 | + }, |
| 79 | + "lock": true, |
| 80 | + "nodeModulesDir": "none", |
| 81 | + "test": { |
| 82 | + "include": ["tests/**/*.ts"], |
| 83 | + "exclude": ["tests/**/*.d.ts"] |
| 84 | + }, |
| 85 | + "tasks": { |
| 86 | + "check": "deno fmt src/ && deno lint src/ && deno check src/", |
| 87 | + "test": "deno fmt tests/ && deno lint tests/ && deno test --no-check" |
| 88 | + }, |
| 89 | + "imports": { |
| 90 | + "@std/assert": "jsr:@std/assert@^1.0.15", |
| 91 | + "@app/": "./src/", |
| 92 | + "@tests/": "./tests/" |
| 93 | + }, |
| 94 | + "publish": { |
| 95 | + "exclude": [ |
| 96 | + "*.bench.ts", |
| 97 | + "*.spec.ts", |
| 98 | + "*.test.ts", |
| 99 | + ".github/", |
| 100 | + "bench/", |
| 101 | + "build.config.ts", |
| 102 | + "coverage/", |
| 103 | + "dist/", |
| 104 | + "package-lock.json", |
| 105 | + "package.json", |
| 106 | + "tests/" |
| 107 | + ] |
| 108 | + } |
| 109 | +} |
0 commit comments