Files
release-action/package.json
2026-02-01 08:40:16 -05:00

75 lines
2.2 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": "pnpm clean && pnpm install && pnpm build && pnpm package",
"format": "pnpm biome format --write .",
"package": "ncc build --source-map --license licenses.txt",
"release": "pnpm clean && pnpm install --prod && pnpm build && pnpm 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": "^2.0.1",
"@actions/github": "^6.0.1",
"@types/node": "^25.0.3",
"glob": "^13.0.0"
},
"devDependencies": {
"@biomejs/biome": "2.3.13",
"@octokit/plugin-rest-endpoint-methods": "^10.4.1",
"@octokit/types": "^16.0.0",
"@types/jest": "30.0.0",
"jest": "^30.2.0",
"jest-circus": "^30.2.0",
"ts-jest": "^29.4.5",
"typescript": "^5.9.3"
},
"pnpm": {
"overrides": {
"jest-cli>yargs": "^17.3.1",
"glob": "^10.5.0",
"test-exclude": "^7.0.0",
"babel-plugin-istanbul": "^7.0.0"
}
}
}