-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 2.8 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
{
"name": "shields.io-badge-results",
"version": "0.1.1",
"author": "Adam Boe",
"description": "A repository for storing shields.io badge results from private CI builds.",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/aboe026/shields.io-badge-results.git"
},
"bugs": {
"url": "https://github.com/aboe026/shields.io-badge-results/issues"
},
"engines": {
"node": ">=18",
"npm": ">=9"
},
"main": "src/index.ts",
"scripts": {
"build": "tsc",
"clean": "npm-run-all clean:build clean:coverage clean:e2e",
"clean:build": "rimraf build",
"clean:coverage": "rimraf coverage",
"clean:e2e": "rimraf --glob badge-results/.temp-e2e-test-* test/e2e/.temp-work-dir",
"coverage:view": "ts-node scripts/view-coverage.ts coverage/unit/lcov-report/index.html",
"lint": "eslint . && prettier --check . && npm run validate:results && npm-groovy-lint --ignorepattern **/node_modules/** --failon info",
"lint:fix": "eslint --fix . && prettier --write . && npm-groovy-lint --ignorepattern **/node_modules/** --failon info --fix",
"start": "ts-node src/index.ts",
"test": "npm-run-all --serial lint test:unit test:e2e",
"test:e2e": "jest test/e2e --runInBand --testTimeout=10000 --globalSetup=./test/e2e/helpers/_global_setup.ts --globalTeardown=./test/e2e/helpers/_global_teardown.ts --setupFilesAfterEnv=./test/e2e/helpers/_suite_setup_teardown.ts",
"test:e2e:debug": "cross-env DEBUG=true npm run test:e2e",
"test:e2e:xml": "cross-env JEST_JUNIT_CLASSNAME='e2e.{classname}' JEST_JUNIT_OUTPUT_NAME=e2e.xml npm run test:e2e -- --reporters=default --reporters=jest-junit",
"test:unit": "jest test/unit --collectCoverage --coverageDirectory=coverage/unit",
"test:unit:xml": "cross-env JEST_JUNIT_CLASSNAME='unit.{classname}' JEST_JUNIT_OUTPUT_NAME=unit.xml npm run test:unit -- --reporters=default --reporters=jest-junit",
"update-dependencies": "ts-node scripts/update-dependencies.ts",
"validate:results": "ts-node scripts/validate-results.ts"
},
"dependencies": {
"fs-extra": "11.1.1",
"yargs": "17.7.1"
},
"devDependencies": {
"@types/fs-extra": "11.0.1",
"@types/jest": "29.5.0",
"@types/rimraf": "4.0.5",
"@typescript-eslint/eslint-plugin": "5.58.0",
"@typescript-eslint/parser": "5.58.0",
"cross-env": "7.0.3",
"eslint": "8.38.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"jest": "29.5.0",
"jest-junit": "15.0.0",
"npm-groovy-lint": "11.1.1",
"npm-run-all": "4.1.5",
"open": "8.4.2",
"prettier": "2.8.7",
"rimraf": "5.0.0",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"typescript": "5.0.4"
},
"jest-junit": {
"ancestorSeparator": " - ",
"outputDirectory": "test-results",
"titleTemplate": "{title}"
}
}