forked from anchore/scan-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.1 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
60
61
{
"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 && npm run build && GRYPE_DB_AUTO_UPDATE=false GRYPE_DB_CACHE_DIR=./grype-db GRYPE_DB_VALIDATE_AGE=false jest --runInBand",
"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 --runInBand --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 && node dos2unix.js dist/index.js",
"precommit": "npm run prettier && npm run build && git add dist/",
"prepare": "husky install",
"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": "^4.0.0",
"@actions/core": "^1.11.0",
"@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.3",
"better-npm-audit": "^3.11.0",
"eslint": "^9.16.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"tar": "^7.4.3",
"tslib": "^2.8.1"
},
"lint-staged": {
"*.js": "prettier --write"
},
"engines": {
"node": ">=v20.11.0"
}
}