{"name":"mutation-testing-report-schema","version":"3.5.1","license":"Apache-2.0","_id":"mutation-testing-report-schema@3.5.1","maintainers":[{"name":"nicojs","email":"jansennico@gmail.com"},{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"}],"homepage":"https://github.com/stryker-mutator/mutation-testing-elements/tree/master/packages/elements#readme","bugs":{"url":"https://github.com/stryker-mutator/mutation-testing-elements/issues"},"nx":{"name":"report-schema"},"dist":{"shasum":"c9f234b301df3caf28c093e5941f30ad78592f83","tarball":"http://registry-npm.ywwl.com/mutation-testing-report-schema/download/mutation-testing-report-schema-3.5.1.tgz","fileCount":17,"integrity":"sha512-tu5ATRxGH3sf2igiTKonxlCsWnWcD3CYr3IXGUym7yTh3Mj5NoJsu7bDkJY99uOrEp6hQByC2nRUPEGfe6EnAg==","signatures":[{"sig":"MEUCIQDjavFphcltNaHL0omxmHGuVl29fBBEzBNuQxR2qoxhMwIgbWiqbJwNTYoRLXaHa5duWe6cK72g9OI6YSU5dpnFm+4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mutation-testing-report-schema@3.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":61870,"size":12102,"noattachment":false,"key":"/mutation-testing-report-schema/-/mutation-testing-report-schema-3.5.1.tgz"},"main":"dist/src/index.js","type":"module","exports":{".":"./dist/src/index.js","./api":"./dist/src-generated/schema.js","./mutation-testing-report-schema.json":"./dist/src/mutation-testing-report-schema.json"},"gitHead":"ec7d80abbde8f29147da2eccd6e4bdc1085c9c72","scripts":{"lint":"eslint .","test":"mocha --node-option \"enable-source-maps\" --forbid-only --forbid-pending dist/test/**/*.js","generate":"node ../../tasks/schema2ts.mjs src/mutation-testing-report-schema.json src-generated/schema.ts","postpublish":"PUBLISH_SCHEMA=true ../metrics-scala/npmProjPublish.sh"},"typings":"dist/src/index.d.ts","_npmUser":{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"},"repository":{"url":"git+https://github.com/stryker-mutator/mutation-testing-elements.git","type":"git","directory":"packages/report-schema"},"_npmVersion":"lerna/8.1.9/node@v20.18.2+x64 (linux)","description":"The json schema for a mutation testing report.","directories":{},"_nodeVersion":"20.18.2","typesVersions":{"*":{"api":["dist/src-generated/schema.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ajv":"8.17.1","eslint-config-mte":"*"},"_npmOperationalInternal":{"tmp":"tmp/mutation-testing-report-schema_3.5.1_1739198884674_0.7011995210184578","host":"s3://npm-registry-packages-npm-production"},"readme":"[![Build Status](https://github.com/stryker-mutator/mutation-testing-elements/workflows/CI/badge.svg)](https://github.com/stryker-mutator/mutation-testing-elements/actions?query=workflow%3ACI+branch%3Amaster)\n\n# Mutation testing elements schema\n\nThe json schema for mutation testing elements.\n\nThe schema can be found [here](https://github.com/stryker-mutator/mutation-testing-elements/blob/master/packages/report-schema/src/mutation-testing-report-schema.json).\n\n## JavaScript\n\nInstall it with npm like this:\n\n```sh\n$ npm i mutation-testing-report-schema\n```\n\nUse it from typescript or js (with babel)\n\n```ts\nimport { schema } from 'mutation-testing-elements-schema';\n```\n\nFor example, use [AJV](https://github.com/epoberezkin/ajv#ajv-another-json-schema-validator):\n\n```ts\nconst schemaValidator = new Ajv();\nschemaValidator.addSchema(schema, 'mutation-testing-report-schema');\nschemaValidator.validate('mutation-testing-report-schema', {/*.. report as json ...*/});\n```\n\n## Other languages\n\nDownload the schema using https://www.unpkg.com/mutation-testing-report-schema@VERSION/dist/src/mutation-testing-report-schema.json\n\nFor the current version, see package.json.\n","publish_time":1739198884949,"_cnpm_publish_time":1739198884949,"dist-tags":{"latest":"3.9.0"}}