mirror of
https://github.com/imjasonh/govulncheck-action
synced 2026-07-07 00:12:55 +00:00
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"name": "govulncheck-action",
|
|
"version": "1.0.0",
|
|
"description": "GitHub Action to run govulncheck and annotate vulnerabilities",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "ncc build index.js -o dist --source-map --license licenses.txt",
|
|
"test": "jest",
|
|
"lint": "eslint src/**/*.js",
|
|
"format": "prettier --write 'src/**/*.js'",
|
|
"format:check": "prettier --check 'src/**/*.js'",
|
|
"prepare": "husky",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"test:local": "node test-local.js"
|
|
},
|
|
"keywords": [
|
|
"github",
|
|
"action",
|
|
"govulncheck",
|
|
"vulnerability",
|
|
"security",
|
|
"go"
|
|
],
|
|
"author": "",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@actions/core": "^1.10.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/github": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vercel/ncc": "^0.38.1",
|
|
"eslint": "^9.30.0",
|
|
"husky": "^9.1.7",
|
|
"jest": "^30.0.3",
|
|
"lint-staged": "^16.1.2",
|
|
"prettier": "^3.6.2"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"collectCoverageFrom": [
|
|
"index.js",
|
|
"lib/**/*.js"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 80,
|
|
"functions": 95,
|
|
"lines": 95,
|
|
"statements": 95
|
|
}
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.js": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|