{"name":"mutation-testing-report-schema","version":"3.0.2","license":"Apache-2.0","_id":"mutation-testing-report-schema@3.0.2","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":"a0843d04a4475f1f77b94a95f474f237dbf468e7","tarball":"http://registry-npm.ywwl.com/mutation-testing-report-schema/download/mutation-testing-report-schema-3.0.2.tgz","fileCount":14,"integrity":"sha512-1F6s37zFDsoWa262sANVBDKANMvmKPVU1FAVEpSCMtKAGkFoar+tjXUlPnD0dWJfPuKV58G86zP7sMlcu+QOJQ==","signatures":[{"sig":"MEYCIQDmOuSKCLRobAhuvH2LnvmIqfBqvls5OO1rI/k2UGiHGQIhAPIUol173mIY8QTOE7jBs4mSruVZl6URcZR/OQVT6+Mz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mutation-testing-report-schema@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":42238,"size":10337,"noattachment":false,"key":"/mutation-testing-report-schema/-/mutation-testing-report-schema-3.0.2.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":"8a604e40610c22f1712b853051319f3cbd8b849e","scripts":{"lint":"eslint --ext .js,.ts .","test":"mocha --forbid-only --forbid-pending -r source-map-support/register 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.0.1/node@v20.10.0+x64 (linux)","description":"The json schema for a mutation testing report.","directories":{},"_nodeVersion":"20.10.0","typesVersions":{"*":{"api":["dist/src-generated/schema.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ajv":"8.12.0","eslint-config-mte":"*"},"_npmOperationalInternal":{"tmp":"tmp/mutation-testing-report-schema_3.0.2_1703344091322_0.5902301264987266","host":"s3://npm-registry-packages"},"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":1703344091524,"maintainers":[{"name":"nicojs","email":"jansennico@gmail.com"},{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"}],"_cnpm_publish_time":1703344091524,"dist-tags":{"latest":"3.9.0"}}