{"_id":"@amanessinger/pace-web-chat","_rev":"2-5091e669c0eb15de28449f010ea205fe","name":"@amanessinger/pace-web-chat","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@amanessinger/pace-web-chat","version":"0.0.1","description":"PACE Web Chat (so far a dummy derived from the starter project)","main":"dist/pacewebchat.js","types":"dist/types/index.d.ts","collection":"dist/collection/collection-manifest.json","files":["dist/"],"browser":"dist/pace-web-chat.js","scripts":{"build":"stencil build","dev":"sd concurrent \"stencil build --dev --watch\" \"stencil-dev-server\" ","serve":"stencil-dev-server","start":"npm run dev","test":"jest --no-cache","test.watch":"jest --watch --no-cache","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@stencil/core":"0.7.7","@stencil/dev-server":"latest","@stencil/utils":"latest","@types/jest":"^21.1.1","jest":"^21.2.1"},"repository":{"type":"git","url":"git+https://github.com/ionic-team/stencil-component-starter.git"},"author":{"name":"Ionic Team"},"license":"MIT","bugs":{"url":"https://github.com/ionic-team/stencil"},"homepage":"https://github.com/ionic-team/stencil","jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/@stencil/core/testing/jest.preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$","moduleFileExtensions":["ts","tsx","js","json","jsx"]},"gitHead":"16bae6dc823d58012614c715e6ca2ee3283b37f4","_id":"@amanessinger/pace-web-chat@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"amanessinger","email":"npmjs@andreas-manessinger.info"},"dist":{"integrity":"sha512-DnbgFbK+poDwiBiNFyRWVh8502kg0+2SYHeNiozJv/1KVY3+aIFofwkkSZqCWa/+vS9a9dfbXwsTUYzHyBm69A==","shasum":"cd4390bbb3fc361ccabdcf1332537d2e84697b42","tarball":"https://registry.npmjs.org/@amanessinger/pace-web-chat/-/pace-web-chat-0.0.1.tgz","fileCount":18,"unpackedSize":83297,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA8efUn3DLD5utad787SsBuc+pP050WMdeGF0AcxbRMQIhANqBOau1aJid2TvJIASINj12p7gVrkwnnodpLxi6ro4r"}]},"maintainers":[{"name":"amanessinger","email":"npmjs@andreas-manessinger.info"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pace-web-chat_0.0.1_1522608111242_0.7335438359778288"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-01T18:41:51.197Z","0.0.1":"2018-04-01T18:41:51.328Z","modified":"2022-04-04T13:43:27.279Z"},"maintainers":[{"name":"amanessinger","email":"npmjs@andreas-manessinger.info"}],"description":"PACE Web Chat (so far a dummy derived from the starter project)","homepage":"https://github.com/ionic-team/stencil","repository":{"type":"git","url":"git+https://github.com/ionic-team/stencil-component-starter.git"},"author":{"name":"Ionic Team"},"bugs":{"url":"https://github.com/ionic-team/stencil"},"license":"MIT","readme":"# PACE Web Chat\n\nThis will be a standalone Web Component made using [Stencil](https://stenciljs.com/). \nIt is derived from there starter project as of 31-MAR-2018.\n\n\n### Architecture\n\nStencil is a compiler for building fast web apps using Web Components.\n\nStencil combines the best concepts of the most popular frontend \nframeworks into a compile-time rather than run-time tool.  Stencil \ntakes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data \nbinding, an asynchronous rendering pipeline (similar to React Fiber), \nand lazy-loading out of the box, and generates 100% standards-based Web \nComponents that run in any browser supporting the Custom Elements v1 \nspec.\n\nStencil components are just Web Components, so they work in any major \nframework or with no framework at all.\n\n`pace-web-chat` will be used in the chatbot dialog preview of\n`chatbotadmin` \n\n## Cloning from starter project\n\nTo start building a new web component using Stencil, we've cloneed the repo to a new directory:\n\n```bash\ngit clone https://github.com/ionic-team/stencil-component-starter.git pace-web-chat\ncd pace-web-chat\ngit remote rm origin\n```\n\nand run:\n\n```bash\nnpm install\nnpm start\n```\n\nAll popular browsers are supported in their current versions, but for \nnow we use Chrome. To watch for file changes during develop, run:\n\n```bash\nnpm run dev\n```\n\nTo build the component for production, run:\n\n```bash\nnpm run build\n```\n\nTo run the unit tests for the components in watch mode, run:\n\n```bash\nnpm run test.watch\n```\n\nAlso have a look at the stencil docs [here](https://stenciljs.com/docs/my-first-component).\n\n\n## Using this component\n\n### Script tag\n\n- [Publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages)\n- Put a script tag similar to this `<script src='https://unpkg.com/pace-web-chat@0.0.1/dist/pacewebchat.js'></script>` in the head of your index.html\n- Then you can use the element anywhere in your template, JSX, html etc\n\n### Node Modules\n- Run `npm install pace-web-chat --save`\n- Put a script tag similar to this `<script src='node_modules/pace-web-chat/dist/pacewebchat.js'></script>` in the head of your index.html\n- Then you can use the element anywhere in your template, JSX, html etc\n\n### In a stencil-starter app\n- Run `npm install pace-web-chat --save`\n- Add `{ name: 'pace-web-chat' }` to your [collections](https://github.com/ionic-team/stencil-starter/blob/master/stencil.config.js#L5)\n- Then you can use the element anywhere in your template, JSX, html etc\n","readmeFilename":"README.md"}