1
0
Fork 0
mirror of https://github.com/imjasonh/apidiff-action synced 2026-07-06 22:52:43 +00:00
apidiff-action/package.json
Jason Hall 9f05344e16
Configure Node.js v20 for local development
- Add .node-version and .nvmrc files specifying Node 20.9.0
- Add engines field to package.json requiring Node 20
- Re-enable dist build/check hooks in pre-commit
- Add build-dist workflow for automated builds with Node 20
- Update documentation with Node version requirements

This ensures consistent builds between local development and CI.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 09:13:03 -04:00

62 lines
1.3 KiB
JSON

{
"author": "Jason Hall",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0"
},
"description": "GitHub Action for detecting breaking API changes in Go code",
"devDependencies": {
"@types/jest": "^30.0.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^9.32.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jest": "^30.0.5",
"lint-staged": "^16.1.2",
"prettier": "^3.1.1"
},
"engines": {
"node": ">=20.0.0 <21.0.0"
},
"jest": {
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"testEnvironment": "node"
},
"keywords": [
"github-action",
"go",
"golang",
"api",
"compatibility",
"breaking-changes"
],
"license": "Apache-2.0",
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.{json,yml}": [
"prettier --write"
]
},
"main": "index.js",
"name": "apidiff-action",
"scripts": {
"build": "ncc build index.js -o dist",
"format": "prettier --write .",
"lint": "eslint .",
"prepare": "husky install",
"test": "jest"
},
"version": "1.0.0"
}