{
    "name": "@trustify-da/trustify-da-javascript-client",
    "version": "0.4.0",
    "description": "Code-Ready Dependency Analytics JavaScript API.",
    "license": "Apache-2.0",
    "homepage": "https://github.com/guacsec/trustify-da-javascript-client#README.md",
    "bugs": "https://github.com/guacsec/trustify-da-javascript-client/issues",
    "repository": "github:guacsec/trustify-da-javascript-client",
    "keywords": [
        "analysis",
        "codeready",
        "exhort",
        "secure",
        "supply-chain",
        "vulnerability",
        "trustify",
        "dependency analytics"
    ],
    "engines": {
        "node": ">= 20.0.0",
        "npm": ">= 11.5.1"
    },
    "publishConfig": {
        "access": "public",
        "provenance": true
    },
    "type": "module",
    "bin": {
        "trustify-da": "dist/src/cli.js"
    },
    "main": "dist/src/index.js",
    "module": "dist/src/index.js",
    "types": "dist/src/index.d.ts",
    "files": [
        "!*",
        "dist/**/*",
        "config/**/*"
    ],
    "scripts": {
        "lint": "eslint src test",
        "lint:fix": "eslint src test --fix",
        "test": "c8 npm run tests",
        "tests": "mocha --config .mocharc.json",
        "tests:rep": "mocha --reporter-option maxDiffSize=0 --reporter json > unit-tests-result.json",
        "pretest": "cp node_modules/tree-sitter-requirements/tree-sitter-requirements.wasm src/providers/tree-sitter-requirements.wasm && cp node_modules/tree-sitter-gomod/tree-sitter-gomod.wasm src/providers/tree-sitter-gomod.wasm && cp node_modules/tree-sitter-containerfile/tree-sitter-containerfile.wasm src/providers/tree-sitter-containerfile.wasm",
        "precompile": "rm -rf dist",
        "compile": "tsc -p tsconfig.json",
        "compile:dev": "tsc -p tsconfig.dev.json",
        "postcompile": "cp node_modules/tree-sitter-requirements/tree-sitter-requirements.wasm dist/src/providers/tree-sitter-requirements.wasm && cp node_modules/tree-sitter-gomod/tree-sitter-gomod.wasm dist/src/providers/tree-sitter-gomod.wasm && cp node_modules/tree-sitter-containerfile/tree-sitter-containerfile.wasm dist/src/providers/tree-sitter-containerfile.wasm"
    },
    "dependencies": {
        "@yarnpkg/parsers": "^3.1.0",
        "eslint-import-resolver-typescript": "^4.4.4",
        "fast-glob": "^3.3.3",
        "fast-xml-parser": "^5.3.4",
        "help": "^3.0.2",
        "https-proxy-agent": "^9.0.0",
        "js-yaml": "^5.4.2",
        "jsonc-parser": "^3.3.1",
        "micromatch": "^4.0.8",
        "node-fetch": "^3.3.2",
        "p-limit": "^7.3.0",
        "packageurl-js": "~1.0.2",
        "smol-toml": "^1.6.0",
        "tree-sitter-containerfile": "^0.9.2",
        "tree-sitter-gomod": "github:strum355/tree-sitter-go-mod#56326f2ad478892ace58ff247a97d492a3cbcdda",
        "tree-sitter-requirements": "github:Strum355/tree-sitter-requirements#d0261ee76b84253997fe70d7d397e78c006c3801",
        "web-tree-sitter": "^0.27.0",
        "yargs": "^18.0.0"
    },
    "devDependencies": {
        "@cyclonedx/cyclonedx-library": "^10.2.0",
        "@eslint/js": "^10.0.0",
        "@trustify-da/trustify-da-api-model": "^2.0.12",
        "@types/node": "^26.6.4",
        "@types/which": "^3.0.4",
        "ajv": "^8.20.0",
        "c8": "^12.0.0",
        "chai": "^6.2.2",
        "eslint": "^10.4.1",
        "eslint-import-resolver-typescript": "^4.4.4",
        "eslint-plugin-import-x": "^4.16.2",
        "esmock": "^2.6.2",
        "globals": "^17.6.0",
        "mocha": "^12.0.3",
        "msw": "^3.0.2",
        "sinon": "^22.0.0",
        "sinon-chai": "^4.0.1",
        "typescript": "^7.0.2",
        "which": "^7.0.0"
    },
    "mocha": {
        "check-leaks": false,
        "color": true,
        "extension": "js",
        "fail-zero": true,
        "recursive": true,
        "ui": "tdd"
    },
    "c8": {
        "all": true,
        "check-coverage": true,
        "clean": true,
        "include": [
            "src/**"
        ],
        "exclude": [
            "src/cli.js",
            "src/index.js",
            "src/analysis.js",
            "src/providers/java_maven.js",
            "src/providers/javascript_npm.js"
        ],
        "lines": 82,
        "reporter": [
            "html",
            "json",
            "lcov",
            "text"
        ]
    },
    "overrides": {
        "tree-sitter": "0.22.4"
    },
    "resolutions": {
        "@hapi/joi": "17.1.1"
    }
}
