Files
npm-audit-action/package.json

63 lines
1.7 KiB
JSON

{
"name": "npm-audit-action",
"version": "3.0.0",
"private": true,
"description": "GitHub Action to run `npm audit`",
"main": "lib/main.js",
"type": "module",
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"bundle": "npm run format && npm run package",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"package": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"test": "vitest --run",
"test:coverage": "vitest --run --coverage",
"all": "npm run format && npm run lint && npm run test:coverage && npm run package"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oke-py/npm-audit-action"
},
"keywords": [
"actions",
"node",
"security",
"vulnerability"
],
"author": "Naoki Oketani <okepy.naoki@gmail.com>",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.0",
"@octokit/rest": "^21.1.1",
"strip-ansi": "^7.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"@vitest/coverage-v8": "^3.1.2",
"eslint": "^9.26.0",
"eslint-define-config": "^2.1.0",
"eslint-import-resolver-typescript": "^4.3.4",
"eslint-plugin-github": "^6.0.0",
"js-yaml": "^4.0.0",
"prettier": "^3.5.3",
"rollup": "^3.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"vite": "^6.3.4",
"vitest": "^3.1.2"
}
}