{"_id":"@elliotjreed/vitest-minimal-reporter","_rev":"2-e55c67115fa494e3b3eb9bac8bea3fc6","name":"@elliotjreed/vitest-minimal-reporter","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@elliotjreed/vitest-minimal-reporter","version":"1.0.0","keywords":["vitest","reporter","minimal","token","llm","ai"],"author":{"name":"Elliot J. Reed"},"license":"MIT","_id":"@elliotjreed/vitest-minimal-reporter@1.0.0","maintainers":[{"name":"elliotjreed","email":"npmjs@elliotjreed.com"}],"homepage":"https://github.com/elliotjreed/code-assistant-token-optimiser#readme","bugs":{"url":"https://github.com/elliotjreed/code-assistant-token-optimiser/issues"},"dist":{"shasum":"20e7b4e04a6512a0ee3e71975555365cf245e85e","tarball":"https://registry.npmjs.org/@elliotjreed/vitest-minimal-reporter/-/vitest-minimal-reporter-1.0.0.tgz","fileCount":9,"integrity":"sha512-Pnyr9b7DSN6wnm6ARL7Xi+p+EituYJu9NwarHlt3XMTtxUMmeeFfRjQy7QB+jANGzEUPEacO6SfvkaBYfOcjaA==","signatures":[{"sig":"MEUCIQCVnjIppBdTgwjdC0ROOkCmTop7ZlnlX2sxNAvloZFv2gIgfhp/L3xyZz5qmM418+OWfZcjHQ6AGmSziXLWca5/vmg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29272},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"elliotjreed","email":"npmjs@elliotjreed.com"},"repository":{"url":"git+https://github.com/elliotjreed/code-assistant-token-optimiser.git","type":"git"},"_npmVersion":"11.12.0","description":"Minimal Vitest reporter optimised for LLM token efficiency","directories":{},"_nodeVersion":"25.8.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^3.0.5","typescript":"^5.7.3","@types/node":"^22.10.5"},"peerDependencies":{"vitest":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest-minimal-reporter_1.0.0_1774386331801_0.35515584620368057","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@elliotjreed/vitest-minimal-reporter","version":"1.1.0","description":"Minimal Vitest reporter optimised for LLM token efficiency","keywords":["ai","llm","minimal","reporter","token","vitest"],"homepage":"https://www.elliotjreed.com","license":"MIT","author":{"name":"Elliot J. Reed"},"repository":{"type":"git","url":"git+https://github.com/elliotjreed/code-assistant-token-optimiser.git"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"build":"tsup","test":"vitest run","typecheck":"tsc --noEmit","format":"oxfmt","format:check":"oxfmt --check","lint":"oxlint","lint:fix":"oxlint --fix"},"dependencies":{"oxfmt":"^0.42.0","oxlint":"^1.57.0"},"devDependencies":{"@types/node":"^22.10.5","tsup":"^8.3.5","typescript":"^5.7.3","vitest":"^3.0.5"},"peerDependencies":{"vitest":">=3.0.0"},"engines":{"node":">=18"},"gitHead":"a777ff815982000e3ce4b904a5d671b4e1e6e008","_id":"@elliotjreed/vitest-minimal-reporter@1.1.0","bugs":{"url":"https://github.com/elliotjreed/code-assistant-token-optimiser/issues"},"_nodeVersion":"25.8.1","_npmVersion":"11.12.0","dist":{"integrity":"sha512-LjnYqkZkeopIEcK8KCbN3Ycvm8WtxqYKX2SDFv47MFuUSpvpmjBXrVDIGN0Ddy2z8A950KbNYxEvbd7CuO6cOQ==","shasum":"29fc0e883310057bd0b0a755c1588b57409e7c26","tarball":"https://registry.npmjs.org/@elliotjreed/vitest-minimal-reporter/-/vitest-minimal-reporter-1.1.0.tgz","fileCount":9,"unpackedSize":29506,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCMO2bdtDiA65Wx/mXjYGUELzFqQl7mpFJHLoVI4YsKFgIhAPlttJQm+5JNnmWudgsjMapxBOUPuzyoPshH/9+fST9d"}]},"_npmUser":{"name":"elliotjreed","email":"npmjs@elliotjreed.com"},"directories":{},"maintainers":[{"name":"elliotjreed","email":"npmjs@elliotjreed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vitest-minimal-reporter_1.1.0_1774390889911_0.34472629053002146"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-24T21:05:31.716Z","modified":"2026-03-24T22:21:30.166Z","1.0.0":"2026-03-24T21:05:31.972Z","1.1.0":"2026-03-24T22:21:30.051Z"},"bugs":{"url":"https://github.com/elliotjreed/code-assistant-token-optimiser/issues"},"author":{"name":"Elliot J. Reed"},"license":"MIT","homepage":"https://www.elliotjreed.com","keywords":["ai","llm","minimal","reporter","token","vitest"],"repository":{"type":"git","url":"git+https://github.com/elliotjreed/code-assistant-token-optimiser.git"},"description":"Minimal Vitest reporter optimised for LLM token efficiency","maintainers":[{"name":"elliotjreed","email":"npmjs@elliotjreed.com"}],"readme":"# @elliotjreed/vitest-minimal-reporter\n\nA minimal [Vitest](https://vitest.dev/) reporter optimised for LLM token efficiency. Shows only failing tests and a concise summary, reducing noise in AI coding assistant contexts.\n\n## Installation\n\n```bash\nnpm install --save-dev @elliotjreed/vitest-minimal-reporter\n```\n\nor with Bun:\n\n```bash\nbun add --dev @elliotjreed/vitest-minimal-reporter\n```\n\n## Usage\n\nAdd the reporter to your Vitest configuration:\n\n```ts\n// vitest.config.ts\nimport { defineConfig } from \"vitest/config\";\nimport MinimalReporter from \"@elliotjreed/vitest-minimal-reporter\";\n\nexport default defineConfig({\n  test: {\n    reporters: [new MinimalReporter()],\n  },\n});\n```\n\n## Output format\n\nOnly failing tests are shown, each with the relative file path, test name, and error message:\n\n```\nFAIL src/validation.test.ts > should validate email\nExpected true but received false\n\nFAIL src/auth.test.ts > Authentication > Login > should reject invalid password\nPassword incorrect\n\n\nTest Files 1 failed | 2 passed (3)\nTests 2 failed | 8 passed (10)\nDuration 1.23s\n```\n\nWhen all tests pass, only the summary is output:\n\n```\n\nTest Files 3 passed (3)\nTests 10 passed (10)\nDuration 0.98s\n```\n\n## Development\n\n### Setup\n\n```bash\nbun install\n```\n\n### Testing\n\n```bash\nbun run test\n```\n\n### Building\n\n```bash\nbun run build\n```\n\n### Type checking\n\n```bash\nbun run typecheck\n```\n\n## Publishing\n\n1. Build the package:\n\n   ```bash\n   bun run build\n   ```\n\n2. Update the version in `package.json` following [semantic versioning](https://semver.org/).\n\n3. Publish to npm:\n\n   ```bash\n   npm publish --access public\n   ```\n\n4. Commit and tag the release:\n   ```bash\n   git add package.json\n   git commit -m \"Release v1.0.0\"\n   git tag v1.0.0\n   git push && git push --tags\n   ```\n\n## Licence\n\nMIT - See [LICENSE](./LICENSE)\n","readmeFilename":"README.md"}