-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
103 lines (103 loc) · 2.86 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
{
"name": "ghcr-cleanup-action",
"description": "GitHub Container Registry Cleanup Action",
"version": "main",
"author": "Dataaxiom Inc",
"homepage": "https://github.com/dataaxiom/ghcr-cleanup-action",
"repository": {
"type": "git",
"url": "git+https://github.com/dataaxiom/ghcr-cleanup-action.git"
},
"bugs": {
"url": "https://github.com/dataaxiom/ghcr-cleanup-action/issues"
},
"keywords": [
"ci",
"ghcr.io"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"type": "module",
"scripts": {
"bundle": "npm run format:write && npm run package && npm run ci-tester",
"ci-test": "npx jest --passWithNoTests",
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
"ci-tester": "npx ncc build src/ci-tester.ts -o citester --source-map",
"package:watch": "npm run package -- --watch",
"test": "npx jest",
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run 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"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"dependencies": {
"@actions/core": "^1.10.1",
"@octokit/plugin-request-log": "^5.3.1",
"@octokit/plugin-retry": "^7.1.1",
"@octokit/plugin-throttling": "^9.3.1",
"@octokit/request-error": "^5.1.0",
"@octokit/rest": "^21.0.1",
"axios": "^1.7.4",
"axios-retry": "^4.4.2",
"human-interval": "^2.0.1",
"stdio": "^2.1.3",
"wildcard-match": "^5.1.3"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.12",
"@types/node": "^22.1.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"@vercel/ncc": "^0.38.1",
"axios-logger": "^2.8.1",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-github": "^5.0.1",
"eslint-plugin-jest": "^28.7.0",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.3.3",
"prettier-eslint": "^16.3.0",
"ts-jest": "^29.2.4",
"ts-jest-resolver": "^2.0.1",
"typescript": "^5.5.4"
}
}