UNPKG

github-app-installation-token

Version:

npm/script and binary 📦 to get a token from a GitHub App

142 lines (141 loc) • 3.61 kB
{ "name": "github-app-installation-token", "repository": "git@github.com:gagoar/github-app-installation-token.git", "license": "MIT", "version": "1.2.0", "description": "npm/script and binary 📦 to get a token from a GitHub App", "main": "dist/index.js", "types": "types/index.d.ts", "bin": { "github-app-installation-token": "cli/cli.js" }, "scripts": { "precommit": "lint-staged", "test": "jest", "build": "esbuild --bundle ./index.ts --platform=node --target=node12 --main-fields=main --outdir=dist/", "build-cli": "esbuild --bundle src/bin/cli.ts --platform=node --target=node12 --main-fields=main --outdir=cli/", "build-binaries": "pkg cli/cli.js", "build-types": "tsc --emitDeclarationOnly --outDir types", "lint": "eslint src/* --ext .ts", "version": "auto-changelog -p && git add CHANGELOG.md", "release": "npm run build && npm run build-cli && npm run build-binaries && npm run build-types && npm publish" }, "engines": { "node": ">10.0.0" }, "keywords": [ "cli", "GitHub", "token", "node" ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*": [ "pretty-quick --staged" ], "*.ts": [ "eslint --fix", "bash -c \"npm run build\"" ] }, "prettier": { "singleQuote": true, "semi": true, "printWidth": 120 }, "eslintConfig": { "extends": [ "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended" ], "parser": "@typescript-eslint/parser", "parserOptions": { "project": "./tsconfig.eslint.json" }, "rules": { "quotes": [ 2, "single", "avoid-escape" ], "no-debugger": "error", "no-process-env": "off", "import/prefer-default-export": "off", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/no-unused-vars": [ "error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true } ], "new-cap": [ "error", { "capIsNewExceptions": [ "Injectable", "Inject" ] } ], "prefer-destructuring": [ "error", { "VariableDeclarator": { "array": false, "object": true }, "AssignmentExpression": { "array": true, "object": false } }, { "enforceForRenamedProperties": false } ] } }, "author": "Gago <xeroice@gmail.com>", "dependencies": { "@octokit/auth-app": "3.6.1", "@octokit/rest": "18.12.0", "commander": "6.2.1", "debug": "4.3.3", "node-rsa": "1.1.1", "ora": "5.4.1" }, "devDependencies": { "@types/debug": "4.1.7", "@types/jest": "26.0.24", "@types/node": "16.11.20", "@types/node-rsa": "1.1.1", "@typescript-eslint/eslint-plugin": "5.10.1", "@typescript-eslint/parser": "5.10.1", "auto-changelog": "2.3.0", "esbuild": "0.14.14", "eslint": "8.7.0", "eslint-config-prettier": "8.3.0", "eslint-plugin-prettier": "4.0.0", "husky": "4.3.8", "jest": "26.6.3", "jest-mock-process": "1.4.1", "lint-staged": "10.5.4", "nock": "13.2.2", "pkg": "5.5.2", "prettier": "2.5.1", "prettier-eslint": "12.0.0", "prettier-eslint-cli": "5.0.1", "pretty-quick": "3.1.3", "ts-jest": "26.5.6", "ts-node": "9.1.1", "tslib": "2.3.1", "typescript": "4.2.4" } }