@moveo-ai/web-client 0.31.2 → 0.32.0-true.2

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": "@moveo-ai/web-client",
3
- "version": "0.31.2",
3
+ "version": "0.32.0-true.2",
4
4
  "description": "Client side library to load the moveo chat widget and connect it with your agent",
5
5
  "main": "dist/web-client.min.js",
6
6
  "scripts": {
@@ -34,6 +34,7 @@
34
34
  "license": "MIT",
35
35
  "devDependencies": {
36
36
  "@babel/core": "^7.18.9",
37
+ "@babel/preset-env": "^7.19.0",
37
38
  "@commitlint/cli": "^17.0.3",
38
39
  "@commitlint/config-conventional": "^17.0.3",
39
40
  "@playwright/test": "^1.24.2",
@@ -59,6 +60,7 @@
59
60
  "@typescript-eslint/eslint-plugin": "^5.31.0",
60
61
  "@typescript-eslint/parser": "^5.31.0",
61
62
  "anchorme": "^2.1.2",
63
+ "babel-jest": "^29.0.2",
62
64
  "babel-loader": "^8.2.5",
63
65
  "bundlesize": "^0.18.1",
64
66
  "classnames": "^2.3.1",
@@ -129,7 +131,8 @@
129
131
  "webpack-cli": "^4.10.0",
130
132
  "webpack-dev-server": "^4.9.3",
131
133
  "webpack-merge": "^5.8.0",
132
- "webpack-visualizer-plugin2": "^1.0.0"
134
+ "webpack-visualizer-plugin2": "^1.0.0",
135
+ "yet-another-react-lightbox": "^2.1.0"
133
136
  },
134
137
  "repository": {
135
138
  "url": "https://github.com/moveo-ai/web-client"
@@ -137,10 +140,17 @@
137
140
  "homepage": "https://moveo.ai",
138
141
  "jest": {
139
142
  "preset": "ts-jest",
143
+ "transform": {
144
+ "^.+\\.(ts|tsx)?$": "ts-jest",
145
+ "^.+\\.(js|jsx)$": "babel-jest"
146
+ },
140
147
  "moduleNameMapper": {
141
148
  "^@/(.*)$": "<rootDir>/src/$1",
142
149
  "\\.(css|less|scss|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/file-transform.ts"
143
150
  },
151
+ "transformIgnorePatterns": [
152
+ "/node_modules/(?!yet-another-react-lightbox)"
153
+ ],
144
154
  "setupFilesAfterEnv": [
145
155
  "./test/setupTests.ts"
146
156
  ],