@moveo-ai/web-client 0.15.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 ADDED
@@ -0,0 +1,175 @@
1
+ {
2
+ "name": "@moveo-ai/web-client",
3
+ "version": "0.15.2",
4
+ "description": "Client side library to load the moveo chat widget and connect it with your agent",
5
+ "main": "dist/web-client.min.js",
6
+ "scripts": {
7
+ "start": "webpack serve",
8
+ "prepare": "npm run build",
9
+ "watch": "webpack --watch",
10
+ "build": "webpack --config webpack.prod.js",
11
+ "build:dev": "webpack --config webpack.config.js",
12
+ "bundlesize": "bundlesize",
13
+ "test": "jest",
14
+ "lint": "npm run lint:js && npm run lint:scss",
15
+ "lint:js": "eslint .",
16
+ "lint:scss": "npx stylelint \"**/*.{css,scss}\"",
17
+ "prettier": "prettier --write \"{src,test}/**/*.{ts,tsx,json}\"",
18
+ "autofix": "eslint --fix .",
19
+ "storybook": "start-storybook -p 6006",
20
+ "build-storybook": "build-storybook"
21
+ },
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "keywords": [
26
+ "bot",
27
+ "moveo.ai",
28
+ "agent",
29
+ "assistant",
30
+ "chatbot"
31
+ ],
32
+ "author": "Moveo.AI (TM)",
33
+ "license": "MIT",
34
+ "devDependencies": {
35
+ "@babel/core": "^7.16.7",
36
+ "@commitlint/cli": "^16.0.1",
37
+ "@commitlint/config-conventional": "^16.0.0",
38
+ "@semantic-release/changelog": "^6.0.1",
39
+ "@semantic-release/commit-analyzer": "^9.0.2",
40
+ "@semantic-release/git": "^10.0.1",
41
+ "@semantic-release/npm": "^8.0.3",
42
+ "@semantic-release/release-notes-generator": "^10.0.3",
43
+ "@storybook/addon-actions": "^6.4.9",
44
+ "@storybook/addon-essentials": "^6.4.9",
45
+ "@storybook/addon-links": "^6.4.9",
46
+ "@storybook/builder-webpack5": "^6.4.9",
47
+ "@storybook/manager-webpack5": "^6.4.9",
48
+ "@storybook/preset-scss": "^1.0.3",
49
+ "@storybook/react": "^6.4.9",
50
+ "@testing-library/dom": "^8.11.1",
51
+ "@testing-library/jest-dom": "^5.16.1",
52
+ "@testing-library/react": "^12.1.2",
53
+ "@testing-library/user-event": "^13.5.0",
54
+ "@types/debug": "^4.1.7",
55
+ "@types/jest": "^27.4.0",
56
+ "@types/node": "^17.0.6",
57
+ "@types/react": "^17.0.38",
58
+ "@types/ua-parser-js": "^0.7.36",
59
+ "@typescript-eslint/eslint-plugin": "^5.8.1",
60
+ "@typescript-eslint/parser": "^5.8.1",
61
+ "babel-loader": "^8.2.3",
62
+ "bundlesize": "^0.18.1",
63
+ "classnames": "^2.3.1",
64
+ "clean-webpack-plugin": "^4.0.0",
65
+ "css-loader": "^6.5.1",
66
+ "css-modules-typescript-loader": "^4.0.1",
67
+ "debug": "^4.3.3",
68
+ "dotenv": "^10.0.0",
69
+ "eslint": "^8.6.0",
70
+ "eslint-config-prettier": "^8.3.0",
71
+ "eslint-import-resolver-typescript": "^2.5.0",
72
+ "eslint-plugin-import": "^2.25.4",
73
+ "eslint-plugin-jest-dom": "^4.0.1",
74
+ "eslint-plugin-jsx-a11y": "^6.5.1",
75
+ "eslint-plugin-prettier": "^4.0.0",
76
+ "eslint-plugin-react": "^7.28.0",
77
+ "eslint-plugin-react-hooks": "^4.3.0",
78
+ "eslint-plugin-testing-library": "^5.0.0",
79
+ "focus-trap-react": "^8.8.2",
80
+ "html-webpack-plugin": "^5.5.0",
81
+ "husky": "^7.0.4",
82
+ "i18next": "^21.6.4",
83
+ "i18next-browser-languagedetector": "^6.1.2",
84
+ "jest": "^27.4.5",
85
+ "keen-slider": "^5.5.1",
86
+ "linkify-react": "^3.0.4",
87
+ "lint-staged": "^12.1.5",
88
+ "nanoid": "^3.1.30",
89
+ "preact": "^10.6.4",
90
+ "prettier": "^2.5.1",
91
+ "react": "^17.0.2",
92
+ "react-dom": "^17.0.2",
93
+ "react-hook-form": "^7.22.5",
94
+ "react-i18next": "^11.15.3",
95
+ "react-modal": "^3.14.4",
96
+ "react-page-visibility": "^6.4.0",
97
+ "react-test-renderer": "^17.0.2",
98
+ "react-transition-group": "^4.4.2",
99
+ "recoil": "^0.5.2",
100
+ "sass": "^1.45.2",
101
+ "sass-loader": "^12.4.0",
102
+ "semantic-release": "^18.0.1",
103
+ "socket.io": "^4.4.0",
104
+ "socket.io-client": "^4.4.0",
105
+ "source-map-loader": "^3.0.0",
106
+ "style-loader": "^3.3.1",
107
+ "stylelint": "^14.2.0",
108
+ "stylelint-config-standard-scss": "^3.0.0",
109
+ "stylelint-declaration-strict-value": "^1.8.0",
110
+ "ts-jest": "^27.1.2",
111
+ "ts-loader": "^9.2.6",
112
+ "tsconfig-paths-webpack-plugin": "^3.5.2",
113
+ "type-fest": "^2.8.0",
114
+ "typescript": "^4.5.4",
115
+ "ua-parser-js": "^1.0.2",
116
+ "url-loader": "^4.1.1",
117
+ "webpack": "^5.64.4",
118
+ "webpack-bundle-analyzer": "^4.5.0",
119
+ "webpack-cli": "^4.9.1",
120
+ "webpack-dev-server": "^4.7.2",
121
+ "webpack-merge": "^5.8.0",
122
+ "webpack-visualizer-plugin2": "^1.0.0"
123
+ },
124
+ "repository": {
125
+ "url": "https://github.com/moveo-ai/web-client"
126
+ },
127
+ "homepage": "https://moveo.ai",
128
+ "jest": {
129
+ "preset": "ts-jest",
130
+ "moduleNameMapper": {
131
+ "^@/(.*)$": "<rootDir>/src/$1",
132
+ "\\.(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"
133
+ },
134
+ "setupFilesAfterEnv": [
135
+ "./src/setupTests.ts"
136
+ ],
137
+ "testEnvironment": "jsdom",
138
+ "roots": [
139
+ "<rootDir>/src"
140
+ ],
141
+ "modulePaths": [
142
+ "<rootDir>/src"
143
+ ]
144
+ },
145
+ "bundlesize": [
146
+ {
147
+ "path": "./dist/web-client.min.js",
148
+ "maxSize": "200 kB"
149
+ }
150
+ ],
151
+ "release": {
152
+ "branches": [
153
+ "main",
154
+ "next"
155
+ ],
156
+ "plugins": [
157
+ "@semantic-release/commit-analyzer",
158
+ "@semantic-release/release-notes-generator",
159
+ "@semantic-release/changelog",
160
+ "@semantic-release/npm",
161
+ "@semantic-release/git"
162
+ ]
163
+ },
164
+ "commitlint": {
165
+ "extends": [
166
+ "@commitlint/config-conventional"
167
+ ]
168
+ },
169
+ "lint-staged": {
170
+ "*.ts": [
171
+ "./node_modules/.bin/eslint --fix",
172
+ "prettier --write"
173
+ ]
174
+ }
175
+ }