-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
190 lines (190 loc) · 5.24 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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "@cyclonedx/cyclonedx-library",
"version": "6.11.1",
"description": "Core functionality of CycloneDX for JavaScript (Node.js or WebBrowser).",
"license": "Apache-2.0",
"keywords": [
"CycloneDX",
"models",
"normalizer",
"serializer",
"bill-of-materials",
"BOM",
"software-bill-of-materials",
"SBOM",
"OBOM",
"MBOM",
"SaaSBOM",
"VEX",
"VDR",
"package-url",
"PURL",
"SPDX",
"OWASP",
"inventory",
"component",
"dependency"
],
"homepage": "https://github.com/CycloneDX/cyclonedx-javascript-library#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/CycloneDX/cyclonedx-javascript-library.git"
},
"bugs": {
"url": "https://github.com/CycloneDX/cyclonedx-javascript-library/issues"
},
"funding": [
{
"type": "individual",
"url": "https://owasp.org/donate/?reponame=www-project-cyclonedx&title=OWASP+CycloneDX"
}
],
"author": {
"name": "Jan Kowalleck",
"url": "https://github.com/jkowalleck"
},
"maintainers": [
{
"name": "Jan Kowalleck",
"url": "https://github.com/jkowalleck"
}
],
"contributors": [
{
"name": "Jan Kowalleck",
"url": "https://github.com/jkowalleck"
},
{
"name": "Craig Andrews",
"url": "https://github.com/candrews"
},
{
"name": "Peter Wagner",
"url": "https://github.com/thepwagner"
},
{
"name": "Xavier Maso",
"url": "https://github.com/xmasoracle"
},
{
"name": "mLuca",
"url": "https://github.com/mLuca"
},
{
"name": " Augustus Kling ",
"url": "https://github.com/AugustusKling"
}
],
"type": "commonjs",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"packageurl-js": ">=0.0.6 <0.0.8 || ^1",
"spdx-expression-parse": "^3.0.1 || ^4"
},
"optionalDependencies": {
"ajv": "^8.12.0",
"ajv-formats": "^3.0.1",
"ajv-formats-draft2019": "^1.6.1",
"libxmljs2": "^0.31 || ^0.32 || ^0.33",
"xmlbuilder2": "^3.0.2"
},
"devDependencies": {
"@types/mocha": "^10",
"@types/node": "ts5.6",
"@types/spdx-expression-parse": "^3",
"c8": "^8||^9||^10",
"deepmerge": "^4.2.2",
"fast-glob": "^3.3.1",
"mocha": "10.8.2",
"npm-run-all2": "^5||^6",
"rimraf": "^4||^5",
"ts-loader": "9.5.1",
"typescript": "5.6.3",
"webpack": "5.96.1",
"webpack-cli": "5.1.4",
"webpack-node-externals": "3.0.0"
},
"browser": "./dist.web/lib.js",
"types": "./dist.d/index.node.d.ts",
"main": "./dist.node/index.node.js",
"exports": {
".": {
"types": "./dist.d/index.node.d.ts",
"browser": "./dist.web/lib.js",
"default": "./dist.node/index.node.js"
},
"./package.json": "./package.json",
"./Builders": {
"types": "./dist.d/builders/index.node.d.ts",
"default": "./dist.node/builders/index.node.js"
},
"./Enums": {
"types": "./dist.d/enums/index.d.ts",
"default": "./dist.node/enums/index.js"
},
"./Factories": {
"types": "./dist.d/factories/index.node.d.ts",
"default": "./dist.node/factories/index.node.js"
},
"./Models": {
"types": "./dist.d/models/index.d.ts",
"default": "./dist.node/models/index.js"
},
"./Serialize": {
"types": "./dist.d/serialize/index.node.d.ts",
"default": "./dist.node/serialize/index.node.js"
},
"./SPDX": {
"types": "./dist.d/spdx.d.ts",
"default": "./dist.node/spdx.js"
},
"./Spec": {
"types": "./dist.d/spec/index.d.ts",
"default": "./dist.node/spec/index.js"
},
"./Types": {
"types": "./dist.d/types/index.d.ts",
"default": "./dist.node/types/index.js"
},
"./Utils": {
"types": "./dist.d/utils/index.d.ts",
"default": "./dist.node/utils/index.js"
},
"./Validation": {
"types": "./dist.d/validation/index.node.d.ts",
"default": "./dist.node/validation/index.node.js"
}
},
"directories": {
"doc": "./docs",
"src": "./src",
"lib": "./dist.node",
"test": "./tests",
"example": "./examples"
},
"scripts": {
"dev-setup": "npm i && run-p --aggregate-output -lc dev-setup:*",
"dev-setup:code-style": "npm --prefix tools/code-style install",
"dev-setup:docs-gen": "npm --prefix tools/docs-gen install",
"prepublish": "npm run build",
"prepublishOnly": "run-s -lc build test",
"build": "run-p --aggregate-output -l build:*",
"prebuild:node": "rimraf dist.node",
"build:node": "tsc -b ./tsconfig.node.json",
"prebuild:web": "rimraf dist.web",
"build:web": "webpack build",
"prebuild:d": "rimraf dist.d",
"build:d": "tsc -b ./tsconfig.d.json",
"test": "run-p --aggregate-output -lc test:*",
"test:node": "c8 mocha -p",
"test:web": "node -e 'console.log(\"TODO: write web test\")'",
"test:lint": "tsc --noEmit",
"test:standard": "npm --prefix tools/code-style exec -- eslint .",
"cs-fix": "npm --prefix tools/code-style exec -- eslint --fix .",
"api-doc": "run-p --aggregate-output -lc api-doc:*",
"api-doc:node": "npm --prefix tools/docs-gen exec -- typedoc --options ./typedoc.node.json",
"api-doc:web": "npm --prefix tools/docs-gen exec -- typedoc --options ./typedoc.web.json"
}
}