@filigran/chatbot 1.0.0

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,66 @@
1
+ {
2
+ "name": "@filigran/chatbot",
3
+ "description": "Filigran chatbot component",
4
+ "author": "Filigran",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/FiligranHQ/filigran-ui.git"
9
+ },
10
+ "version": "1.0.0",
11
+ "type": "module",
12
+ "main": "dist/index.js",
13
+ "types": "dist/index.d.ts",
14
+ "scripts": {
15
+ "dev": "NODE_ENV=development rollup --watch --config rollup.config.js",
16
+ "build": "NODE_ENV=production rollup --config rollup.config.js",
17
+ "lint": "eslint \"src/**/*.ts*\"",
18
+ "lint-fix": "eslint --fix \"src/**/*.ts*\"",
19
+ "format": "prettier --write \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
20
+ "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
21
+ "prepack": "yarn build"
22
+ },
23
+ "dependencies": {
24
+ "@microsoft/fetch-event-source": "2.0.1",
25
+ "@ts-stack/markdown": "1.5.0",
26
+ "device-detector-js": "3.0.3",
27
+ "lodash": "4.17.21",
28
+ "solid-element": "1.9.1",
29
+ "solid-js": "1.9.10",
30
+ "uuid": "13.0.0"
31
+ },
32
+ "devDependencies": {
33
+ "@babel/core": "7.28.5",
34
+ "@babel/preset-typescript": "7.28.5",
35
+ "@rollup/plugin-babel": "6.1.0",
36
+ "@rollup/plugin-commonjs": "29.0.0",
37
+ "@rollup/plugin-json": "6.1.0",
38
+ "@rollup/plugin-node-resolve": "16.0.3",
39
+ "@rollup/plugin-terser": "0.4.4",
40
+ "@rollup/plugin-typescript": "12.3.0",
41
+ "@tailwindcss/typography": "0.5.19",
42
+ "@types/lodash": "4.17.21",
43
+ "@types/node": "24.10.1",
44
+ "@types/uuid": "11.0.0",
45
+ "@typescript-eslint/eslint-plugin": "8.49.0",
46
+ "@typescript-eslint/parser": "8.49.0",
47
+ "autoprefixer": "10.4.22",
48
+ "babel-plugin-lodash": "3.3.4",
49
+ "babel-preset-solid": "1.9.10",
50
+ "eslint": "8.57.1",
51
+ "eslint-config-next": "15.5.7",
52
+ "eslint-config-prettier": "9.1.2",
53
+ "eslint-plugin-prettier": "5.5.4",
54
+ "eslint-plugin-solid": "0.14.5",
55
+ "postcss": "8.5.6",
56
+ "prettier": "3.7.4",
57
+ "rollup": "4.53.3",
58
+ "rollup-plugin-livereload": "2.0.5",
59
+ "rollup-plugin-postcss": "4.0.2",
60
+ "rollup-plugin-serve": "3.0.0",
61
+ "rollup-plugin-typescript-paths": "1.5.0",
62
+ "rollup-plugin-uglify": "6.0.4",
63
+ "tailwindcss": "3.4.18",
64
+ "typescript": "5.9.3"
65
+ }
66
+ }
@@ -0,0 +1,35 @@
1
+ <!--
2
+ NOTE: This .html file (and public folder) is optional and can be safely deleted.
3
+ It serves only as a demo/test page.
4
+
5
+ The chatbot can be embedded directly on any allowed domain using the embed script that
6
+ is generated when starting the server.
7
+ -->
8
+
9
+ <!DOCTYPE html>
10
+ <html lang="en">
11
+
12
+ <head>
13
+ <meta charset="UTF-8">
14
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
15
+ <title>Flowise Chatbot Widget</title>
16
+ </head>
17
+
18
+ <body>
19
+ <div id="root"></div>
20
+ <script type="module">
21
+ import Chatbot from './web.js'
22
+ Chatbot.init({
23
+ agenticUrl: '',
24
+ text: '[Preview] Ask Ariane',
25
+ chatflowConfig: {
26
+ vars: {
27
+ some: 'variable'
28
+ }
29
+ }
30
+ })
31
+
32
+ </script>
33
+ </body>
34
+
35
+ </html>