{"name":"mutation-testing-report-schema","version":"2.0.3","license":"Apache-2.0","_id":"mutation-testing-report-schema@2.0.3","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"},"dist":{"shasum":"d68514e4c7a92a5d6a739510837ca380fca34239","tarball":"http://registry-npm.ywwl.com/mutation-testing-report-schema/download/mutation-testing-report-schema-2.0.3.tgz","fileCount":13,"integrity":"sha512-+x6ssyq4xVkUyHbbbbiU1pCla7QHO/VRaxfHsOb4JGCw+56EtCJ4w4wQuQ24J5DYTRCAZ5y2oBk7DwP8UXWbwg==","signatures":[{"sig":"MEYCIQDsdAwOoMY1UIDWiPjcFOnHLc1FTI7ew8kOTwJAQy2kaQIhAMv7OfH3glh+Ev0K84q7FbTQnV7Uoz/ocIBHfdUjFsdW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mutation-testing-report-schema@2.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":55471,"size":12637,"noattachment":false,"key":"/mutation-testing-report-schema/-/mutation-testing-report-schema-2.0.3.tgz"},"main":"dist/src/index.js","exports":{".":"./dist/src/index.js","./api":"./dist/src-generated/schema.js"},"gitHead":"ab01f017bd53bf5b0d737710a10d47ebe02a63ee","scripts":{"test":"mocha --forbid-only --forbid-pending -r source-map-support/register dist/test/**/*.js","generate":"node ../../tasks/schema2ts.js src/mutation-testing-report-schema.json src-generated/schema.ts","postpublish":"PUBLISH_SCHEMA=true ../metrics-scala/npmProjPublish.sh dist/src"},"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/7.1.4/node@v18.17.0+x64 (linux)","description":"The json schema for a mutation testing report.","directories":{},"_nodeVersion":"18.17.0","typesVersions":{"*":{"api":["dist/src-generated/schema.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mutation-testing-report-schema_2.0.3_1690489178899_0.7174207833420898","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":1690489179084,"maintainers":[{"name":"nicojs","email":"jansennico@gmail.com"},{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"}],"_cnpm_publish_time":1690489179084,"dist-tags":{"latest":"3.9.0"}}