UNPKG

@cyclonedx/cyclonedx-npm

Version:

Create CycloneDX Software Bill of Materials (SBOM) from NPM projects.

132 lines (131 loc) 3.43 kB
{ "name": "@cyclonedx/cyclonedx-npm", "version": "2.1.0", "description": "Create CycloneDX Software Bill of Materials (SBOM) from NPM projects.", "license": "Apache-2.0", "keywords": [ "CycloneDX", "SBOM", "BOM", "inventory", "bill-of-materials", "software-bill-of-materials", "component", "dependency", "package-url", "PURL", "spdx", "node", "npm" ], "homepage": "https://github.com/CycloneDX/cyclonedx-node-npm#readme", "repository": { "type": "git", "url": "git+https://github.com/CycloneDX/cyclonedx-node-npm.git" }, "bugs": { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/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" }, "contributors": [ { "name": "Jan Kowalleck", "url": "https://github.com/jkowalleck" }, { "name": "Alex Miller", "email": "codex.nz@gmail.com", "uwl": "https://github.com/Codex-" }, { "name": "Malick Burger", "email": "malickjackburger@gmail.com", "url": "https://github.com/MalickBurger" }, { "name": "Igor Dimitrijevic", "url": "https://github.com/igord" }, { "name": "Arthur Lutz", "url": "https://github.com/arthurlutz" }, { "name": "Joona Heinikoski", "url": "https://github.com/joonamo" }, { "name": "cuhland", "url": "https://github.com/cuhland" } ], "dependencies": { "@cyclonedx/cyclonedx-library": "^7.0.0", "commander": "^10.0.0", "normalize-package-data": "^3||^4||^5||^6", "xmlbuilder2": "^3.0.2" }, "devDependencies": { "@types/hosted-git-info": "^3.0.5", "@types/node": "ts5.6", "@types/normalize-package-data": "^2.4.1", "eslint": "8.57.0", "eslint-config-standard": "17.1.0", "eslint-config-standard-with-typescript": "43.0.1", "eslint-plugin-header": "3.1.1", "eslint-plugin-simple-import-sort": "12.1.1", "fast-glob": "^3.2.11", "imurmurhash": "^0.1.4", "jest": "29.7.0", "jest-junit": "16.0.0", "npm-run-all": "^4.1.5", "typescript": "5.7.3" }, "type": "commonjs", "engines": { "node": ">=14", "npm": "6 - 11" }, "directories": { "doc": "docs", "src": "src", "lib": "dist", "test": "tests", "example": "demo" }, "bin": { "cyclonedx-npm": "bin/cyclonedx-npm-cli.js" }, "main": "./dist/cli.js", "exports": "./dist/index.js", "scripts": { "prepublish": "npm run build", "prepublishOnly": "run-s -lc build setup-tests test:jest", "lint": "tsc --noEmit", "prebuild": "node -r fs -e 'fs.rmSync(`dist`,{recursive:true,force:true})'", "build": "tsc -b ./tsconfig.json", "build-dev": "npm run -- build --sourceMap", "cs-fix": "eslint --fix .", "setup-tests": "node tests/integration/setup.js", "test": "run-p --aggregate-output -lc test:*", "test:jest": "jest", "test:standard": "eslint .", "dogfooding:npx": "npx .", "dogfooding:npm-exec": "npm exec .", "dogfooding:direct": "node -- bin/cyclonedx-npm-cli.js" }, "jest-junit": { "suiteName": "jest tests", "outputDirectory": "reports/jest", "outputName": "tests.junit.xml" } }