/
package.json
137 lines (137 loc) · 4.05 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
{
"private": true,
"name": "@cyclonedx/yarn-plugin-cyclonedx",
"version": "1.0.0-alpha",
"description": "Create CycloneDX Software Bill of Materials (SBOM) from yarn projects.",
"license": "Apache-2.0",
"keywords": [
"CycloneDX",
"SBOM",
"BOM",
"inventory",
"bill-of-materials",
"software-bill-of-materials",
"component",
"dependency",
"package-url",
"PURL",
"spdx",
"node",
"yarn"
],
"homepage": "https://github.com/CycloneDX/cyclonedx-node-yarn#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/CycloneDX/cyclonedx-node-yarn.git"
},
"bugs": {
"url": "https://github.com/CycloneDX/cyclonedx-node-yarn/issues"
},
"funding": [
{
"type": "individual",
"url": "https://owasp.org/donate/?reponame=www-project-cyclonedx&title=OWASP+CycloneDX"
}
],
"contributors": [
{
"name": "Jan Kowalleck",
"url": "https://github.com/jkowalleck"
},
{
"name": "Augustus Kling",
"url": "https://github.com/AugustusKling"
}
],
"maintainers": [
{
"name": "Jan Kowalleck",
"url": "https://github.com/jkowalleck"
}
],
"dependencies": {
"@cyclonedx/cyclonedx-library": "^6.8.0",
"@yarnpkg/cli": "^4.1.0",
"@yarnpkg/core": "^4.0.3",
"@yarnpkg/fslib": "^3.0.2",
"clipanion": "^4.0.0-rc.3",
"normalize-package-data": "^3||^4||^5||^6",
"packageurl-js": "^1.2.1",
"typanion": "^3.14.0",
"xmlbuilder2": "^3.1.1"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "ts5.4",
"@types/normalize-package-data": "^2.4.4",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@yarnpkg/builder": "4.1.1",
"c8": "^9.1.0",
"eslint": "8.57.0",
"eslint-config-love": "43.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-simple-import-sort": "12.1.0",
"extract-zip": "^2.0.1",
"fast-glob": "^3.3.2",
"mkdirp": "^3.0.1",
"mocha": "10.4.0",
"npm-run-all2": "^6.1.2",
"rimraf": "^5.0.5",
"typescript": "5.4.5"
},
"type": "commonjs",
"engines": {
"yarn": ">=4",
"node": ">=18"
},
"directories": {
"doc": "docs",
"src": "src",
"test": "tests"
},
"bin": {
"cyclonedx-yarn": "./bin/cyclonedx-yarn-cli.js"
},
"main": "./src/plugin.ts",
"exports": "./index.js",
"files": [
"!/**"
],
"publishConfig": {
"$comment": "this section defines how `tools/make-dist-package.cjs` works",
"main": "./yarn-plugin-cyclonedx.cjs",
"files": [
"/README.md",
"/LICENSE",
"/NOTICE",
"/index.js"
],
"directories": {},
"scripts": {}
},
"scripts": {
"build": "run-s -n build:gbti build:bundle",
"build:gbti": "node $PROJECT_CWD/tools/gather-buildtime-info.cjs",
"build:bundle": "builder build plugin --metafile",
"build:bundle-dev": "yarn build:bundle --source-map",
"make-dist": "run-s -n make-dist:mkdir make-dist:cp make-dist:make-\\*",
"make-dist:mkdir": "mkdirp $PROJECT_CWD/dist",
"make-dist:cp": "node -r fs -r path -e 'process.chdir(process.env.PROJECT_CWD);j=path.join;c=fs.cpSync;d=`dist`;c(j(`bundles`,`@yarnpkg`,`plugin-cyclonedx.js`),j(d,`yarn-plugin-cyclonedx.cjs`));[`README.md`,`LICENSE`,`index.js`,`bin`].forEach(s=>c(s,j(d,s),{recursive:true}))'",
"make-dist:make-notice": "node $PROJECT_CWD/tools/write-3rd-party-licenses.cjs $PROJECT_CWD/dist/NOTICE",
"make-dist:make-manifest": "node $PROJECT_CWD/tools/write-dist-manifest.cjs $PROJECT_CWD/dist/package.json",
"clean": "rimraf bundles dist packed",
"setup-tests": "node tests/integration/setup.js",
"test": "run-p --aggregate-output -lc test:\\*",
"test:standard": "eslint .",
"test:lint": "tsc --noEmit",
"test:node": "c8 mocha -p",
"cs-fix": "eslint --fix .",
"dogfooding": "node $PROJECT_CWD/bin/cyclonedx-yarn-cli.js"
},
"packageManager": "yarn@4.1.1"
}