-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.18 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.18 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
63
64
{
"name": "@anchore/sbom-action",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "GitHub Action for creating software bill of materials",
"main": "src/index.ts",
"scripts": {
"build": "tsc --noEmit",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"package": "run-s package:build post-package:*",
"package:build": "esbuild src/index.ts --bundle --platform=node --target=node20 --format=cjs --outfile=dist/index.cjs",
"post-package:fix-line-endings": "eolConverter 'dist/**/*.cjs'",
"test": "node --import tsx --test --experimental-test-module-mocks tests/*.test.ts tests/integration/*.test.ts",
"test:update-snapshots": "node --import tsx --test --test-update-snapshots --experimental-test-module-mocks tests/*.test.ts tests/integration/*.test.ts",
"all": "npm run build && npm run format && npm run lint && npm run package && npm test",
"prepare": "husky",
"prettier": "prettier -w src",
"precommit": "pretty-quick --staged && npm run package && git add dist/",
"update-deps": "npx npm-check-updates -u && npm i && npm audit fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/anchore/sbom-action.git"
},
"keywords": [
"actions",
"node",
"setup"
],
"author": "Keith Zantow <keith.zantow@anchore.com>",
"license": "Apache-2.0",
"dependencies": {
"@actions/artifact": "^6.2.0",
"@actions/core": "^3.0.0",
"@actions/exec": "^3.0.0",
"@actions/github": "^9.0.0",
"@actions/tool-cache": "^4.0.0",
"fast-safe-stringify": "^2.1.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@octokit/webhooks-types": "^7.6.1",
"@types/node": "^25.3.5",
"eol-converter-cli": "^1.1.0",
"esbuild": "^0.27.3",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.8.1",
"prettier-plugin-organize-imports": "^4.3.0",
"pretty-quick": "^4.2.2",
"tsx": "^4.21.0",
"type-fest": "^5.4.4",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.0"
},
"engines": {
"node": ">=v20.11.0"
}
}