{"name":"mutation-testing-report-schema","version":"3.1.1","license":"Apache-2.0","_id":"mutation-testing-report-schema@3.1.1","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":"3695a4932955f7eb4e05a00342bd94c3b445143b","tarball":"http://registry-npm.ywwl.com/mutation-testing-report-schema/download/mutation-testing-report-schema-3.1.1.tgz","fileCount":14,"integrity":"sha512-lWIbgUEnMEdsY2yymC7SZRBO+6dbZa5tY/Bmw+xjXYPdBxTVlnd2mjKRPZ6FUxgHJ9vMQmQnktMNAKCWZp1H0A==","signatures":[{"sig":"MEUCIQDFps/l7S7TW97ocC90q6s3kEPxZQFrDkOD4YADx4AMowIgNWHcr9Pta6KhAe8MmlacNDZZ1+R8NmnMVqMqlL06+3A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mutation-testing-report-schema@3.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42230,"size":10331,"noattachment":false,"key":"/mutation-testing-report-schema/-/mutation-testing-report-schema-3.1.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":"c3789ddb003b9411721f9b012e3b35e491bf9bc6","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":"https://github.com/stryker-mutator/mutation-testing-elements.git","type":"git","directory":"packages/report-schema"},"_npmVersion":"lerna/8.1.6/node@v22.4.1+x64 (linux)","description":"The json schema for a mutation testing report.","directories":{},"_nodeVersion":"22.4.1","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.1.1_1721309511040_0.010292119296455349","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":1721309511196,"maintainers":[{"name":"nicojs","email":"jansennico@gmail.com"},{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"}],"_cnpm_publish_time":1721309511196,"dist-tags":{"latest":"3.9.0"}}