UNPKG

@squidcloud/client

Version:

A typescript implementation of the Squid client

72 lines (71 loc) 2.29 kB
{ "name": "@squidcloud/client", "version": "1.0.477", "description": "A typescript implementation of the Squid client", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/typescript-client/src/index.d.ts", "files": [ "dist/**/*" ], "scripts": { "prebuild": "del-cli dist && node inject-version.js", "build": "webpack --mode=production && npm run keep-only-public-types && npm run check-bundle-size", "build:dev": "webpack --mode=development", "build:prod": "webpack --mode=production", "watch": "webpack --watch", "lint": "eslint", "build-and-check-public-types": "npm run build && npm run check-public-types", "keep-only-public-types": "del-cli 'dist/internal-common/src/**' '!dist/internal-common/src/public-types' '!dist/internal-common/src/public-utils'", "check-public-types": "tsc -p tsconfig.types.json", "check-bundle-size": "node check-bundle-size.js", "test": "vitest run", "test:watch": "vitest watch", "test:cov": "vitest run --coverage", "publish:public": "npm run build && npm publish --access public", "full-bundle-size-report": "cross-env BUILD_FULL_BUNDLE_SIZE_REPORT=1 webpack --mode=production", "generate-docs-html": "typedoc", "generate-docs-markdown": "typedoc --plugin typedoc-plugin-markdown --readme none --out ./reference-docs/markdown" }, "keywords": [ "typescript", "javascript", "squid", "squid cloud", "realtime", "database" ], "author": "", "license": "ISC", "dependencies": { "json-schema-typed": "^8.0.1", "lz4js": "^0.2.0", "ws": "^8.21.0" }, "optionalDependencies": { "bufferutil": "^4.0.8", "utf-8-validate": "^6.0.5" }, "peerDependencies": { "rxjs": ">=7.5.7 <8.0.0" }, "devDependencies": { "@supercharge/promise-pool": "^3.2.0", "@webpack-cli/generators": "^3.0.7", "copy-webpack-plugin": "^14.0.0", "generate-package-json-webpack-plugin": "^2.6.0", "otrie": "^1.2.2", "tsconfig-paths-webpack-plugin": "^4.1.0", "tscpaths": "^0.0.9", "typedoc": "^0.28.10", "typedoc-plugin-markdown": "^4.8.1", "webpack": "^5.106.2", "webpack-cli": "^5.1.4" }, "browser": { "ws": false }, "engines": { "node": ">=20.0.0" } }