-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
124 lines (124 loc) · 3.34 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
120
121
122
123
124
{
"name": "background_run_and_test",
"description": "GitHub Action, That lets you run a background task, wait until it's becomes available, and then run your tests",
"version": "1.0.0",
"author": "MohamedRaslan",
"private": true,
"homepage": "https://github.com/MohamedRaslan/background_run_and_test",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/MohamedRaslan/background_run_and_test.git"
},
"bugs": {
"url": "https://github.com/MohamedRaslan/background_run_and_test/issues"
},
"keywords": [
"actions",
"node",
"background",
"github"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"scripts": {
"bundle": "yarn format:write && yarn package",
"ci-test": "npx jest --silent",
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
"lint": "eslint . -c ./.github/linters/eslint.config.mjs",
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
"package:watch": "yarn package -- --watch",
"test": "jest",
"fake-servers": "concurrently \"serve -s src/__tests__/build/app1 -p 4001 --debug\" \"serve -s src/__tests__/build/app2 -p 4002 --debug\" \"serve -s src/__tests__/build/app3 -p 4003 --debug\"",
"all": "yarn format:write && yarn lint && yarn test && yarn coverage && yarn package"
},
"license": "MIT",
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"reporters": [
[
"github-actions",
{
"silent": false
}
],
[
"jest-junit",
{
"suiteName": "background_run_and_test_regression",
"outputDirectory": "coverage/",
"classNameTemplate": "{filepath}"
}
],
"default",
"summary"
],
"coverageReporters": [
"json-summary",
"text",
"lcov",
"cobertura"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"wait-on": "^8.0.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@jest/globals": "^29.7.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.1",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@types/wait-on": "^5.3.4",
"@vercel/ncc": "^0.38.3",
"concurrently": "^9.1.2",
"eslint": "^9.18.0",
"eslint-plugin-github": "^5.1.5",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-jsonc": "^2.18.2",
"eslint-plugin-prettier": "^5.2.2",
"globals": "^15.14.0",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.4.2",
"prettier-eslint": "^16.3.0",
"semantic-release": "^24.2.1",
"serve": "^14.2.4",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
}
}