forked from anchore/scan-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.98 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "anchore-scan-action",
"version": "2.0.2",
"description": "Anchore image scan github action",
"main": "index.js",
"directories": {
"lib": "lib",
"test": "tests"
},
"scripts": {
"install-and-update-grype": "RUNNER_TOOL_CACHE='grype' RUNNER_TEMP='grype' node ./scripts/install-and-update-grype.js",
"audit": "better-npm-audit audit --production",
"lint": "eslint index.js",
"test": "npm run lint && npm run install-and-update-grype && npm run build && npm run run-tests",
"run-tests": "GRYPE_DB_AUTO_UPDATE=false GRYPE_DB_VALIDATE_AGE=false jest --runInBand",
"test:update-snapshots": "eslint index.js && npm run install-and-update-grype && GRYPE_DB_AUTO_UPDATE=false GRYPE_DB_VALIDATE_AGE=false jest --runInBand --updateSnapshot",
"build": "esbuild ./index.js --bundle --platform=node --target=node20 --format=cjs --conditions=import --outfile=dist/index.js && node dos2unix.js dist/index.js",
"precommit": "npm run prettier && npm run build && git add dist/",
"prepare": "husky",
"prettier": "prettier -w *.js && prettier -w tests/*.js",
"update-deps": "ncu -u && npm i && npm audit fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/anchore/anchore-scan-action.git"
},
"keywords": [
"image",
"scanning"
],
"author": "Anchore Inc.",
"license": "MIT",
"bugs": {
"url": "https://github.com/anchore/anchore-scan-action/issues"
},
"homepage": "https://github.com/anchore/anchore-scan-action#readme",
"dependencies": {
"@actions/cache": "^6.0.0",
"@actions/core": "^2.0.2",
"@actions/exec": "^2.0.0",
"@actions/tool-cache": "^3.0.1",
"lodash": "^4.17.23"
},
"devDependencies": {
"@microsoft/jest-sarif": "^1.0.0-beta.0",
"better-npm-audit": "^3.11.0",
"esbuild": "^0.27.3",
"eslint": "^9.39.2",
"husky": "^9.1.7",
"jest": "^30.2.0",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"tar": "^7.5.8",
"tslib": "^2.8.1"
},
"lint-staged": {
"*.js": "prettier --write"
},
"engines": {
"node": ">=v20.11.0"
}
}