@rapidaai/react 1.1.49 → 1.1.51

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@rapidaai/react",
3
- "version": "1.1.49",
3
+ "version": "1.1.51",
4
4
  "description": "An easy to use react client for building generative ai application using Rapida platform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -68,10 +68,14 @@
68
68
  "@babel/preset-react": "^7.26.3",
69
69
  "@babel/preset-typescript": "^7.26.0",
70
70
  "@swc/core": "^1.10.16",
71
+ "@testing-library/react": "^16.0.0",
72
+ "@types/jest": "^29.5.12",
71
73
  "@types/node": "^22.17.2",
72
74
  "@types/react": "^19.0.8",
73
75
  "autoprefixer": "^10.4.20",
74
76
  "babel-loader": "^9.2.1",
77
+ "jest": "^29.7.0",
78
+ "jest-environment-jsdom": "^29.7.0",
75
79
  "postcss": "^8.5.2",
76
80
  "postcss-loader": "^8.1.1",
77
81
  "postcss-preset-env": "^10.1.4",
@@ -79,6 +83,7 @@
79
83
  "react-dom": "19.0.0",
80
84
  "tailwindcss": "^3.4.17",
81
85
  "tailwindcss-patch": "^5.0.2",
86
+ "ts-jest": "^29.1.2",
82
87
  "ts-loader": "^9.5.2",
83
88
  "ts-node": "^10.9.2",
84
89
  "tslib": "^2.6.2",
@@ -97,7 +102,11 @@
97
102
  "build": "tsup && postcss src/styles/tailwindcss.css -o dist/styles/index.css",
98
103
  "clean": "rm -rf dist",
99
104
  "preview": "tsx src/index.ts",
100
- "prepublishOnly": "npm run build"
105
+ "prepublishOnly": "npm run build",
106
+ "test": "jest",
107
+ "test:watch": "jest --watch",
108
+ "test:coverage": "jest --coverage",
109
+ "test:ci": "jest --ci --coverage --reporters=default --reporters=jest-junit"
101
110
  },
102
111
  "dependencies": {
103
112
  "@emotion/is-prop-valid": "^1.3.1",