-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.05 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.05 KB
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
{
"name": "setup-cli-action",
"version": "0.0.0",
"author": "",
"private": true,
"description": "GitHub Action to set up the Humanitec CLI",
"homepage": "https://github.com/humanitec/setup-cli-action",
"repository": {
"type": "git",
"url": "git+https://github.com/humanitec/setup-cli-action.git"
},
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/humanitec/setup-cli-action/issues"
},
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"main": "dist/index.js",
"scripts": {
"bundle": "npm run format:write && npm run package",
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"lint": "npx eslint",
"package": "esbuild src/index.ts --bundle --platform=node --target=node20 --outfile=dist/index.js",
"test": "jest"
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest",
"node_modules/@actions/.+\\.js$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!@actions/)"
],
"resolver": "./__tests__/jest-resolver.js"
},
"dependencies": {
"@actions/core": "^3.0.0",
"@actions/tool-cache": "^4.0.0",
"@octokit/rest": "^20.1.1",
"semver": "^7.6.2"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^25.3.3",
"@types/semver": "^7.7.1",
"@typescript-eslint/eslint-plugin": "^8.53.0",
"@typescript-eslint/parser": "^8.50.1",
"esbuild": "^0.27.3",
"eslint": "^9.39.2",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-jest": "^29.15.0",
"eslint-plugin-jsonc": "^2.21.0",
"eslint-plugin-prettier": "^5.5.5",
"jest": "^30.2.0",
"prettier": "^3.8.1",
"prettier-eslint": "^16.4.2",
"ts-jest": "^29.4.6",
"typescript": "^5.9.3"
}
}