UNPKG

monocart-coverage-reports

Version:

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

119 lines (118 loc) 4.98 kB
{ "name": "monocart-coverage-reports", "version": "2.11.1", "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-anonymous": "node ./test/test-anonymous.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-tsx": "npx mcr tsx ./test/specs/tsx.test.ts -c test/mcr.config.tsx.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-client": "node ./test/test-client.js", "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" }, "workspaces": [ "test" ], "files": [ "lib", "README.zh-Hans.md" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/cenfun/monocart-coverage-reports.git" }, "dependencies": { "acorn": "^8.12.1", "acorn-loose": "^8.4.0", "acorn-walk": "^8.3.4", "commander": "^12.1.0", "console-grid": "^2.2.2", "eight-colors": "^1.3.1", "foreground-child": "^3.3.0", "istanbul-lib-coverage": "^3.2.2", "istanbul-lib-report": "^3.0.1", "istanbul-reports": "^3.1.7", "lz-utils": "^2.1.0", "monocart-locator": "^1.0.2" }, "devDependencies": { "@bcoe/v8-coverage": "^0.2.3", "@jridgewell/sourcemap-codec": "^1.5.0", "async-tick": "^1.0.0", "convert-source-map": "^2.0.0", "diff-sequences": "^29.6.3", "esbuild": "^0.24.0", "eslint": "~9.12.0", "eslint-config-plus": "^2.0.2", "eslint-plugin-html": "^8.1.2", "eslint-plugin-vue": "^9.28.0", "find-up": "^7.0.0", "minimatch": "^9.0.5", "monocart-code-viewer": "^1.1.4", "monocart-formatter": "^3.0.0", "node-stream-zip": "^1.15.0", "postcss": "^8.4.47", "starfall-cli": "^2.0.20", "stylelint": "^16.9.0", "stylelint-config-plus": "^1.1.3", "supports-color": "^9.4.0", "tsx": "^4.19.1", "turbogrid": "^3.2.0", "vine-ui": "^3.1.16", "ws": "^8.18.0", "yazl": "^2.5.1" } }