UNPKG

@moveo-ai/web-client

Version:

Client side library to load the moveo chat widget and connect it with your agent

236 lines (235 loc) 7.2 kB
{ "name": "@moveo-ai/web-client", "version": "0.83.0", "description": "Client side library to load the moveo chat widget and connect it with your agent", "main": "dist/web-client.min.js", "scripts": { "autofix": "eslint --fix .", "build-storybook": "storybook build", "build:dev": "NODE_ENV=development webpack --config webpack.config.js", "build": "NODE_ENV=production webpack --config webpack.prod.js", "lint:js": "eslint .", "lint:scss": "npx stylelint \"{src,test}/**/*.{css,scss}\"", "lint": "npm run lint:js && npm run lint:scss", "prepare": "npm run build", "prettier": "prettier --write \"{src,test}/**/*.{ts,tsx,json}\"", "start": "webpack serve", "storybook": "storybook dev -p 6006", "test:ci": "npx playwright test", "test": "jest --runInBand", "type-check": "tsc --pretty --noEmit", "watch": "webpack --watch" }, "publishConfig": { "access": "public" }, "keywords": [ "bot", "moveo.ai", "agent", "assistant", "chatbot" ], "author": "Moveo.ai (TM)", "license": "MIT", "devDependencies": { "@babel/core": "^7.26.10", "@babel/preset-env": "^7.26.9", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.26.0", "@chromatic-com/storybook": "^3.2.6", "@commitlint/cli": "^19.8.0", "@commitlint/config-conventional": "^19.8.0", "@playwright/test": "^1.51.1", "@radix-ui/react-checkbox": "^1.3.1", "@radix-ui/react-dialog": "^1.1.7", "@radix-ui/react-popover": "^1.1.7", "@radix-ui/react-scroll-area": "^1.2.9", "@radix-ui/react-select": "^2.2.4", "@radix-ui/react-slot": "^1.2.2", "@storybook/addon-actions": "^8.6.7", "@storybook/addon-essentials": "^8.6.7", "@storybook/addon-interactions": "^8.6.7", "@storybook/addon-links": "^8.6.7", "@storybook/addon-webpack5-compiler-babel": "^3.0.5", "@storybook/addons": "^7.6.17", "@storybook/preset-scss": "^1.0.3", "@storybook/react": "^8.6.7", "@storybook/react-webpack5": "^8.6.7", "@storybook/test": "^8.6.7", "@tailwindcss/postcss": "^4.1.3", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "^14.6.1", "@types/debug": "^4.1.12", "@types/jest": "^29.5.14", "@types/node": "^22.13.10", "@types/react": "^18.3.4", "@types/ua-parser-js": "^0.7.39", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "anchorme": "^3.0.8", "autoprefixer": "^10.4.21", "babel-jest": "^29.7.0", "babel-loader": "^10.0.0", "class-variance-authority": "^0.7.1", "classnames": "^2.5.1", "clean-webpack-plugin": "^4.0.0", "copy-webpack-plugin": "^13.0.0", "css-loader": "^7.1.2", "css-modules-typescript-loader": "^4.0.1", "debug": "^4.4.0", "dompurify": "^3.2.4", "dotenv": "^16.4.7", "embla-carousel-react": "^8.6.0", "emoji-picker-react": "^4.12.2", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-storybook": "^0.11.6", "eslint-plugin-testing-library": "^6.3.0", "he": "^1.2.0", "html-webpack-plugin": "^5.6.3", "husky": "^9.1.7", "i18next": "^24.2.3", "i18next-browser-languagedetector": "^8.0.4", "i18next-http-backend": "^3.0.2", "isbot": "^5.1.25", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "keen-slider": "^6.8.6", "lint-staged": "^15.5.0", "lodash.capitalize": "^4.2.1", "lodash.debounce": "^4.0.8", "lodash.throttle": "^4.1.1", "lucide-react": "^0.487.0", "nanoid": "^5.1.5", "postcss": "^8.5.3", "postcss-loader": "^8.1.1", "prettier": "^3.5.3", "prettier-plugin-tailwindcss": "^0.6.11", "react": "^18.3.1", "react-dom": "^18.3.1", "react-dropzone": "^14.3.8", "react-hook-form": "^7.54.2", "react-i18next": "^15.4.1", "react-modal": "^3.16.3", "react-page-visibility": "^7.0.0", "react-transition-group": "^4.4.5", "react-use": "^17.6.0", "recoil": "^0.7.7", "redux": "^5.0.1", "rehype-stringify": "^10.0.1", "remark-breaks": "^4.0.0", "remark-gfm": "^4.0.1", "remark-parse": "^11.0.0", "remark-rehype": "^11.1.1", "sass": "^1.86.0", "sass-embedded": "^1.86.0", "sass-loader": "^16.0.5", "semantic-release": "^24.2.3", "shader": "^1.0.0", "smooth-scroll-into-view-if-needed": "^2.0.2", "socket.io": "^4.8.1", "socket.io-client": "^4.8.1", "source-map-loader": "^5.0.0", "storybook": "^8.6.7", "storybook-react-i18next": "^3.2.1", "style-loader": "^4.0.0", "stylelint": "^16.16.0", "stylelint-config-standard-scss": "^14.0.0", "stylelint-declaration-strict-value": "^1.10.11", "tailwind-merge": "^3.2.0", "tailwindcss": "^4.1.4", "tailwindcss-animate": "^1.0.7", "ts-deepmerge": "^7.0.2", "ts-jest": "^29.2.6", "ts-loader": "^9.5.2", "tsconfig-paths-webpack-plugin": "^4.2.0", "tw-animate-css": "^1.2.5", "type-fest": "^4.37.0", "typescript": "^5.8.2", "ua-parser-js": "^1.0.38", "unified": "^11.0.5", "url-loader": "^4.1.1", "webpack": "^5.98.0", "webpack-bundle-analyzer": "^4.10.2", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.0", "webpack-merge": "^6.0.1", "webpack-visualizer-plugin2": "^1.2.0", "wrangler": "^4.19.1", "yet-another-react-lightbox": "^3.21.8" }, "repository": { "url": "https://github.com/moveo-ai/web-client" }, "homepage": "https://moveo.ai", "jest": { "preset": "ts-jest", "transform": { "^.+\\.(ts|tsx)?$": "ts-jest", "^.+\\.(js|jsx)$": "babel-jest" }, "moduleNameMapper": { "^@/(.*)$": "<rootDir>/src/$1", "\\.(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" }, "transformIgnorePatterns": [ "node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)" ], "setupFilesAfterEnv": [ "./test/setupTests.ts" ], "testEnvironment": "jest-environment-jsdom", "roots": [ "<rootDir>/src" ], "modulePaths": [ "<rootDir>/src" ] }, "bundlewatch": { "files": [ { "path": "./dist/web-client.min.js", "maxSize": "30 kB" }, { "path": "./dist/iframe.min.js", "maxSize": "380 kB" }, { "path": "./dist/iframe.v2.min.js", "maxSize": "380 kB" } ] }, "release": { "branches": [ "main", { "name": "next", "prerelease": "true" } ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "lint-staged": { "src/**/*.{js,jsx,ts,tsx}": [ "prettier --write", "eslint --fix" ] } }