mezon-sdk 2.7.7 → 2.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,46 +1,57 @@
1
1
  {
2
- "name": "mezon-sdk",
3
- "version": "2.7.7",
4
- "scripts": {
5
- "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs",
6
- "docs": "typedoc index.ts --gaID UA-89839802-1 --out ../../docs"
7
- },
8
- "description": "JavaScript client for Mezon server written in TypeScript.",
9
- "main": "dist/mezon-sdk.cjs.js",
10
- "module": "dist/mezon-sdk.esm.mjs",
11
- "types": "dist/index.d.ts",
12
- "exports": {
13
- "./package.json": "./package.json",
14
- ".": {
15
- "import": "./dist/mezon-sdk.esm.mjs",
16
- "require": "./dist/mezon-sdk.cjs.js"
17
- }
18
- },
19
- "keywords": [
20
- "app server",
21
- "client library",
22
- "mezon server",
23
- "live ops"
24
- ],
25
- "repository": "https://github.com/mezon/mezon",
26
- "homepage": "https://mezon.ai",
27
- "bugs": "https://github.com/mezon/mezon/issues",
28
- "contributors": [
29
- ],
30
- "license": "Apache-2.0",
31
- "devDependencies": {
32
- "@rollup/plugin-node-resolve": "^15.0.1",
33
- "@rollup/plugin-typescript": "^11.0.0",
34
- "rollup": "^3.10.0",
35
- "tslib": "^2.4.1",
36
- "typescript": "^5.5.4"
37
- },
38
- "dependencies": {
39
- "@scarf/scarf": "^1.1.1",
40
- "base64-arraybuffer": "^1.0.2",
41
- "esbuild": "^0.23.0",
42
- "js-base64": "^3.7.4",
43
- "whatwg-fetch": "^3.6.2",
44
- "mezon-js-protobuf": "1.5.16"
2
+ "name": "mezon-sdk",
3
+ "version": "2.7.10",
4
+ "description": "Mezon typescript SDK.",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "build": "rimraf ./build && tsc",
9
+ "start:dev": "npx nodemon",
10
+ "start": "npm run build && node build/index.js",
11
+ "lint": "eslint . --ext .ts",
12
+ "prettier-format": "run-script-os",
13
+ "prettier-format:win32": "prettier --config .prettierrc \"./src/**/*.ts\" --write",
14
+ "prettier-format:darwin:linux": "prettier --config .prettierrc 'src/**/*.ts' --write",
15
+ "prettier-format:default": "prettier --config .prettierrc 'src/**/*.ts' --write",
16
+ "prettier-watch": "run-script-os",
17
+ "prettier-watch:win32": "onchange \"src/**/*.ts\" -- prettier --write {{changed}}",
18
+ "prettier-watch:darwin:linux": "onchange 'src/**/*.ts' -- prettier --write {{changed}}",
19
+ "prettier-watch:default": "onchange 'src/**/*.ts' -- prettier --write {{changed}}",
20
+ "test": "jest",
21
+ "test:dev": "jest --watchAll"
22
+ },
23
+ "husky": {
24
+ "hooks": {
25
+ "pre-commit": "npm run test && npm run prettier-format && npm run lint"
45
26
  }
27
+ },
28
+ "keywords": [],
29
+ "author": "",
30
+ "license": "ISC",
31
+ "devDependencies": {
32
+ "@types/jest": "^28.1.8",
33
+ "@types/node": "^18.6.1",
34
+ "@typescript-eslint/eslint-plugin": "^5.31.0",
35
+ "@typescript-eslint/parser": "^5.31.0",
36
+ "eslint": "^8.20.0",
37
+ "eslint-config-prettier": "^8.5.0",
38
+ "eslint-plugin-jest": "^26.6.0",
39
+ "eslint-plugin-prettier": "^4.2.1",
40
+ "husky": "^8.0.1",
41
+ "jest": "^28.1.3",
42
+ "node-fetch": "^3.3.2",
43
+ "nodemon": "^2.0.19",
44
+ "onchange": "^7.1.0",
45
+ "prettier": "^2.7.1",
46
+ "rimraf": "^3.0.2",
47
+ "run-script-os": "^1.1.6",
48
+ "ts-jest": "^28.0.7",
49
+ "ts-node": "^10.9.1",
50
+ "typescript": "^4.7.4"
51
+ },
52
+ "dependencies": {
53
+ "@types/ws": "^8.5.12",
54
+ "jest-cucumber": "^3.0.1",
55
+ "ws": "^8.18.0"
56
+ }
46
57
  }