monocart-coverage-reports 2.7.5 → 2.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,98 +1,98 @@
1
- {
2
- "name": "monocart-coverage-reports",
3
- "version": "2.7.5",
4
- "description": "A code coverage tool to generate native V8 reports or Istanbul reports.",
5
- "main": "./lib/index.js",
6
- "bin": {
7
- "mcr": "./lib/cli.js"
8
- },
9
- "exports": {
10
- ".": {
11
- "types": "./lib/index.d.ts",
12
- "import": "./lib/index.mjs",
13
- "require": "./lib/index.js",
14
- "default": "./lib/index.js"
15
- },
16
- "./register": {
17
- "import": "./lib/register/register.mjs",
18
- "require": "./lib/register/register.js",
19
- "default": "./lib/register/register.js"
20
- },
21
- "./converter": "./lib/converter/converter.js",
22
- "./util": "./lib/utils/util.js",
23
- "./package.json": "./package.json"
24
- },
25
- "types": "./lib/index.d.ts",
26
- "scripts": {
27
- "build-docs": "node ./scripts/build-docs.js",
28
- "build-test": "node ./scripts/build-test.js",
29
- "build": "sf lint && sf b -p && npm run build-test",
30
- "test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-report.js",
31
- "test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-api node ./test/test-node-api.js",
32
- "test-node-ins": "node ./test/test-node-ins.js",
33
- "test-node-cdp": "node --inspect=9229 ./test/test-node-cdp.js",
34
- "test-node-vm": "node ./test/test-node-vm.js",
35
- "test-node-koa": "node ./test/test-node-koa.js",
36
- "test-node-fgc": "node ./test/test-node-fgc.js",
37
- "test-node": "npm run test-node-env && npm run test-node-api && npm run test-node-ins && npm run test-node-cdp && npm run test-node-vm && npm run test-node-koa",
38
- "test-istanbul": "node ./test/test-istanbul.js",
39
- "test-v8": "node ./test/test-v8.js",
40
- "test-puppeteer": "node ./test/test-puppeteer.js",
41
- "test-anonymous": "node ./test/test-anonymous.js",
42
- "test-css": "node ./test/test-css.js",
43
- "test-minify": "node ./test/test-minify.js",
44
- "test-esbuild": "node ./test/test-esbuild.js",
45
- "test-rollup": "node ./test/test-rollup.js",
46
- "test-v8-and-istanbul": "node ./test/test-v8-and-istanbul.js",
47
- "test-browser": "npm run test-istanbul && npm run test-v8 && npm run test-puppeteer && npm run test-anonymous && npm run test-css && npm run test-minify && npm run test-esbuild && npm run test-rollup && npm run test-v8-and-istanbul",
48
- "test-cli": "npx mcr node ./test/specs/node.test.js -c test/mcr.config.cli.js",
49
- "test-tsx": "npx mcr tsx ./test/specs/tsx.test.ts -c test/mcr.config.tsx.js",
50
- "test-demo": "node ./test/test-demo.js",
51
- "test-merge": "node ./test/test-merge.js",
52
- "test-merge-istanbul": "node ./test/test-merge-istanbul.js",
53
- "test-client": "node ./test/test-client.js",
54
- "test-all": "npm run test-node && npm run test-browser && npm run test-cli && npm run test-tsx && npm run test-merge && npm run build-docs",
55
- "test": "npx mcr npm run test-all -c test/mcr.config.mcr.js",
56
- "test:snap": "cross-env TEST_SNAPSHOT=true npm run test",
57
- "dev": "sf d v8",
58
- "open": "node ./scripts/open.js",
59
- "patch": "npm run build && npm run test && sf publish patch -r"
60
- },
61
- "workspaces": [
62
- "packages/*",
63
- "test"
64
- ],
65
- "files": [
66
- "lib"
67
- ],
68
- "license": "MIT",
69
- "repository": {
70
- "type": "git",
71
- "url": "git+https://github.com/cenfun/monocart-coverage-reports.git"
72
- },
73
- "dependencies": {
74
- "console-grid": "^2.2.2",
75
- "eight-colors": "^1.3.0",
76
- "istanbul-lib-coverage": "^3.2.2",
77
- "istanbul-lib-report": "^3.0.1",
78
- "istanbul-reports": "^3.1.7",
79
- "lz-utils": "^2.0.2",
80
- "monocart-code-viewer": "^1.1.2",
81
- "monocart-formatter": "^2.3.2",
82
- "turbogrid": "^3.0.13"
83
- },
84
- "devDependencies": {
85
- "commander": "^12.0.0",
86
- "esbuild": "^0.20.2",
87
- "eslint": "^8.57.0",
88
- "eslint-config-plus": "^1.0.6",
89
- "eslint-plugin-html": "^8.0.0",
90
- "eslint-plugin-vue": "^9.23.0",
91
- "minimatch": "^9.0.3",
92
- "stylelint": "^16.2.1",
93
- "stylelint-config-plus": "^1.1.0",
94
- "supports-color": "^9.4.0",
95
- "tsx": "^4.7.1",
96
- "ws": "^8.16.0"
97
- }
98
- }
1
+ {
2
+ "name": "monocart-coverage-reports",
3
+ "version": "2.7.6",
4
+ "description": "A code coverage tool to generate native V8 reports or Istanbul reports.",
5
+ "main": "./lib/index.js",
6
+ "bin": {
7
+ "mcr": "./lib/cli.js"
8
+ },
9
+ "exports": {
10
+ ".": {
11
+ "types": "./lib/index.d.ts",
12
+ "import": "./lib/index.mjs",
13
+ "require": "./lib/index.js",
14
+ "default": "./lib/index.js"
15
+ },
16
+ "./register": {
17
+ "import": "./lib/register/register.mjs",
18
+ "require": "./lib/register/register.js",
19
+ "default": "./lib/register/register.js"
20
+ },
21
+ "./converter": "./lib/converter/converter.js",
22
+ "./util": "./lib/utils/util.js",
23
+ "./package.json": "./package.json"
24
+ },
25
+ "types": "./lib/index.d.ts",
26
+ "scripts": {
27
+ "build-test": "node ./scripts/build-test.js",
28
+ "build": "sf lint && sf b -p && npm run build-test",
29
+ "test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-report.js",
30
+ "test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-api node ./test/test-node-api.js",
31
+ "test-node-ins": "node ./test/test-node-ins.js",
32
+ "test-node-cdp": "node --inspect=9229 ./test/test-node-cdp.js",
33
+ "test-node-vm": "node ./test/test-node-vm.js",
34
+ "test-node-koa": "node ./test/test-node-koa.js",
35
+ "test-node-fgc": "node ./test/test-node-fgc.js",
36
+ "test-node": "npm run test-node-env && npm run test-node-api && npm run test-node-ins && npm run test-node-cdp && npm run test-node-vm && npm run test-node-koa",
37
+ "test-istanbul": "node ./test/test-istanbul.js",
38
+ "test-v8": "node ./test/test-v8.js",
39
+ "test-puppeteer": "node ./test/test-puppeteer.js",
40
+ "test-anonymous": "node ./test/test-anonymous.js",
41
+ "test-css": "node ./test/test-css.js",
42
+ "test-minify": "node ./test/test-minify.js",
43
+ "test-esbuild": "node ./test/test-esbuild.js",
44
+ "test-rollup": "node ./test/test-rollup.js",
45
+ "test-v8-and-istanbul": "node ./test/test-v8-and-istanbul.js",
46
+ "test-browser": "npm run test-istanbul && npm run test-v8 && npm run test-puppeteer && npm run test-anonymous && npm run test-css && npm run test-minify && npm run test-esbuild && npm run test-rollup && npm run test-v8-and-istanbul",
47
+ "test-cli": "npx mcr node ./test/specs/node.test.js -c test/mcr.config.cli.js",
48
+ "test-tsx": "npx mcr tsx ./test/specs/tsx.test.ts -c test/mcr.config.tsx.js",
49
+ "test-demo": "node ./test/test-demo.js",
50
+ "test-merge": "node ./test/test-merge.js",
51
+ "test-merge-istanbul": "node ./test/test-merge-istanbul.js",
52
+ "test-client": "node ./test/test-client.js",
53
+ "test-all": "npm run test-node && npm run test-browser && npm run test-cli && npm run test-tsx && npm run test-merge && node ./scripts/docs.js",
54
+ "test-node-14": "npm run test-node && npm run test-v8 && npm run test-anonymous && npm run test-css && npm run test-minify && npm run test-esbuild && npm run test-v8-and-istanbul && npm run test-cli",
55
+ "test": "npx mcr npm run test-all -c test/mcr.config.mcr.js",
56
+ "test:snap": "cross-env TEST_SNAPSHOT=true npm run test",
57
+ "dev": "sf d v8",
58
+ "open": "node ./scripts/open.js",
59
+ "patch": "npm run build && npm run test && sf publish patch -r"
60
+ },
61
+ "workspaces": [
62
+ "packages/*",
63
+ "test"
64
+ ],
65
+ "files": [
66
+ "lib"
67
+ ],
68
+ "license": "MIT",
69
+ "repository": {
70
+ "type": "git",
71
+ "url": "git+https://github.com/cenfun/monocart-coverage-reports.git"
72
+ },
73
+ "dependencies": {
74
+ "console-grid": "^2.2.2",
75
+ "eight-colors": "^1.3.0",
76
+ "istanbul-lib-coverage": "^3.2.2",
77
+ "istanbul-lib-report": "^3.0.1",
78
+ "istanbul-reports": "^3.1.7",
79
+ "lz-utils": "^2.0.2",
80
+ "monocart-code-viewer": "^1.1.2",
81
+ "monocart-formatter": "^2.3.2",
82
+ "turbogrid": "^3.0.13"
83
+ },
84
+ "devDependencies": {
85
+ "commander": "^12.0.0",
86
+ "esbuild": "^0.20.2",
87
+ "eslint": "^8.57.0",
88
+ "eslint-config-plus": "^1.0.6",
89
+ "eslint-plugin-html": "^8.0.0",
90
+ "eslint-plugin-vue": "^9.23.0",
91
+ "minimatch": "^9.0.3",
92
+ "stylelint": "^16.2.1",
93
+ "stylelint-config-plus": "^1.1.0",
94
+ "supports-color": "^9.4.0",
95
+ "tsx": "^4.7.1",
96
+ "ws": "^8.16.0"
97
+ }
98
+ }