-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.75 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
{
"name": "d2l-test-reporting",
"version": "4.2.0",
"description": "Helper package for generating reports for use with the D2L test reporting framework",
"author": "D2L Corporation",
"license": "Apache-2.0",
"repository": "https://github.com/Brightspace/test-reporting-node.git",
"type": "module",
"exports": {
"./helpers/github.js": "./src/helpers/github.cjs",
"./helpers/report.js": "./src/helpers/report.cjs",
"./helpers/report-configuration.js": "./src/helpers/report-configuration.cjs",
"./reporters/mocha.js": "./src/reporters/mocha.cjs",
"./reporters/playwright.js": "./src/reporters/playwright.js",
"./reporters/web-test-runner.js": "./src/reporters/web-test-runner.js"
},
"keywords": [
"d2l",
"test",
"reporting"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"prepack": "sed -ri 's/\\[!([A-Z]+)\\]/**\\1**:/g' README.md",
"license-check": "d2l-license-checker -p",
"lint": "npm run lint:eslint && npm run lint:editorconfig",
"lint:eslint": "eslint",
"lint:editorconfig": "editorconfig-checker",
"fix": "npm run fix:eslint",
"fix:eslint": "npm run lint:eslint -- --fix",
"test": "run-s lint test:all",
"test:all": "c8 run-s test:unit test:integration",
"test:unit": "mocha \"test/unit/**/*.test.js\"",
"test:integration": "run-s test:integration:mocha test:integration:playwright test:integration:web-test-runner && mocha test/integration/report-validation.test.js",
"test:integration:mocha": "mocha --config test/integration/data/configs/mocha.cjs || exit 0",
"test:integration:playwright": "playwright test --config test/integration/data/configs/playwright.js || exit 0",
"test:integration:web-test-runner": "wtr --config test/integration/data/configs/web-test-runner.js || exit 0"
},
"engines": {
"node": ">=20"
},
"files": [
"/schemas",
"/src"
],
"dependencies": {
"@web/test-runner-core": "^0.13",
"ajv": "^8",
"ajv-errors": "^3",
"ajv-formats": "^3",
"chalk": "^5",
"lodash": "^4",
"minimatch": "^10",
"mocha": "^11",
"playwright-core": "^1.49"
},
"devDependencies": {
"@eslint/compat": "^1",
"@playwright/test": "^1",
"@web/test-runner": "^0.19",
"@web/test-runner-playwright": "^0.11",
"@web/test-runner-puppeteer": "^0.17",
"c8": "^10",
"chai": "^5",
"chai-subset": "^1",
"d2l-license-checker": "^4",
"editorconfig-checker": "^6",
"eslint": "^9",
"eslint-config-brightspace": "^2",
"eslint-plugin-import": "^2",
"eslint-plugin-json": "^4",
"eslint-plugin-mocha": "^10",
"eslint-plugin-playwright": "^2",
"eslint-plugin-promise": "^7",
"npm-run-all": "^4",
"playwright": "^1.49",
"sinon": "^19"
}
}