upload-release/package.json
Harikrishnan Balagopal 8b5823c88f
feat: add support for uploading to draft releases
When we try to get a release by tag it doesn't
return draft releases. In order to get draft
releases we need to list the releases using a
token that has write access on the repo.

Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
2020-12-08 21:29:03 +05:30

50 lines
1.3 KiB
JSON

{
"name": "upload-release-action",
"version": "2.2.0",
"private": true,
"description": "Upload files to a GitHub release",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"pack": "ncc build --source-map -o dist src/main.ts",
"test": "jest --detectOpenHandles",
"all": "npm run build && npm run format && npm run lint && npm run pack && npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/svestaro/upload-release-action.git"
},
"keywords": [
"actions",
"upload",
"release",
"assets",
"asset"
],
"author": "Sven-Hendrik Haase",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"@types/glob": "^7.1.2",
"glob": "^7.1.6"
},
"devDependencies": {
"@types/jest": "^24.9.1",
"@types/node": "^12.12.64",
"@typescript-eslint/parser": "^3.5.0",
"@vercel/ncc": "^0.25.1",
"eslint": "^7.10.0",
"eslint-plugin-github": "^4.0.1",
"eslint-plugin-jest": "^23.17.1",
"jest": "^26.5.2",
"jest-circus": "^26.5.2",
"js-yaml": "^3.14.0",
"prettier": "^2.0.5",
"ts-jest": "^26.4.1",
"typescript": "^3.9.6"
}
}