{"_id":"@dansmaculotte/vue-crisp-chat","_rev":"3-9f63a4e65e888c41be1346838dd15182","name":"@dansmaculotte/vue-crisp-chat","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dansmaculotte/vue-crisp-chat","version":"0.1.0","description":"Vue.js plugin for Crisp Chat","main":"dist/index.js","jsnext:main":"src/index.js","scripts":{"start":"webpack-dev-server --config docs/webpack.config.js","build":"rm -rf dist && NODE_ENV=production webpack","lint":"eslint --ext .js,.vue --fix src __tests__; exit 0","prepublish":"npm run test; npm run build","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/dansmaculotte/vue-crisp-chat.git"},"keywords":["vue","vue-plugin","crisp-chat"],"author":{"name":"author_name"},"license":"MIT","bugs":{"url":"https://github.com/dansmaculotte/vue-crisp-chat"},"homepage":"https://github.com/dansmaculotte/vue-crisp-chat","peerDependencies":{"vue":"^2.3.0"},"devDependencies":{"babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-plugin-transform-object-rest-spread":"^6.16.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.4.0","css-loader":"^0.28.1","dotenv":"^8.2.0","eslint":"^3.7.1","eslint-config-spatie":"^1.1.0","jest":"^19.0.0","jest-vue-preprocessor":"^0.2.0","vue":"^2.3.0","vue-loader":"^12.0.3","vue-template-compiler":"^2.3.0","webpack":"^2.3.3","webpack-dev-server":"^2.4.2","webpack-merge":"^4.1.0"},"jest":{"testRegex":"test.js$","moduleFileExtensions":["js","vue"],"transform":{"^.+\\.js$":"<rootDir>/node_modules/babel-jest",".*\\.(vue)$":"<rootDir>/node_modules/jest-vue-preprocessor"}},"gitHead":"49645686883264b89dee3a33a8426e74edcce66f","_id":"@dansmaculotte/vue-crisp-chat@0.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-C0RhD8gvqNJUye1h0zd5Hbl+5XBMo8jLvF3NqJP4LpLfUNvfhzzrptmAh4mbHRP39eRO3ZBoFh3o4JHYtuZoag==","shasum":"b2462303de8a5f2b1eed7a78ffa916b8ff1c46f1","tarball":"https://registry.npmjs.org/@dansmaculotte/vue-crisp-chat/-/vue-crisp-chat-0.1.0.tgz","fileCount":19,"unpackedSize":19742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfU9vWCRA9TVsSAnZWagAAzzEP/R3YF+ule3oATQCp/0aB\nrIcNoS8/7iI0/DsZ14ES2ZBZFjU7OBqB5Yasth5WcTpefkcPB35x+NrDVIpL\n8sJpehvDe2FBBEljVUTQJ4dnXAQZ5LgzXriRSV3yWYnoCBgt7FmPZxdqmPFg\nKr7eLcxBw59A4Iozc2I5WzZNQCSJmsVYAm7oLZlpQOZKD1Pmq7BWag6DHVr0\n94h8NdsiENhF7QH0sfGhHU55KsxrfGphpz0nkVSbTLgOKF1oBg6aPMXOJl6m\nhw8hffu+sjXrUOKwzBMigK44U5BIli1TIqnoSXw7AiceFGqw3rkb9ESQYZHV\nVNygQIRUJgtgJBhVRa14YUlgXt8qBPf/JNyaLXuur+GNhqf7AxNYlo4x80ej\nQed4rCvVSrJTMfxkKXXAjeboYJ9zzEJcYICQtnRbSdJCY+/6L54fr1yG+Ywh\nWIdFcKnMftdRYD8o0VoN6lODZIBVcJCz86ItSnrdgmGtAl3iU0+8ccO+ZFmG\nQYy/S+8eyvTgAYXFsGegMVt6HOpkG4d1CePXBEeqBrggEKSFE8QL901YhGVp\nK6tx83j3VbuoN2jRyJ6iAOkW4tYfebMUCqxIDdp/MckDcG+gGVI4lOAUmqpU\nO8eAAMe99wuDeX2A1DTCO1gL3F6iac1t8yl/HC5/bBo6vwr8lXaHPXy0yQ7b\nx3ah\r\n=IfB3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDip2LE69PGBmvxtCq7J/ZwoxBe1PGL5YUnfnHHRpxZUAiBuko9k9/E4+C+8uc+909L7P//YFMV7bvgzRXRL50tWZQ=="}]},"maintainers":[{"name":"chroq","email":"christophe@dansmaculotte.fr"},{"name":"romaintouze-dmc","email":"romain@dansmaculotte.fr"},{"name":"pab50","email":"pab50000@gmail.com"},{"name":"zevran","email":"me@gaelreyrol.com"}],"_npmUser":{"name":"zevran","email":"me@gaelreyrol.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-crisp-chat_0.1.0_1599331286230_0.0639669774585363"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2020-09-05T18:41:26.229Z","0.1.0":"2020-09-05T18:41:26.445Z","modified":"2023-10-31T08:25:02.486Z"},"maintainers":[{"email":"pab50000@gmail.com","name":"pab50"},{"email":"romain@dansmaculotte.fr","name":"romaintouze-dmc"},{"email":"me@gaelreyrol.com","name":"zevran"}],"description":"Vue.js plugin for Crisp Chat","homepage":"https://github.com/dansmaculotte/vue-crisp-chat","keywords":["vue","vue-plugin","crisp-chat"],"repository":{"type":"git","url":"git+https://github.com/dansmaculotte/vue-crisp-chat.git"},"author":{"name":"author_name"},"bugs":{"url":"https://github.com/dansmaculotte/vue-crisp-chat"},"license":"MIT","readme":"# vue-crisp-chat\n\n[![Latest Version on NPM](https://img.shields.io/npm/v/dansmaculotte/vue-crisp-chat.svg?style=flat-square)](https://npmjs.com/package/dansmaculotte/vue-crisp-chat)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Build Status](https://img.shields.io/travis/dansmaculotte/vue-crisp-chat/main.svg?style=flat-square)](https://travis-ci.org/dansmaculotte/vue-crisp-chat)\n\nVue.js plugin for Crisp Chat\n\n[Crisp Chat Javascrip SDK Documentation](https://help.crisp.chat/en/article/how-to-use-dollarcrisp-javascript-sdk-10ud15y/)\n\n## Installation\n\nYou can install the package via yarn:\n\n```bash\nyarn add @dansmaculotte/vue-crisp-chat\n```\n\nor npm:\n\n```bash\nnpm install @dansmaculotte/vue-crisp-chat --save\n```\n\n## Setup\n\n```js\nimport Vue from 'vue'\nimport CrispChat from '@dansmaculotte/vue-crisp-chat'\n\nVue.use(CrispChat, {\n  websiteId: 'YOUR_CRISP_CHAT_WEBSITE_ID',\n  disabled: true,\n  hideOnLoad: true\n})\n```\n\n### Options\n\n#### `disabled`\n\n`disabled` option allows you to prevent automatic script loading, to comply with GDPR.\n\nYou can manually load it by calling `this.$crisp.load(YOUR_CRISP_CHAT_WEBSITE_ID)`.\n\n#### `hideOnLoad`\n\nWhen Crisp Chat is loaded it automatically shows the widget, to prevent this you can set to `true` this option so you can manually show it after.\n\n### Usage\n\nYou can use any method coming from the official documentation.\nEvery methods are accessible from `$crisp` object.\n\nFor example:\n```js\nVue.$crisp.do('chat:open')\n// In a vue instance\nthis.$crisp.do('chat:open')\n```\n\nYou can also listen to `loaded` event emitted on script load.\n\nFor example:\n```js\nthis.$crisp.$on('loaded', (event) => {\n  console.log('crisp chat loaded')\n})\n```\n\n### Testing\n\n```bash\nyarn test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please contact [Gaël Reyrol](https://github.com/gaelreyrol) instead of using the issue tracker.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n#\n## Credits\n\n- [Gaël Reyrol](https://github.com/gaelreyrol)\n- [All Contributors](../../contributors)\n","readmeFilename":"README.md"}