-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 2.82 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 2.82 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
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
{
"name": "github-action-ovh-mks-scaling",
"description": "Scale up or down your OVH MKS nodepool",
"version": "0.0.0",
"author": "hoverkraft",
"license": "MIT",
"type": "module",
"homepage": "https://github.com/hoverkraft-tech/github-action-ovh-mks-scaling",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/hoverkraft-tech/github-action-ovh-mks-scaling.git"
},
"bugs": {
"url": "https://github.com/hoverkraft-tech/github-action-ovh-mks-scaling/issues"
},
"keywords": [
"OVH",
"MKS",
"actions",
"github-actions"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"@actions/core": "^3.0.1",
"@actions/github": "^9.1.1",
"@ovhcloud/node-ovh": "^3.0.0"
},
"devDependencies": {
"@ts-dev-tools/core": "^1.12.1",
"@vercel/ncc": "^0.38.4",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-jsonc": "^3.1.2"
},
"scripts": {
"package": "npm run package:index",
"package:index": "ncc build src/index.ts -o dist --license licenses.txt",
"package:watch": "npm run package -- --watch",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"lint:ci": "npm run lint -- --output-file eslint-report.json --format json",
"all": "npm run format && npm run lint:ci && npm run test:ci && npm run package",
"build": "tsc --noEmit",
"format": "prettier --cache --write .",
"jest": "jest --detectOpenHandles --forceExit",
"test": "npm run jest --maxWorkers=50%",
"test:watch": "npm run jest --watch --maxWorkers=25%",
"test:cov": "npm run test --coverage",
"test:ci": "npm run test:cov --runInBand",
"prepare": "ts-dev-tools install"
},
"prettier": {
"semi": true,
"printWidth": 100,
"trailingComma": "es5"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test)?(.*).+(ts|tsx|js)"
],
"collectCoverageFrom": [
"**/src/**/*.[jt]s?(x)",
"!**/*.d.ts"
],
"moduleNameMapper": {
"^@actions/core$": "<rootDir>/test/actions-core.mock.ts",
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": {
"target": "ES2022",
"module": "CommonJS",
"moduleResolution": "Node10",
"esModuleInterop": true,
"isolatedModules": true
}
}
]
}
},
"tsDevTools": {
"version": "20250623095600-remove-prettier-oxc"
}
}