@stryker-mutator/core
Version:
The extendable JavaScript mutation testing framework
15 lines (11 loc) • 395 B
text/typescript
import { fileURLToPath, URL } from 'url';
import fs from 'fs';
import { deepFreeze } from '@stryker-mutator/util';
const pkg = deepFreeze(
JSON.parse(fs.readFileSync(fileURLToPath(new URL('../../package.json', import.meta.url)), 'utf-8')) as {
version: string;
engines: { node: string };
},
);
export const strykerVersion = pkg.version;
export const strykerEngines = pkg.engines;