2025-06-06 23:41:03 -04:00
|
|
|
{
|
2025-06-06 23:51:19 -04:00
|
|
|
"name": "govulncheck-action",
|
2025-06-06 23:41:03 -04:00
|
|
|
"version": "1.0.0",
|
2025-06-06 23:51:19 -04:00
|
|
|
"description": "GitHub Action to run govulncheck and annotate vulnerabilities",
|
2025-06-06 23:41:03 -04:00
|
|
|
"main": "index.js",
|
2026-02-21 02:54:49 -05:00
|
|
|
"type": "module",
|
2025-06-06 23:41:03 -04:00
|
|
|
"scripts": {
|
2026-02-21 02:54:49 -05:00
|
|
|
"build": "esbuild index.js --bundle --platform=node --format=esm --outfile=dist/index.js --banner:js='import { createRequire } from \"module\"; const require = createRequire(import.meta.url);' && license-checker --production > dist/licenses.txt",
|
|
|
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
2025-06-17 14:14:55 -04:00
|
|
|
"lint": "eslint src/**/*.js",
|
|
|
|
|
"format": "prettier --write 'src/**/*.js'",
|
|
|
|
|
"format:check": "prettier --check 'src/**/*.js'",
|
|
|
|
|
"prepare": "husky",
|
2026-02-21 02:54:49 -05:00
|
|
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
|
|
|
|
|
"test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
|
2025-06-07 00:14:39 -04:00
|
|
|
"test:local": "node test-local.js"
|
2025-06-06 23:41:03 -04:00
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"github",
|
2025-06-17 14:14:55 -04:00
|
|
|
"action",
|
|
|
|
|
"govulncheck",
|
|
|
|
|
"vulnerability",
|
|
|
|
|
"security",
|
|
|
|
|
"go"
|
2025-06-06 23:41:03 -04:00
|
|
|
],
|
|
|
|
|
"author": "",
|
2025-06-17 14:14:55 -04:00
|
|
|
"license": "Apache-2.0",
|
2025-06-06 23:41:03 -04:00
|
|
|
"dependencies": {
|
2026-02-21 02:54:49 -05:00
|
|
|
"@actions/core": "^3.0.0",
|
|
|
|
|
"@actions/exec": "^3.0.0",
|
|
|
|
|
"@actions/github": "^9.0.0"
|
2025-06-06 23:41:03 -04:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-04-06 21:35:22 +00:00
|
|
|
"esbuild": "^0.28.0",
|
|
|
|
|
"eslint": "^10.2.0",
|
2025-06-17 14:21:49 -04:00
|
|
|
"husky": "^9.1.7",
|
2026-03-16 21:36:45 +00:00
|
|
|
"jest": "^30.3.0",
|
2026-02-21 02:54:49 -05:00
|
|
|
"license-checker": "^25.0.1",
|
2026-03-16 21:36:45 +00:00
|
|
|
"lint-staged": "^16.4.0",
|
2025-12-08 21:21:12 +00:00
|
|
|
"prettier": "^3.7.4"
|
2025-06-06 23:41:03 -04:00
|
|
|
},
|
|
|
|
|
"jest": {
|
|
|
|
|
"testEnvironment": "node",
|
2026-02-21 02:54:49 -05:00
|
|
|
"transform": {},
|
2025-06-06 23:41:03 -04:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
|
"index.js",
|
|
|
|
|
"lib/**/*.js"
|
|
|
|
|
],
|
|
|
|
|
"coverageThreshold": {
|
|
|
|
|
"global": {
|
2025-06-07 01:44:32 -04:00
|
|
|
"branches": 80,
|
2025-06-07 01:44:53 -04:00
|
|
|
"functions": 95,
|
|
|
|
|
"lines": 95,
|
|
|
|
|
"statements": 95
|
2025-06-06 23:41:03 -04:00
|
|
|
}
|
|
|
|
|
}
|
2025-06-17 14:14:55 -04:00
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"src/**/*.js": [
|
|
|
|
|
"prettier --write"
|
|
|
|
|
]
|
2025-06-06 23:41:03 -04:00
|
|
|
}
|
|
|
|
|
}
|