UNPKG

@vabole/patcher

Version:

Tool for patching npm packages without modifying source repositories

63 lines (62 loc) 2.19 kB
{ "name": "@vabole/patcher", "version": "2.1.3", "publishConfig": { "access": "public" }, "description": "Tool for patching npm packages without modifying source repositories", "type": "module", "main": "src/index.js", "bin": { "patcher": "src/cli.js" }, "scripts": { "patcher": "node src/cli.js", "test": "node src/cli.js is-odd --file ./test-config.js && node local-test-runner.js && node src/cli.js is-odd --undo --file ./test-config.js", "test:patch": "node src/cli.js is-odd --file ./test-config.js", "test:undo": "node src/cli.js is-odd --undo --file ./test-config.js", "test:home-config": "node test/run-home-config-test.js", "test:special-package": "node test/special-package-test.js", "test:scoped-package": "node test/scoped-package-test.js", "test:bin-scoped-package": "node test/bin-scoped-package-test.js", "test:fix-verification": "node test/fix-verification-test.js", "test:cli-streamlined": "node test/run-cli-streamlined-test.js", "dev:setup": "node scripts/setup-git-hooks.js", "setup-git-hooks": "node scripts/setup-git-hooks.js", "publish:version": "node scripts/publish.js", "publish:patch": "node scripts/publish.js --type patch --yes", "publish:minor": "node scripts/publish.js --type minor --yes", "publish:major": "node scripts/publish.js --type major --yes", "publish:dry-run": "node scripts/publish.js --dry-run", "prepublishOnly": "echo \"ERROR: Do not use npm publish directly. Use npm run publish:version instead.\" && exit 1" }, "keywords": [ "patch", "npm", "monkey-patch", "hotfix", "npm-patch" ], "author": "vabole", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/vabole/patcher.git" }, "bugs": { "url": "https://github.com/vabole/patcher/issues" }, "homepage": "https://github.com/vabole/patcher#readme", "engines": { "node": ">=22.0.0" }, "dependencies": { "chalk": "^4.1.2", "commander": "^11.1.0", "js-beautify": "^1.14.9" }, "devDependencies": { "@patcher-test/is-even": "file:test/fixtures/packages/is-even", "is-odd": "^3.0.1" } }