UNPKG

monocart-coverage-reports

Version:

A code coverage tool to generate native V8 reports or Istanbul reports.

137 lines (136 loc) 5.76 kB
{ "name": "monocart-coverage-reports", "version": "2.12.11", "description": "A code coverage tool to generate native V8 reports or Istanbul reports.", "main": "./lib/index.js", "bin": { "mcr": "./lib/cli.js" }, "exports": { ".": { "types": "./lib/index.d.ts", "import": "./lib/index.mjs", "require": "./lib/index.js" }, "./register": { "import": "./lib/register/register.mjs", "require": "./lib/register/register.js" }, "./converter": "./lib/converter/converter.js", "./util": "./lib/utils/util.js", "./package.json": "./package.json" }, "types": "./lib/index.d.ts", "scripts": { "build-test": "node ./test/build/build-test.js", "build": "npx sf lint && npx sf b -p && npm run build-test", "test-unit": "mocha --parallel test/unit/*.test.js", "test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-report.js", "test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-api node ./test/test-node-api.js", "test-node-ins": "node ./test/test-node-ins.js", "test-node-cdp": "node --inspect=9229 ./test/test-node-cdp.js", "test-node-vm": "node ./test/test-node-vm.js", "test-node-koa": "node ./test/test-node-koa.js", "test-node-fgc": "node ./test/test-node-fgc.js", "test-node": "node ./test/test.js --node", "test-istanbul": "node ./test/test-istanbul.js", "test-v8": "node ./test/test-v8.js", "test-puppeteer": "node ./test/test-puppeteer.js", "test-css": "node ./test/test-css.js", "test-minify": "node ./test/test-minify.js", "test-esbuild": "node ./test/test-esbuild.js", "test-rollup": "node ./test/test-rollup.js", "test-sections": "node ./test/test-sections.js", "test-swc": "node ./test/test-swc.js", "test-v8-and-istanbul": "node ./test/test-v8-and-istanbul.js", "test-browser": "node ./test/test.js --browser", "test-cli": "npx mcr node ./test/specs/node.test.js -c test/mcr.config.cli.js", "test-demo": "node ./test/test-demo.js", "test-merge": "node ./test/test-merge.js", "test-merge-istanbul": "node ./test/test-merge-istanbul.js", "test-merge-v8": "node ./test/test-merge-v8.js", "test-merge-cli": "npx mcr merge -r console-details,v8 --inputDir .temp/code-coverage/raw --outputDir .temp/merge-cli", "test-client": "node ./test/test-client.js", "test-cp": "npx mcr node test/test-cp.mjs --outputDir .temp/test-cp", "test-all": "node ./test/test.js", "test-pr": "node --inspect=9230 ./test/test-pr.js", "test": "npm run test-unit && npx mcr npm run test-all -c test/mcr.config.mcr.js && node ./scripts/docs.js", "test:snap": "cross-env TEST_SNAPSHOT=true npm run test", "dev": "npx sf d app", "open": "node ./scripts/open.js", "eol": "git rm -rf --cached . && git reset --hard HEAD", "patch": "npm run build && npm run test && npx sf publish patch -r", "beta": "npm version prerelease --preid=beta && npm run build && npm run test && npm publish --tag beta" }, "files": [ "lib", "README.zh-Hans.md" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/cenfun/monocart-coverage-reports.git" }, "dependencies": { "acorn": "^8.16.0", "acorn-loose": "^8.5.2", "acorn-walk": "^8.3.5", "commander": "^14.0.3", "console-grid": "^2.2.4", "eight-colors": "^1.3.3", "foreground-child": "^4.0.3", "istanbul-lib-coverage": "^3.2.2", "istanbul-lib-report": "^3.0.1", "istanbul-reports": "^3.2.0", "lz-utils": "^2.1.1", "monocart-locator": "^1.0.3" }, "devDependencies": { "@actions/core": "^3.0.0", "@actions/github": "^9.1.0", "@jridgewell/sourcemap-codec": "^1.5.5", "@jsdevtools/coverage-istanbul-loader": "^3.0.5", "@rollup/plugin-commonjs": "^29.0.2", "@rollup/plugin-typescript": "^12.3.0", "@swc/core": "^1.15.30", "@types/node": "^25.6.0", "async-tick": "^1.0.2", "babel-loader": "^10.1.1", "babel-plugin-istanbul": "^8.0.0", "convert-source-map": "^2.0.0", "cross-env": "^10.1.0", "diff-sequences": "^29.6.3", "esbuild": "^0.28.0", "eslint": "~10.2.1", "eslint-config-plus": "^2.0.4", "eslint-plugin-html": "^8.1.4", "eslint-plugin-vue": "^10.8.0", "find-up": "^8.0.0", "foreground-child": "^4.0.3", "koa": "^3.2.0", "koa-static-resolver": "^1.0.6", "minimatch": "^9.0.5", "mocha": "^11.7.5", "monocart-code-viewer": "^1.2.0", "monocart-formatter": "^3.0.1", "node-stream-zip": "^1.15.0", "open": "^11.0.0", "playwright": "^1.59.1", "postcss": "^8.5.10", "puppeteer": "^24.41.0", "rollup": "^4.60.2", "starfall-cli": "^2.0.24", "stylelint": "^17.8.0", "stylelint-config-plus": "^1.1.6", "supports-color": "^10.2.2", "swc-loader": "^0.2.7", "ts-loader": "^9.5.7", "tsx": "^4.21.0", "turbogrid": "^3.2.4", "typescript": "^6.0.3", "vine-ui": "^3.1.18", "webpack": "^5.106.2", "ws": "^8.20.0", "yazl": "^3.3.1" } }