-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
49 lines (49 loc) · 1.74 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
{
"name": "reportage",
"version": "0.0.11",
"description": "Scenarist-wrapped mocha sessions on browsers to any reporters",
"main": "cli.mjs",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/t2ym/reportage.git"
},
"homepage": "https://github.com/t2ym/reportage#readme",
"bin": {
"reportage": "./cli.mjs"
},
"scripts": {
"postinstall": "node --experimental-import-meta-resolve postinstall.js",
"start": "nginx -p . -c nginx.conf",
"stop": "kill -3 `cat nginx.pid`",
"pretest": "npm run instrument",
"instrument": "npx nyc instrument . test/instrumented/ && node patchInstrumentedExtension.js && cp -v extension/chrome/manifest.json test/instrumented/extension/chrome/manifest.json && cp -v extension/chrome/*.png test/instrumented/extension/chrome/ && sed -e 'sXproxy-reporter.jsXtest/instrumented/proxy-reporter.jsX' test/instrumented/cli.mjs >cli.js",
"test": "npx mocha --timeout=60000 test/meta-suites.mjs",
"test:raw": "node cli.js --import ./test/reporter-test.mjs test/reportage.config.js test/*/reportage.config.js",
"test1": "npm run instrument && node cli.js ",
"posttest": "npx nyc report",
"dot": "cd docs && for i in reporter; do { dot -Tsvg ${i}.dot -o ${i}.svg; } done && cd .."
},
"keywords": [
"mocha",
"scenarist",
"reporter",
"puppeteer",
"coverage",
"e2e"
],
"author": "Tetsuya Mori <[email protected]>",
"license": "BSD-2-Clause",
"dependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"istanbul-lib-coverage": "^3.2.0",
"mocha": "^10.2.0",
"puppeteer": "^19.6.0",
"scenarist": "1.1.10",
"yargs": "^17.7.0"
},
"devDependencies": {
"mochawesome": "^7.1.3",
"nyc": "^15.1.0"
}
}