UNPKG

2.1 kBJSONView Raw
1{
2 "name": "snyk-nodejs-lockfile-parser",
3 "description": "Generate a dep tree given a lockfile",
4 "main": "dist/index.js",
5 "bin": {
6 "parse-nodejs-lockfile": "./bin/index.js"
7 },
8 "scripts": {
9 "test": "npm run unit-test && npm run test:jest",
10 "unit-test": "tap --ts -Rspec ./test/lib/*.test.[tj]s --timeout=300 --no-check-coverage",
11 "test:jest": "jest --coverage --runInBand",
12 "lint": "eslint --color --cache '{lib,test}/**/*.{js,ts}' && prettier --check '{lib,test}/**/*.{js,ts}'",
13 "format": "prettier --write '{lib,test}/**/*.{js,ts,json}'",
14 "build": "tsc",
15 "build-watch": "tsc -w",
16 "prepare": "npm run build"
17 },
18 "types": "./dist/index.d.ts",
19 "repository": {
20 "type": "git",
21 "url": "https://github.com/snyk/nodejs-lockfile-parser.git"
22 },
23 "author": "snyk.io",
24 "license": "Apache-2.0",
25 "engines": {
26 "node": ">=10"
27 },
28 "files": [
29 "bin",
30 "dist"
31 ],
32 "homepage": "https://github.com/snyk/nodejs-lockfile-parser#readme",
33 "dependencies": {
34 "@snyk/error-catalog-nodejs-public": "^5.16.0",
35 "@snyk/dep-graph": "^2.3.0",
36 "@snyk/graphlib": "2.1.9-patch.3",
37 "@yarnpkg/core": "^2.4.0",
38 "@yarnpkg/lockfile": "^1.1.0",
39 "dependency-path": "^9.2.8",
40 "event-loop-spinner": "^2.0.0",
41 "js-yaml": "^4.1.0",
42 "lodash.clonedeep": "^4.5.0",
43 "lodash.flatmap": "^4.5.0",
44 "lodash.isempty": "^4.4.0",
45 "lodash.topairs": "^4.3.0",
46 "micromatch": "^4.0.7",
47 "p-map": "^4.0.0",
48 "semver": "^7.6.0",
49 "snyk-config": "^5.0.0",
50 "tslib": "^1.9.3",
51 "uuid": "^8.3.0"
52 },
53 "devDependencies": {
54 "@types/jest": "^28.1.3",
55 "@types/node": "^16.11.66",
56 "@types/semver": "^7.3.6",
57 "@types/uuid": "^8.3.0",
58 "@typescript-eslint/eslint-plugin": "^4.33.0",
59 "@typescript-eslint/parser": "^4.33.0",
60 "eslint": "7.32.0",
61 "eslint-config-prettier": "^8.3.0",
62 "jest": "^28.1.3",
63 "prettier": "^2.7.1",
64 "tap": "^15.0.4",
65 "ts-jest": "^28.0.8",
66 "ts-node": "^8.10.2",
67 "typescript": "4.8.4"
68 },
69 "packageManager": "yarn@2.4.1",
70 "version": "1.58.12"
71}