69 lines
2.0 KiB
JSON
69 lines
2.0 KiB
JSON
{
|
|
"name": "release-action",
|
|
"version": "1.1.0",
|
|
"private": true,
|
|
"description": "An action which manages a github release",
|
|
"main": "lib/main.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf lib/*",
|
|
"coverage": "jest --coverage",
|
|
"debug": "yarn clean && yarn install && yarn build && yarn package",
|
|
"format": "yarn biome format --write .",
|
|
"package": "ncc build --source-map --license licenses.txt",
|
|
"release": "yarn clean && yarn install --production && yarn build && yarn package",
|
|
"test": "jest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ncipollo/release-action.git"
|
|
},
|
|
"keywords": ["actions", "node", "setup"],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"jest": {
|
|
"clearMocks": true,
|
|
"collectCoverage": true,
|
|
"coveragePathIgnorePatterns": ["src/Globber.ts", "src/Releases.ts"],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 95,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"statements": 100
|
|
}
|
|
},
|
|
"moduleFileExtensions": ["js", "ts"],
|
|
"testEnvironment": "node",
|
|
"testMatch": ["**/*.test.ts"],
|
|
"testRunner": "jest-circus/runner",
|
|
"transform": {
|
|
"^.+\\.ts$": ["ts-jest", {
|
|
"tsconfig": "tsconfig.test.json"
|
|
}]
|
|
},
|
|
"verbose": true
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.11.1",
|
|
"@actions/github": "^6.0.1",
|
|
"@types/node": "^24.6.1",
|
|
"glob": "^11.0.3",
|
|
"untildify": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.3.2",
|
|
"@types/jest": "^29.5.14",
|
|
"jest": "^29.7.0",
|
|
"jest-circus": "^30.2.0",
|
|
"ts-jest": "^29.4.5",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"resolutions": {
|
|
"jest-cli/yargs": "^17.3.1"
|
|
}
|
|
}
|