791d90c6b7
At present, the websocket pubsub tokens are present at the contact objects in chatwoot. A better approach would be to have these tokens at the contact_inbox object instead. This helps chatwoot to deliver the websocket events targetted to the specific widget connection, stop contact events from leaking into other chat sessions from the same contact. Fixes #1682 Fixes #1664 Co-authored-by: Pranav Raj S <pranav@chatwoot.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
144 lines
4.2 KiB
JSON
144 lines
4.2 KiB
JSON
{
|
|
"name": "@chatwoot/chatwoot",
|
|
"version": "1.22.1",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"eslint": "eslint app/javascript --fix",
|
|
"pretest": "rimraf .jest-cache",
|
|
"test": "jest -w 1 --no-cache",
|
|
"test:watch": "jest -w 1 --watch --no-cache",
|
|
"test:coverage": "jest -w 1 --no-cache --collectCoverage",
|
|
"webpacker-start": "webpack-dev-server -d --config webpack.dev.config.js --content-base public/ --progress --colors",
|
|
"start:dev": "foreman start -f ./Procfile.dev",
|
|
"start:dev-overmind": "overmind start -f ./Procfile.dev",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build-storybook": "build-storybook",
|
|
"ruby:prettier": "bundle exec rubocop -a"
|
|
},
|
|
"dependencies": {
|
|
"@braid/vue-formulate": "^2.5.2",
|
|
"@chatwoot/prosemirror-schema": "https://github.com/chatwoot/prosemirror-schema.git#7e8acadd10d7b932c0dc0bd0a18f804434f83517",
|
|
"@chatwoot/utils": "^0.0.3",
|
|
"@rails/actioncable": "6.1.3",
|
|
"@rails/webpacker": "5.3.0",
|
|
"@sentry/tracing": "^6.4.1",
|
|
"@sentry/vue": "^6.4.1",
|
|
"axios": "^0.21.2",
|
|
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
|
"bourbon": "^6.0.0",
|
|
"chart.js": "~2.9.4",
|
|
"copy-text-to-clipboard": "2.2.0",
|
|
"core-js": "3.11.0",
|
|
"country-code-emoji": "^1.0.0",
|
|
"date-fns": "2.21.1",
|
|
"dompurify": "2.2.7",
|
|
"dotenv": "^8.0.0",
|
|
"foundation-sites": "~6.5.3",
|
|
"highlight.js": "~10.4.1",
|
|
"ionicons": "~2.0.1",
|
|
"js-cookie": "^2.2.1",
|
|
"lodash.groupby": "^4.6.0",
|
|
"marked": "2.0.3",
|
|
"md5": "^2.3.0",
|
|
"ninja-keys": "https://github.com/chatwoot/ninja-keys.git#b4c3233f676780af90c607866fa85e404c835902",
|
|
"posthog-js": "^1.13.7",
|
|
"prosemirror-markdown": "1.5.1",
|
|
"prosemirror-state": "1.3.4",
|
|
"prosemirror-view": "1.18.4",
|
|
"query-string": "5",
|
|
"semver": "7.3.5",
|
|
"spinkit": "~1.2.5",
|
|
"tailwindcss": "^1.9.6",
|
|
"tween.js": "~16.6.0",
|
|
"url-loader": "^2.0.0",
|
|
"v-tooltip": "~2.1.3",
|
|
"vue": "2.6.12",
|
|
"vue-axios": "~1.2.2",
|
|
"vue-chartjs": "3.5.1",
|
|
"vue-clickaway": "~2.1.0",
|
|
"vue-color": "2.8.1",
|
|
"vue-easytable": "2.5.5",
|
|
"vue-i18n": "8.24.3",
|
|
"vue-loader": "15.9.6",
|
|
"vue-multiselect": "~2.1.6",
|
|
"vue-router": "~3.5.2",
|
|
"vue-template-compiler": "2.6.12",
|
|
"vue-upload-component": "2.8.22",
|
|
"vue2-datepicker": "^3.9.1",
|
|
"vuedraggable": "^2.24.3",
|
|
"vuelidate": "0.7.6",
|
|
"vuex": "~2.1.1",
|
|
"vuex-router-sync": "~4.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.13.16",
|
|
"@babel/plugin-proposal-class-properties": "7.13.0",
|
|
"@babel/preset-env": "7.13.15",
|
|
"@storybook/addon-actions": "6.2.9",
|
|
"@storybook/addon-docs": "^6.2.9",
|
|
"@storybook/addon-essentials": "6.2.9",
|
|
"@storybook/addon-links": "6.2.9",
|
|
"@storybook/addons": "6.2.9",
|
|
"@storybook/vue": "6.2.9",
|
|
"@vue/test-utils": "1.1.4",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
"babel-jest": "25.5.1",
|
|
"babel-loader": "8.2.2",
|
|
"babel-preset-vue": "^2.0.2",
|
|
"cypress": "4.12.1",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-airbnb-base": "14.2.1",
|
|
"eslint-config-prettier": "^4.0.0",
|
|
"eslint-import-resolver-webpack": "^0.11.1",
|
|
"eslint-plugin-babel": "5.3.1",
|
|
"eslint-plugin-html": "6.1.2",
|
|
"eslint-plugin-import": "2.22.1",
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
"eslint-plugin-prettier": "3.4.0",
|
|
"eslint-plugin-vue": "^6.2.2",
|
|
"expect-more-jest": "^2.4.2",
|
|
"husky": "6.0.0",
|
|
"jest": "26.6.3",
|
|
"jest-serializer-vue": "^2.0.2",
|
|
"jest-transform-stub": "^2.0.0",
|
|
"lint-staged": "10.5.4",
|
|
"prettier": "^1.16.4",
|
|
"rimraf": "^3.0.0",
|
|
"vue-jest": "3.0.7",
|
|
"webpack-dev-server": "3.11.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.x",
|
|
"npm": ">=6.x",
|
|
"yarn": ">=1.x"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "sh bin/validate_push"
|
|
}
|
|
},
|
|
"jest": {
|
|
"collectCoverage": true,
|
|
"coverageReporters": [
|
|
"lcov",
|
|
"text"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,vue}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"!(*schema).rb": [
|
|
"bundle exec rubocop -a",
|
|
"git add"
|
|
],
|
|
"*.scss": [
|
|
"scss-lint"
|
|
]
|
|
}
|
|
}
|