mirror of
https://github.com/enso-org/enso.git
synced 2024-11-27 18:12:31 +03:00
7211c8317d
This PR consists of two primary changes: 1. I've replaced `react-hot-toast` with `react-toastify` library. Both serve the same purpose — sending popup notifications (so-called "toasts"). However, the latter comes with a richer feature set that matches our requirements much better. 2. I've exposed the relevant API surface to the Rust. Now Rust code can easily send notifications. ### Important Notes At this point, no attempt at customizing style of notifications was made (other than selecting the "light" theme). Likely we should consider this soon after integration as a separate task.
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "enso-dashboard",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "npx --yes eslint src",
|
|
"build": "tsx bundle.ts",
|
|
"watch": "tsx watch.ts",
|
|
"start": "tsx start.ts"
|
|
},
|
|
"dependencies": {
|
|
"@heroicons/react": "^2.0.15",
|
|
"@types/node": "^16.18.11",
|
|
"@types/react": "^18.0.27",
|
|
"@types/react-dom": "^18.0.10",
|
|
"esbuild": "^0.17.15",
|
|
"esbuild-plugin-time": "^1.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
|
"@typescript-eslint/parser": "^5.49.0",
|
|
"enso-authentication": "^1.0.0",
|
|
"enso-chat": "git://github.com/enso-org/enso-bot#wip/sb/initial-implementation",
|
|
"enso-content": "^1.0.0",
|
|
"eslint": "^8.32.0",
|
|
"eslint-plugin-jsdoc": "^39.6.8",
|
|
"eslint-plugin-react": "^7.32.1",
|
|
"react-toastify": "^9.1.3",
|
|
"tailwindcss": "^3.2.7",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"optionalDependencies": {
|
|
"@esbuild/darwin-x64": "^0.17.15",
|
|
"@esbuild/linux-x64": "^0.17.15",
|
|
"@esbuild/windows-x64": "^0.17.15"
|
|
}
|
|
}
|