{
    "name": "@hiro-graph/client",
    "repository": "arago/hiro-graph-js",
    "version": "7.5.37",
    "types": "index.d.ts",
    "description": "Javascript client for HIRO Graph REST API. Works in both node and browser.",
    "main": "lib/index.js",
    "scripts": {
        "build": "rm -rf lib/* && BABEL_ENV=production babel src --out-dir lib --source-maps",
        "build:win": "powershell -Command \"Remove-Item -Force -Recurse lib; if ($?) { $env:BABEL_ENV = 'production'; babel src --out-dir lib --source-maps }\"",
        "prepublish": "yarn test && yarn build",
        "test": "yarn lint && yarn build && jest --silent",
        "test:ci": "yarn install --frozen-lockfile && yarn lint && yarn build && jest --silent --ci --reporters=default --reporters=jest-junit",
        "format": "prettier 'src/*.{js,ts,tsx}' --write",
        "lint-prettier": "prettier 'src/*.{js,ts,tsx}' --list-different",
        "lint-eslint": "eslint src/",
        "lint": "yarn lint-prettier && yarn lint-eslint",
        "precommit": "yarn format"
    },
    "license": "MIT",
    "dependencies": {
        "@babel/runtime": "^7.26.10",
        "isomorphic-fetch": "^3.0.0",
        "qs": "^6.14.2",
        "websocket": "^1.0.35"
    },
    "devDependencies": {
        "@babel/cli": "^7.15.4",
        "@babel/core": "^7.15.5",
        "@babel/plugin-proposal-class-properties": "^7.14.5",
        "@babel/plugin-transform-regenerator": "^7.14.5",
        "@babel/plugin-transform-runtime": "^7.15.0",
        "@babel/plugin-transform-spread": "^7.14.6",
        "@babel/preset-env": "^7.15.6",
        "@hiro-ui/eslint-config": "2.0.1",
        "@hiro-ui/prettier-config": "2.0.0",
        "@types/websocket": "^1.0.4",
        "babel-jest": "^27.2.0",
        "husky": "^4.3.8",
        "jest": "^27.2.0",
        "jest-junit": "^13.0.0",
        "lint-staged": "^11.0.0",
        "typescript": "^4.3.4"
    },
    "browserslist": [
        "chrome >= 64",
        "ie 11",
        "edge >= 15"
    ],
    "babel": {
        "presets": [
            [
                "@babel/preset-env",
                {
                    "modules": "commonjs"
                }
            ]
        ],
        "plugins": [
            "@babel/plugin-proposal-class-properties",
            "@babel/plugin-transform-regenerator",
            "@babel/plugin-transform-runtime"
        ]
    },
    "jest": {
        "testPathIgnorePatterns": [
            "<rootDir>[/\\\\](lib|node_modules)[/\\\\]"
        ],
        "testEnvironment": "node",
        "testURL": "http://localhost",
        "transform": {
            "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest"
        }
    },
    "jest-junit": {
        "suiteName": "@hiro-graph/client",
        "outputDirectory": "reports",
        "outputName": "hiro-graph-client.xml"
    },
    "publishConfig": {
        "access": "public"
    },
    "eslintConfig": {
        "extends": "@hiro-ui",
        "rules": {
            "no-sequences": "off"
        }
    },
    "prettier": "@hiro-ui/prettier-config",
    "lint-staged": {
        "src/**/*.{js,ts,tsx}": [
            "eslint --max-warnings 0"
        ]
    }
}
