UNPKG

snyk-nodejs-lockfile-parser

Version:
75 lines (74 loc) 2.15 kB
{ "name": "snyk-nodejs-lockfile-parser", "description": "Generate a dep tree given a lockfile", "main": "dist/index.js", "bin": { "parse-nodejs-lockfile": "./bin/index.js" }, "scripts": { "test": "npm run unit-test && npm run test:jest", "unit-test": "tap --ts -Rspec ./test/lib/*.test.[tj]s --timeout=300 --no-check-coverage", "test:jest": "jest --coverage --runInBand", "lint": "eslint --color --cache '{lib,test}/**/*.{js,ts}' && prettier --check '{lib,test}/**/*.{js,ts}'", "format": "prettier --write '{lib,test}/**/*.{js,ts,json}'", "build": "tsc", "build-watch": "tsc -w", "prepare": "npm run build" }, "types": "./dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/snyk/nodejs-lockfile-parser.git" }, "author": "snyk.io", "license": "Apache-2.0", "engines": { "node": ">=10" }, "files": [ "bin", "dist" ], "homepage": "https://github.com/snyk/nodejs-lockfile-parser#readme", "dependencies": { "@snyk/error-catalog-nodejs-public": "^5.16.0", "@snyk/dep-graph": "^2.3.0", "@snyk/graphlib": "2.1.9-patch.3", "@yarnpkg/core": "^2.4.0", "@yarnpkg/lockfile": "^1.1.0", "dependency-path": "^9.2.8", "event-loop-spinner": "^2.0.0", "js-yaml": "^4.1.0", "lodash.clonedeep": "^4.5.0", "lodash.flatmap": "^4.5.0", "lodash.isempty": "^4.4.0", "lodash.topairs": "^4.3.0", "micromatch": "^4.0.8", "p-map": "^4.0.0", "semver": "^7.6.0", "snyk-config": "^5.2.0", "tslib": "^1.9.3", "uuid": "^8.3.0" }, "overrides": { "cross-spawn": "^7.0.5" }, "devDependencies": { "@types/jest": "^28.1.3", "@types/node": "^16.11.66", "@types/semver": "^7.3.6", "@types/uuid": "^8.3.0", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "eslint": "7.32.0", "eslint-config-prettier": "^8.3.0", "jest": "^28.1.3", "prettier": "^2.7.1", "tap": "^15.0.4", "ts-jest": "^28.0.8", "ts-node": "^8.10.2", "typescript": "4.8.4" }, "packageManager": "yarn@2.4.1", "version": "1.60.1" }