-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
119 lines (119 loc) · 4.87 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "monocart-coverage-reports",
"version": "2.11.5",
"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-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-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.14.0",
"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": {
"@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.17.0",
"eslint-config-plus": "^2.0.2",
"eslint-plugin-html": "^8.1.2",
"eslint-plugin-vue": "^9.32.0",
"find-up": "^7.0.0",
"minimatch": "^9.0.5",
"mocha": "^11.0.1",
"monocart-code-viewer": "^1.1.4",
"monocart-formatter": "^3.0.0",
"node-stream-zip": "^1.15.0",
"postcss": "^8.4.49",
"starfall-cli": "^2.0.20",
"stylelint": "^16.12.0",
"stylelint-config-plus": "^1.1.3",
"supports-color": "^9.4.0",
"tsx": "^4.19.2",
"turbogrid": "^3.2.0",
"vine-ui": "^3.1.16",
"ws": "^8.18.0",
"yazl": "^3.3.1"
}
}