{
  "name": "@deriv/deriv-api",
  "version": "1.0.15",
  "description": "Websocket API for Deriv applications",
  "main": "dist/DerivAPI.js",
  "unpkg": "dist/DerivAPI.js",
  "files": [
    "dist/*.js"
  ],
  "scripts": {
    "test": "jest --verbose --forceExit",
    "build": "webpack --config webpack.config.js",
    "examples": "npm run build -- --display=none; for e in examples/*; do node $e; done",
    "coverage": "codecov",
    "devel": "npm test -- --watch --notify --onlyChanged",
    "lint": "eslint",
    "syntax": "npm run lint 'src/**/*.js'",
    "test_all": "npm test && npm run syntax",
    "prettify": "eslint --fix 'src/**/*.js' src/",
    "docs": "npx documentation build src/DerivAPI.js --config docs/config.md.yml -f md -o docs/DerivAPI.md --markdown-toc-max-depth 4",
    "gh-pages": "npx documentation build src/DerivAPI.js --config docs/config.html.yml -f html -o /tmp/deriv-api-docs; git add -A .; git stash; git checkout gh-pages; cp -r /tmp/deriv-api-docs/* .; git add -A .; git commit -m 'Update docs'; git push origin gh-pages; git checkout -",
    "serve_docs": "npx documentation serve src/DerivAPI.js --watch --config docs/config.html.yml",
    "devel_docs": "while :; do clear; inotifywait -r src/ && npm run docs || break; done",
    "prepublish": "npm run test_all && npm run build"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run docs && npm run prettify && git add ."
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/binary-com/deriv-api.git"
  },
  "author": "Deriv",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/binary-com/deriv-api/issues"
  },
  "homepage": "https://github.com/binary-com/deriv-api#readme",
  "devDependencies": {
    "@babel/core": "^7.23.9",
    "@babel/plugin-transform-runtime": "^7.23.9",
    "@babel/preset-env": "^7.23.9",
    "@babel/runtime": "^7.23.9",
    "babel-jest": "^29.7.0",
    "babel-loader": "^9.1.3",
    "codecov": "^3.8.2",
    "documentation": "^14.0.3",
    "eslint": "^8.56.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-plugin-align-assignments": "^1.1.2",
    "eslint-plugin-arca": "^0.16.0",
    "eslint-plugin-import": "^2.29.1",
    "husky": "^9.0.10",
    "jest": "^27.5.1",
    "webpack": "^5.90.1",
    "webpack-bundle-analyzer": "^4.10.1",
    "webpack-cli": "^5.1.4",
    "ws": "^8.16.0"
  },
  "dependencies": {
    "dayjs": "^1.11.10",
    "json-stable-stringify": "^1.1.1",
    "rxjs": "^7.8.1"
  }
}
