2024-02-05 23:21:34 +01:00
|
|
|
{
|
|
|
|
"name": "anythingllm-embedded-chat",
|
|
|
|
"private": false,
|
2024-06-06 21:50:42 +02:00
|
|
|
"license": "MIT",
|
2024-02-05 23:21:34 +01:00
|
|
|
"type": "module",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "nodemon -e js,jsx,css --watch src --exec \"yarn run dev:preview\"",
|
|
|
|
"dev:preview": "yarn run dev:build && yarn serve . -p 3080 --no-clipboard",
|
2024-07-02 01:32:23 +02:00
|
|
|
"dev:build": "vite build && yarn styles",
|
|
|
|
"styles": "npx cleancss -o dist/anythingllm-chat-widget.min.css dist/style.css",
|
|
|
|
"build": "vite build && yarn styles && npx terser --compress -o dist/anythingllm-chat-widget.min.js -- dist/anythingllm-chat-widget.js",
|
|
|
|
"build:publish": "yarn build:publish:js && yarn build:publish:css",
|
|
|
|
"build:publish:js": "yarn build && mkdir -p ../frontend/public/embed && cp -r dist/anythingllm-chat-widget.min.js ../frontend/public/embed/anythingllm-chat-widget.min.js",
|
|
|
|
"build:publish:css": "cp -r dist/anythingllm-chat-widget.min.css ../frontend/public/embed/anythingllm-chat-widget.min.css",
|
2024-06-06 21:50:42 +02:00
|
|
|
"lint": "yarn prettier --ignore-path ../.prettierignore --write ./src"
|
2024-02-05 23:21:34 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
|
|
"@phosphor-icons/react": "^2.0.13",
|
|
|
|
"dompurify": "^3.0.8",
|
|
|
|
"he": "^1.2.0",
|
|
|
|
"highlight.js": "^11.9.0",
|
|
|
|
"lodash.debounce": "^4.0.8",
|
|
|
|
"markdown-it": "^13.0.1",
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
|
|
|
"uuid": "^9.0.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@rollup/plugin-image": "^3.0.3",
|
|
|
|
"@types/react": "^18.2.37",
|
|
|
|
"@types/react-dom": "^18.2.15",
|
|
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
|
|
"autoprefixer": "^10.4.14",
|
2024-07-02 01:32:23 +02:00
|
|
|
"clean-css": "^5.3.3",
|
|
|
|
"clean-css-cli": "^5.6.3",
|
2024-02-05 23:21:34 +01:00
|
|
|
"eslint": "^8.53.0",
|
|
|
|
"eslint-plugin-react": "^7.33.2",
|
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
|
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
|
|
"globals": "^13.21.0",
|
|
|
|
"nodemon": "^2.0.22",
|
2024-07-02 01:32:23 +02:00
|
|
|
"postcss": "^8.4.23",
|
2024-02-05 23:21:34 +01:00
|
|
|
"prettier": "^3.0.3",
|
|
|
|
"serve": "^14.2.1",
|
2024-07-02 01:32:23 +02:00
|
|
|
"tailwindcss": "3.4.1",
|
2024-02-05 23:21:34 +01:00
|
|
|
"terser": "^5.27.0",
|
|
|
|
"vite": "^5.0.0",
|
|
|
|
"vite-plugin-singlefile": "^0.13.5"
|
|
|
|
}
|
2024-07-02 01:32:23 +02:00
|
|
|
}
|