{
    "name": "@refinitiv-data/common",
    "scope": "@refinitiv-data",
    "version": "3.14.0-beta",
    "description": "Common module for Refinitiv Data Library for TS/JS",
    "main": "build/main/index.js",
    "typings": "build/main/index.d.ts",
    "module": "build/module/index.js",
    "license": "Apache-2.0",
    "keywords": [
        "refinitiv",
        "container",
        "common",
        "typescript"
    ],
    "scripts": {
        "build": "npm run clean && run-p build:*",
        "build:main": "tsc -p tsconfig.json",
        "build:module": "tsc -p tsconfig.module.json",
        "fix": "run-s fix:*",
        "fix:prettier": "prettier \"src/**/*.ts\" --write",
        "fix:eslint": "eslint --ext=ts --fix .",
        "test": "run-s build test:*",
        "test:ava": "run-s build && ava",
        "test:lint": "eslint --ext=ts . && prettier \"src/**/*.ts\" --list-different",
        "test:unit": "nyc --silent ava",
        "watch": "run-s \"build:main -- -w\"",
        "cov": "run-s build test:unit cov:html && open-cli coverage/index.html",
        "cov:html": "nyc report --reporter=html",
        "cov:json": "nyc report --reporter=json",
        "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
        "reset": "git clean -dfx && git reset --hard && npm i",
        "clean": "trash build test coverage .nyc_output && run-p remove:pack remove:tgz",
        "prepare-release": "run-s reset test cov:check version",
        "set:creds": "echo _auth=${NPM_AUTH} >> .npmrc && echo email=${NPM_EMAIL} >> .npmrc",
        "remove": "run-s remove:*",
        "remove:creds": "sed --in-place \"/^\\(_auth\\|email\\)/ d\" '.npmrc'",
        "remove:pack": "trash pack.txt || true",
        "remove:tgz": "trash refinitiv-data*.tgz || true",
        "pack:file": "npm pack > pack.txt"
    },
    "engines": {
        "node": ">=10.0"
    },
    "dependencies": {
        "@refinitiv-data/types": "3.14.0-beta",
        "eventemitter3": "^5.0.1",
        "serialize-error": "^8.1.0"
    },
    "devDependencies": {
        "@istanbuljs/nyc-config-typescript": "^1.0.2",
        "@types/node": "^20.11.24",
        "@types/sinon": "^17.0.3",
        "@types/uuid": "^8.3.4",
        "@typescript-eslint/eslint-plugin": "^6.21.0",
        "@typescript-eslint/parser": "^6.21.0",
        "ava": "^6.1.1",
        "cz-conventional-changelog": "^3.3.0",
        "eslint": "^8.57.0",
        "npm-run-all": "^4.1.5",
        "nyc": "^15.1.0",
        "open-cli": "^7.2.0",
        "prettier": "^2.8.8",
        "sinon": "^16.1.3",
        "source-map-support": "^0.5.21",
        "standard-version": "^9.5.0",
        "trash-cli": "^5.0.0",
        "ts-node": "^10.9.2",
        "typescript": "5.3.3"
    },
    "config": {
        "commitizen": {
            "path": "cz-conventional-changelog"
        }
    },
    "resolutions": {
        "@types/node": "^20.10.4"
    },
    "ava": {
        "failFast": true,
        "files": [
            "build/main/**/*.spec.js",
            "!**/helpers/**/*"
        ],
        "timeout": "300s"
    },
    "nyc": {
        "extends": "@istanbuljs/nyc-config-typescript",
        "exclude": [
            "**/*.spec.js",
            "**/*.mock.js"
        ]
    },
    "standard-version": {
        "skip": {
            "commit": true,
            "tag": true
        }
    }
}
