grab-github-release
Version:
Downloads and optionally unpacks an archive from GitHub release assets for the current platform.
84 lines • 2.19 kB
JSON
{
"name": "grab-github-release",
"version": "2.1.0",
"description": "Downloads and optionally unpacks an archive from GitHub release assets for the current platform.",
"author": {
"name": "Ferdinand Prantl",
"email": "prantlf@gmail.com",
"url": "http://prantl.tk"
},
"license": "MIT",
"licenses": [
{
"type": "MIT",
"url": "https://github.com/prantlf/grab-github-release/blob/master/LICENSE"
}
],
"homepage": "https://github.com/prantlf/grab-github-release#readme",
"repository": {
"type": "git",
"url": "https://github.com/prantlf/grab-github-release.git"
},
"bugs": {
"url": "https://github.com/prantlf/grab-github-release/issues"
},
"engines": {
"node": ">=18"
},
"type": "module",
"module": "dist/index.mjs",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"bin": {
"grab-github-release": "bin/grab-github-release.js",
"ggr": "bin/grab-github-release.js"
},
"files": [
"bin",
"dist"
],
"scripts": {
"build": "rollup -c && cp-j src/index.d.ts dist/",
"lint": "biome lint *.js bin src test && tsc --noEmit test/types.test.ts",
"check": "node test/cjs.cjs && node test/mocked && node test/real",
"cover": "c8 node test/mocked",
"test": "tsc --noEmit test/types.test.ts && node test/cjs.cjs && node test/mocked && node test/real",
"test-cover": "tsc --noEmit test/types.test.ts && node test/cjs.cjs && c8 node test/mocked && node test/real"
},
"c8": {
"check-coverage": "true",
"reporter": [
"lcov",
"text"
],
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
},
"dependencies": {
"debug": "^4.3.6",
"semver": "^7.6.3",
"yauzl": "^3.1.3"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@unixcompat/cp.js": "^3.0.0",
"c8": "^10.1.2",
"grab-github-release": "link:",
"rollup": "^4.20.0",
"rollup-plugin-cleanup": "^3.2.1",
"typescript": "^5.5.4"
},
"keywords": [
"github",
"github-release",
"download",
"release",
"assets"
]
}