{
    "name": "@deepstream/client",
    "version": "7.1.0",
    "description": "the javascript client for deepstreamIO",
    "keywords": [
        "deepstream",
        "javascript",
        "realtime",
        "client"
    ],
    "mocha": {
        "recursive": true,
        "reporter": "dot",
        "require": "ts-node/register/transpile-only",
        "exit": true
    },
    "main": "dist/src/deepstream.js",
    "types": "dist/src/deepstream-client.d.ts",
    "directories": {
        "test": "src/test"
    },
    "scripts": {
        "tsc": "rm -rf dist && tsc",
        "build": "npm run tsc && npm run build:dev && npm run build:prod",
        "build:dev": "webpack --config webpack.dev.js",
        "build:prod": "webpack --config webpack.prod.js",
        "rebuild": "rimraf dist && webpack",
        "clean": "rimraf dist",
        "lint": "tslint src/*.ts src/**/*.ts -t verbose",
        "lint:fix": "npm run lint -- --fix",
        "test": "mocha src/**/*.spec.ts",
        "test:coverage": "nyc npm test",
        "bundle:analyse": "webpack --config webpack.prod.js --profile --json > ./dist/stats.json && webpack-bundle-analyzer ./dist/stats.json",
        "postinstall": "node scripts/postinstall.js"
    },
    "repository": {
        "type": "git",
        "url": "https://github.com/deepstreamIO/deepstream.io-client-js.git"
    },
    "dependencies": {
        "@deepstream/protobuf": "^1.1.0",
        "protobufjs": "^8.0.3",
        "ws": "^8.20.0"
    },
    "browser": {
        "net": false,
        "./dist/src/connection/socket-factory.js": "./dist/src/connection/socket-factory-browser.js"
    },
    "devDependencies": {
        "@istanbuljs/nyc-config-typescript": "^1.0.1",
        "@types/chai": "^4.3.20",
        "@types/mocha": "^8.2.3",
        "@types/node": "^14.18.63",
        "@types/sinon": "^9.0.11",
        "@types/ws": "^8.18.1",
        "buffer": "^6.0.3",
        "chai": "^4.5.0",
        "husky": "^4.3.0",
        "mocha": "^11.7.5",
        "mocha-lcov-reporter": "^1.3.0",
        "nyc": "^18.0.0",
        "rimraf": "^3.0.2",
        "sinon": "^9.2.1",
        "terser-webpack-plugin": "^5.3.16",
        "ts-essentials": "^10.0.4",
        "ts-loader": "^9.5.2",
        "ts-node": "^10.9.2",
        "tslint": "^6.1.3",
        "typescript": "^4.9.5",
        "webpack": "^5.75.0",
        "webpack-bundle-analyzer": "^4.10.2",
        "webpack-cli": "^5.0.1"
    },
    "author": "deepstreamHub GmbH",
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/deepstreamIO/deepstream.io-client-js/issues"
    },
    "homepage": "http://deepstreamio.github.io",
    "eslintConfig": {
        "extends": "deepstream"
    },
    "husky": {
        "hooks": {
            "pre-commit": "npm t && npm run lint && npm run build",
            "pre-publish": "npm t && npm run build"
        }
    },
    "nyc": {
        "extends": "@istanbuljs/nyc-config-typescript",
        "include": [
            "src/**/*.ts"
        ],
        "exclude": [
            "src/**/*.spec.ts"
        ],
        "extension": [
            ".ts"
        ],
        "require": [
            "ts-node/register"
        ],
        "reporter": [
            "lcov"
        ]
    }
}
