{ "name": "nostics", "type": "module", "version": "1.3.0", "description": "Structured diagnostic code library", "author": "Anthony Fu ", "contributors": [ "Eduardo San Martin Morote ", "Daniel Roe " ], "license": "MIT", "homepage": "https://github.com/vercel-labs/nostics#readme", "repository": { "type": "git", "url": "git+https://github.com/vercel-labs/nostics.git" }, "bugs": "https://github.com/vercel-labs/nostics/issues", "keywords": [], "sideEffects": false, "exports": { ".": "./dist/index.mjs", "./formatters/ansi": "./dist/formatters/ansi.mjs", "./formatters/json": "./dist/formatters/json.mjs", "./reporters/dev": "./dist/reporters/dev.mjs", "./reporters/fetch": "./dist/reporters/fetch.mjs", "./reporters/node": "./dist/reporters/node.mjs", "./package.json": "./package.json" }, "types": "./dist/index.d.mts", "files": [ "dist", "skills" ], "devDependencies": { "@posva/prompts": "^2.4.4", "@size-limit/esbuild-why": "^14.0.0", "@size-limit/preset-small-lib": "^14.0.0", "@types/node": "^26.6.2", "@types/semver": "^7.8.0", "@vitest/coverage-v8": "5.0.1", "conventional-changelog": "^8.1.3", "conventional-changelog-angular": "^9.4.0", "lint-staged": "^17.5.1", "oxfmt": "^0.68.0", "oxlint": "^1.80.0", "oxlint-plugin-posva": "^0.0.2", "publint": "^0.3.24", "semver": "^7.8.5", "simple-git-hooks": "^2.14.0", "size-limit": "^14.0.0", "tsdown": "^0.23.0", "tsnapi": "^1.5.0", "typescript": "^6.0.0", "vite": "^8.3.0", "vitest": "^5.0.1" }, "simple-git-hooks": { "pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && pnpm lint-staged" }, "lint-staged": { "*": [ "oxfmt --no-error-on-unmatched-pattern", "oxlint --no-error-on-unmatched-pattern --fix" ] }, "size-limit": [ { "name": "defineDiagnostics from source", "path": "src/index.ts", "import": "{ defineDiagnostics }" }, { "name": "defineDiagnostics", "path": "dist/index.mjs", "import": "{ defineDiagnostics }" }, { "name": "defineProdDiagnostics", "path": "dist/index.mjs", "import": "{ defineProdDiagnostics }" }, { "name": "defineDiagnostics + createConsoleReporter", "path": "dist/index.mjs", "import": "{ defineDiagnostics, createConsoleReporter }" }, { "name": "defineProdDiagnostics + createConsoleReporter", "path": "dist/index.mjs", "import": "{ defineProdDiagnostics, createConsoleReporter }" }, { "name": "formatDiagnostic", "path": "dist/index.mjs", "import": "{ formatDiagnostic }" }, { "name": "full root", "path": "dist/index.mjs", "import": "*" }, { "name": "ansi formatter", "path": "dist/formatters/ansi.mjs", "import": "*" } ], "scripts": { "build": "tsdown && pnpm --filter \"./packages/*\" run build", "dev": "vitest", "docs": "pnpm -C docs run dev", "docs:build": "pnpm -C docs run build", "play": "pnpm -C playground run dev", "lint": "oxlint ${CI:+--deny-warnings} . && oxfmt --check .", "lint:fix": "oxfmt && oxlint --fix .", "fmt": "oxfmt", "release": "node scripts/release.ts", "size": "size-limit", "test": "pnpm run build && pnpm run \"/^test:/\"", "test:unit": "vitest run --coverage", "test:types": "pnpm run typecheck", "test:lint": "pnpm run lint", "test:demo": "pnpm -C demo-lib run build && pnpm -C demo-lib run test && pnpm -C playground run build", "typecheck": "tsc && pnpm --filter \"./packages/*\" run typecheck" } }