{
    "name": "sturdy-websocket",
    "version": "0.2.1",
    "description": "Tiny WebSocket wrapper that reconnects and resends failed messages.",
    "main": "dist/index.js",
    "types": "dist/index",
    "files": [
        "dist/"
    ],
    "repository": {
        "type": "git",
        "url": "git://github.com/dphilipson/sturdy-websocket.git"
    },
    "homepage": "https://github.com/dphilipson/sturdy-websocket",
    "bugs": {
        "url": "https://github.com/dphilipson/sturdy-websocket/issues",
        "email": "david.philipson@gmail.com"
    },
    "author": "David Philipson <david.philipson@gmail.com> (http://dphil.me)",
    "license": "MIT",
    "scripts": {
        "build": "yarn run clean && tsc -p tsconfig.build.json",
        "clean": "rm -rf dist/*",
        "format": "prettier --write",
        "generate-toc": "markdown-toc -i",
        "jest": "jest",
        "jest-watch": "yarn run jest --watch",
        "lint": "tslint --project .",
        "prepare": "yarn run build",
        "test": "npm-run-all lint typecheck jest",
        "typecheck": "tsc"
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged"
        }
    },
    "lint-staged": {
        "*.{js,json}": [
            "yarn run format",
            "git add"
        ],
        "*.{ts,tsx}": [
            "yarn run lint --fix",
            "yarn run format",
            "git add"
        ],
        "*.md": [
            "yarn run generate-toc",
            "git add"
        ]
    },
    "devDependencies": {
        "@types/jest": "^24.0.18",
        "@types/ws": "^6.0.3",
        "husky": "^3.0.5",
        "isomorphic-ws": "^4.0.1",
        "jest": "^24.9.0",
        "lint-staged": "^9.2.5",
        "markdown-toc": "^1.2.0",
        "npm-run-all": "^4.1.5",
        "prettier": "^1.18.2",
        "ts-jest": "^24.0.2",
        "tslint": "^5.19.0",
        "tslint-config-prettier": "^1.18.0",
        "typescript": "^3.6.2",
        "ws": "^7.1.2"
    },
    "dependencies": {}
}
