UNPKG

backport

Version:

A CLI tool that automates the process of backporting commits

124 lines (123 loc) 3.99 kB
{ "name": "backport", "description": "A CLI tool that automates the process of backporting commits", "keywords": [ "backport", "backporting", "versioning", "cherry-pick", "git", "git-cherry-pick", "cli", "automation", "productivity", "branches", "branching" ], "version": "12.0.4", "type": "module", "main": "./dist/src/entrypoint.api.js", "types": "dist/src/entrypoint.api.d.ts", "exports": { ".": { "import": "./dist/src/entrypoint.api.js", "types": "./dist/src/entrypoint.api.d.ts" } }, "bin": { "backport": "bin/backport" }, "license": "Apache-2.0", "scripts": { "postinstall": "test -f ./dist/src/scripts/run-postinstall.js && node ./dist/src/scripts/run-postinstall.js || echo 'Dist folder missing'", "prepare": "husky", "prepack": "npm run build", "prepublishOnly": "npm run lint && npm run test:unit", "lint-and-test": "npm run lint && npm test", "lint": "tsc -p tsconfig.eslint.json --noEmit --incremental && eslint './**/*.{ts,js}'", "lint:fix": "tsc -p tsconfig.eslint.json --noEmit --incremental && eslint './**/*.{ts,js}' --fix --cache", "start": "NODE_ENV=development tsx ./src/entrypoint.cli.ts", "test": "vitest run --config ./vitest.config.unit.ts", "test:all": "vitest run", "test:unit": "vitest run --config ./vitest.config.unit.ts", "test:mutation": "vitest run --config ./vitest.config.mutation.ts", "test:private": "vitest run --config ./vitest.config.private.ts", "test:integration": "vitest run --config ./vitest.config.integration.ts", "codegen": "graphql-codegen --config scripts/codegen-config.ts && node scripts/codegen-fix-imports.js", "build": "rm -rf ./dist/ && npm run codegen && tsc -p tsconfig.build.json", "graphql:validate": "tsx scripts/graphql-validate.ts", "graphql:execute": "tsx scripts/graphql-execute.ts", "graphql:update-schema": "tsx scripts/graphql-update-schema.ts" }, "lint-staged": { "*.ts": [ "prettier --write" ] }, "files": [ "bin", "dist", "package-lock.json" ], "author": "Søren Louv-Jansen", "homepage": "https://github.com/sorenlouv/backport/blob/main/README.md", "bugs": { "url": "https://github.com/sorenlouv/backport/issues" }, "repository": { "type": "git", "url": "git+https://github.com/sorenlouv/backport.git" }, "engines": { "node": ">=22.0.0" }, "dependencies": { "@graphql-typed-document-node/core": "^3.2.0", "@inquirer/prompts": "8.4.2", "@octokit/rest": "^22.0.1", "chalk": "^5.6.2", "dotenv": "^17.4.2", "find-up": "^8.0.0", "graphql": "^16.13.2", "handlebars": "^4.7.9", "lodash-es": "^4.18.1", "ora": "^9.4.0", "p-retry": "^8.0.0", "strip-json-comments": "^5.0.3", "terminal-link": "^5.0.0", "utility-types": "^3.11.0", "winston": "^3.19.0", "yargs": "^18.0.0", "yargs-parser": "^22.0.0", "zod": "^4.4.2" }, "devDependencies": { "@0no-co/graphqlsp": "^1.15.4", "@eslint/js": "^10.0.1", "@graphql-codegen/cli": "^7.0.0", "@graphql-codegen/client-preset": "^6.0.0", "@graphql-codegen/schema-ast": "^6.0.0", "@graphql-codegen/typed-document-node": "^7.0.0", "@graphql-codegen/typescript": "^6.0.0", "@graphql-codegen/typescript-operations": "^6.0.0", "@parcel/watcher": "^2.5.6", "@types/lodash-es": "^4.17.12", "@types/node": "^25.6.0", "@types/yargs": "^17.0.35", "@types/yargs-parser": "^21.0.3", "@typescript-eslint/eslint-plugin": "^8.59.1", "@typescript-eslint/parser": "^8.59.1", "eslint": "^10.3.0", "eslint-plugin-import-x": "^4.16.2", "eslint-plugin-unicorn": "^64.0.0", "graphql-config": "^5.1.6", "graphql-request": "^7.4.0", "husky": "^9.1.7", "lint-staged": "^16.4.0", "prettier": "^3.8.3", "strip-ansi": "^7.2.0", "tsx": "^4.21.0", "typescript": "^6.0.3", "vitest": "^4.1.5" } }