forked from cenfun/monocart-coverage-reports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "monocart-coverage-reports",
"version": "2.8.2",
"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",
"default": "./lib/index.js"
},
"./register": {
"import": "./lib/register/register.mjs",
"require": "./lib/register/register.js",
"default": "./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": "sf lint && 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-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-client": "node ./test/test-client.js",
"test-all": "node ./test/test.js && node ./scripts/docs.js",
"test": "npm run test-unit && npx mcr npm run test-all -c test/mcr.config.mcr.js",
"test:snap": "cross-env TEST_SNAPSHOT=true npm run test",
"dev": "sf d v8",
"open": "node ./scripts/open.js",
"patch": "npm run build && npm run test && sf publish patch -r"
},
"workspaces": [
"packages/*",
"test"
],
"files": [
"lib",
"README.zh-Hans.md"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cenfun/monocart-coverage-reports.git"
},
"dependencies": {
"console-grid": "^2.2.2",
"eight-colors": "^1.3.0",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-report": "^3.0.1",
"istanbul-reports": "^3.1.7",
"lz-utils": "^2.0.2",
"monocart-code-viewer": "^1.1.3",
"monocart-formatter": "^3.0.0",
"monocart-locator": "^1.0.0",
"turbogrid": "^3.0.13"
},
"devDependencies": {
"commander": "^12.0.0",
"esbuild": "^0.21.3",
"eslint": "~9.3.0",
"eslint-config-plus": "^2.0.0",
"eslint-plugin-html": "^8.1.1",
"eslint-plugin-vue": "^9.26.0",
"minimatch": "^9.0.4",
"stylelint": "^16.5.0",
"stylelint-config-plus": "^1.1.2",
"supports-color": "^9.4.0",
"tsx": "^4.10.3",
"ws": "^8.17.0"
}
}