action-gh-release/package.json
Rui Chen a0e2122208
feat: migrate from jest to vitest (#626)
* feat: migrate from jest to vitest

Signed-off-by: Rui Chen <rui@chenrui.dev>

* chore: bump to node 24 and run build

Signed-off-by: Rui Chen <rui@chenrui.dev>

* chore: specify es2022 target for ncc build

Signed-off-by: Rui Chen <rui@chenrui.dev>

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
2025-06-09 20:59:28 -04:00

44 lines
1.3 KiB
JSON

{
"name": "action-gh-release",
"version": "2.2.2",
"private": true,
"description": "GitHub Action for creating GitHub Releases",
"main": "lib/main.js",
"scripts": {
"build": "ncc build src/main.ts --minify --target es2022",
"build-debug": "ncc build src/main.ts --v8-cache --source-map",
"typecheck": "tsc --noEmit",
"test": "vitest --coverage",
"fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"",
"updatetag": "git tag -d v2 && git push origin :v2 && git tag -a v2 -m '' && git push origin v2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/softprops/action-gh-release.git"
},
"keywords": [
"actions"
],
"author": "softprops",
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.1",
"@octokit/plugin-retry": "^8.0.1",
"@octokit/plugin-throttling": "^11.0.1",
"glob": "^11.0.2",
"mime-types": "^3.0.1"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mime-types": "^3.0.1",
"@types/node": "^22.15.21",
"@vercel/ncc": "^0.38.3",
"@vitest/coverage-v8": "^3.1.4",
"prettier": "3.5.3",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-formatter": "^7.2.2",
"vitest": "^3.1.4"
}
}