forked from anchore/scan-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.93 KB
/
package.json
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
{
"name": "anchore-scan-action",
"version": "2.0.2",
"description": "Anchore image scan github action",
"main": "index.js",
"directories": {
"lib": "lib",
"test": "tests"
},
"scripts": {
"audit": "better-npm-audit audit --production",
"lint": "eslint index.js",
"test": "eslint index.js && npm run download-pinned-grype-db && GRYPE_DB_AUTO_UPDATE=false GRYPE_DB_CACHE_DIR=./grype-db GRYPE_DB_VALIDATE_AGE=false jest",
"test:update-snapshots": "eslint index.js && npm run download-pinned-grype-db && GRYPE_DB_AUTO_UPDATE=false GRYPE_DB_CACHE_DIR=./grype-db GRYPE_DB_VALIDATE_AGE=false jest --updateSnapshot",
"download-pinned-grype-db": "mkdir -p grype-db/5 && curl -sL https://toolbox-data.anchore.io/grype/databases/vulnerability-db_v5_2022-10-17T08:14:57Z_b50a86ce07d268101316.tar.gz | tar zxf - -C grype-db/5",
"build": "ncc build ./index.js",
"precommit": "npm run build && git add dist/",
"prepare": "husky install",
"prettier": "prettier -w index.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/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/tool-cache": "^2.0.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@microsoft/jest-sarif": "^1.0.0-beta.0",
"@vercel/ncc": "^0.38.1",
"better-npm-audit": "^3.7.3",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"tslib": "^2.6.2"
},
"lint-staged": {
"*.js": "prettier --write"
},
"engines": {
"node": ">=v20.11.0"
}
}