Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.75 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 3.75 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "@trustify-da/trustify-da-javascript-client",
"version": "0.4.0",
"description": "Code-Ready Dependency Analytics JavaScript API.",
"license": "Apache-2.0",
"homepage": "https://github.com/guacsec/trustify-da-javascript-client#README.md",
"bugs": "https://github.com/guacsec/trustify-da-javascript-client/issues",
"repository": "github:guacsec/trustify-da-javascript-client",
"keywords": [
"analysis",
"codeready",
"exhort",
"secure",
"supply-chain",
"vulnerability",
"trustify",
"dependency analytics"
],
"engines": {
"node": ">= 20.0.0",
"npm": ">= 11.5.1"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"type": "module",
"bin": {
"trustify-da": "dist/src/cli.js"
},
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"!*",
"dist/**/*",
"config/**/*"
],
"scripts": {
"lint": "eslint src test",
"lint:fix": "eslint src test --fix",
"test": "c8 npm run tests",
"tests": "mocha --config .mocharc.json",
"tests:rep": "mocha --reporter-option maxDiffSize=0 --reporter json > unit-tests-result.json",
"pretest": "cp node_modules/tree-sitter-requirements/tree-sitter-requirements.wasm src/providers/tree-sitter-requirements.wasm && cp node_modules/tree-sitter-gomod/tree-sitter-gomod.wasm src/providers/tree-sitter-gomod.wasm && cp node_modules/tree-sitter-containerfile/tree-sitter-containerfile.wasm src/providers/tree-sitter-containerfile.wasm",
"precompile": "rm -rf dist",
"compile": "tsc -p tsconfig.json",
"compile:dev": "tsc -p tsconfig.dev.json",
"postcompile": "cp node_modules/tree-sitter-requirements/tree-sitter-requirements.wasm dist/src/providers/tree-sitter-requirements.wasm && cp node_modules/tree-sitter-gomod/tree-sitter-gomod.wasm dist/src/providers/tree-sitter-gomod.wasm && cp node_modules/tree-sitter-containerfile/tree-sitter-containerfile.wasm dist/src/providers/tree-sitter-containerfile.wasm"
},
"dependencies": {
"@yarnpkg/parsers": "^3.1.0",
"cross-spawn": "^7.0.6",
"eslint-import-resolver-typescript": "^4.4.4",
"fast-glob": "^3.3.3",
"fast-xml-parser": "^5.3.4",
"help": "^3.0.2",
"https-proxy-agent": "^9.0.0",
"js-yaml": "^5.4.2",
"jsonc-parser": "^3.3.1",
"micromatch": "^4.0.8",
"node-fetch": "^3.3.2",
"p-limit": "^7.3.0",
"packageurl-js": "~1.0.2",
"semver": "^7.8.5",
"smol-toml": "^1.6.0",
"tree-sitter-containerfile": "^0.9.2",
"tree-sitter-gomod": "github:strum355/tree-sitter-go-mod#56326f2ad478892ace58ff247a97d492a3cbcdda",
"tree-sitter-requirements": "github:Strum355/tree-sitter-requirements#d0261ee76b84253997fe70d7d397e78c006c3801",
"web-tree-sitter": "^0.27.0",
"yargs": "^18.0.0"
},
"devDependencies": {
"@cyclonedx/cyclonedx-library": "^10.2.0",
"@eslint/js": "^10.0.0",
"@trustify-da/trustify-da-api-model": "^2.0.12",
"@types/node": "^26.6.4",
"@types/which": "^3.0.4",
"ajv": "^8.20.0",
"c8": "^12.0.0",
"chai": "^6.2.2",
"eslint": "^10.4.1",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.16.2",
"esmock": "^2.6.2",
"globals": "^17.6.0",
"mocha": "^12.0.3",
"msw": "^3.0.2",
"sinon": "^22.0.0",
"sinon-chai": "^4.0.1",
"typescript": "^7.0.2",
"which": "^7.0.0"
},
"mocha": {
"check-leaks": false,
"color": true,
"extension": "js",
"fail-zero": true,
"recursive": true,
"ui": "tdd"
},
"c8": {
"all": true,
"check-coverage": true,
"clean": true,
"include": [
"src/**"
],
"exclude": [
"src/cli.js",
"src/index.js",
"src/analysis.js",
"src/providers/java_maven.js",
"src/providers/javascript_npm.js"
],
"lines": 82,
"reporter": [
"html",
"json",
"lcov",
"text"
]
},
"overrides": {
"tree-sitter": "0.22.4"
},
"resolutions": {
"@hapi/joi": "17.1.1"
}
}