{
  "name": "resclient",
  "version": "2.5.1",
  "description": "Resgate client implementing the RES-Client Protocol.",
  "main": "lib/index.js",
  "types": "types/index.d.ts",
  "module": "es/index.js",
  "jsnext:main": "es/index.js",
  "files": [
    "dist",
    "lib",
    "es",
    "types"
  ],
  "scripts": {
    "clean": "rimraf lib dist es coverage types",
    "build": "npm run clean && npm run types && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:docs",
    "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
    "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
    "build:umd": "cross-env BABEL_ENV=es NODE_ENV=development node_modules/.bin/rollup src/index.js --config --sourcemap --file dist/resclient.js",
    "build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup src/index.js --config --file dist/resclient.min.js",
    "build:docs": "jsdoc2md -f ./src/class/ResClient.js -f ./src/class/ResCollection.js -f ./src/class/ResModel.js -f ./src/class/ResError.js -f ./src/def/eventCallback.js > ./docs/docs.md",
    "eslint": "eslint src/**/*.js",
    "jest": "jest src --coverage",
    "test": "npm run eslint && npm run jest",
    "coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
    "types": "npx -p typescript tsc src/index.js --declaration --allowJs --emitDeclarationOnly --outDir types"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/resgateio/resclient"
  },
  "jest": {
    "testEnvironment": "jsdom",
    "testURL": "http://localhost/"
  },
  "author": "Samuel Jirénius <samuel@jirenius.com>",
  "license": "MIT",
  "homepage": "https://github.com/resgateio/resclient",
  "devDependencies": {
    "@babel/cli": "^7.19.3",
    "@babel/core": "^7.19.6",
    "@babel/preset-env": "^7.19.4",
    "@rollup/plugin-babel": "^5.2.1",
    "@rollup/plugin-node-resolve": "^8.4.0",
    "babel-jest": "^26.6.3",
    "coveralls": "^3.1.0",
    "cross-env": "^7.0.2",
    "eslint": "^7.13.0",
    "jest": "^26.6.3",
    "jsdoc-to-markdown": "^8.0.0",
    "mock-socket": "^7.1.0",
    "rimraf": "^3.0.2",
    "rollup": "^2.79.1",
    "rollup-plugin-terser": "^6.1.0",
    "typescript": "^4.8.4"
  },
  "dependencies": {
    "modapp-eventbus": "^1.8.2",
    "modapp-utils": "^1.8.0"
  }
}
