package.json 4.97 KB
{
  "name": "ai-assistant",
  "version": "1.1.3",
  "private": true,
  "engines": {
    "node": ">=18.18.0"
  },
  "scripts": {
    "dev": "cross-env NODE_OPTIONS='--inspect' next dev",
    "build": "next build",
    "start": "cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js",
    "lint": "pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache",
    "fix": "next lint --fix",
    "eslint-fix": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --fix",
    "eslint-fix-only-show-error": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --fix --quiet",
    "prepare": "cd ../ && node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky ./web/.husky",
    "gen-icons": "node ./app/components/base/icons/script.mjs",
    "uglify-embed": "node ./bin/uglify-embed",
    "check-i18n": "node ./i18n/check-i18n.js",
    "auto-gen-i18n": "node ./i18n/auto-gen-i18n.js",
    "test": "jest",
    "test:watch": "jest --watch",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook build",
    "preinstall": "npx only-allow pnpm"
  },
  "dependencies": {
    "@emoji-mart/data": "^1.2.1",
    "@floating-ui/react": "^0.26.27",
    "@formatjs/intl-localematcher": "^0.5.6",
    "@headlessui/react": "^2.2.0",
    "@heroicons/react": "^2.1.5",
    "@lexical/code": "^0.18.0",
    "@lexical/react": "^0.18.0",
    "@lexical/selection": "^0.18.0",
    "@lexical/text": "^0.18.0",
    "@lexical/utils": "^0.18.0",
    "@mdx-js/loader": "^3.1.0",
    "@mdx-js/react": "^3.1.0",
    "@next/mdx": "15.2.3",
    "@remixicon/react": "^4.5.0",
    "@sentry/react": "^8.55.0",
    "@svgdotjs/svg.js": "^3.2.4",
    "@tailwindcss/typography": "^0.5.15",
    "@tanstack/react-query": "^5.61.0",
    "@tanstack/react-query-devtools": "^5.61.0",
    "ahooks": "^3.8.4",
    "class-variance-authority": "^0.7.0",
    "classnames": "^2.5.1",
    "copy-to-clipboard": "^3.3.3",
    "dayjs": "^1.11.13",
    "dompurify": "^3.2.4",
    "echarts": "^5.5.1",
    "echarts-for-react": "^3.0.2",
    "emoji-mart": "^5.6.0",
    "i18next": "^23.16.4",
    "i18next-resources-to-backend": "^1.2.1",
    "immer": "^9.0.21",
    "js-audio-recorder": "^1.0.7",
    "js-cookie": "^3.0.5",
    "katex": "^0.16.21",
    "ky": "^1.7.2",
    "lamejs": "^1.2.1",
    "lexical": "^0.18.0",
    "lodash-es": "^4.17.21",
    "mermaid": "11.4.1",
    "mime": "^4.0.4",
    "negotiator": "^0.6.4",
    "next": "15.3.6",
    "next-themes": "^0.4.4",
    "qrcode.react": "^4.2.0",
    "react": "19.0.0",
    "react-18-input-autosize": "^3.0.0",
    "react-dom": "19.0.0",
    "react-easy-crop": "^5.1.0",
    "react-hotkeys-hook": "^4.6.1",
    "react-i18next": "^15.1.0",
    "react-markdown": "^9.0.1",
    "react-pdf-highlighter": "8.0.0-rc.0",
    "react-slider": "^2.0.6",
    "react-sortablejs": "^6.1.4",
    "react-syntax-highlighter": "^15.6.1",
    "react-textarea-autosize": "^8.5.8",
    "react-window": "^1.8.10",
    "reactflow": "^11.11.4",
    "rehype-katex": "^7.0.1",
    "rehype-raw": "^7.0.0",
    "remark-breaks": "^4.0.0",
    "remark-gfm": "^4.0.0",
    "remark-math": "^6.0.0",
    "sharp": "^0.33.5",
    "sortablejs": "^1.15.3",
    "swr": "^2.3.3",
    "tailwind-merge": "^2.5.4",
    "use-context-selector": "^2.0.0",
    "uuid": "^10.0.0",
    "zod": "^3.23.8",
    "zustand": "^4.5.5"
  },
  "devDependencies": {
    "@rgrove/parse-xml": "^4.1.0",
    "@storybook/addon-themes": "8.5.0",
    "@storybook/nextjs": "8.5.0",
    "@storybook/react": "8.5.0",
    "@storybook/test": "8.5.0",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.2.0",
    "@types/jest": "^29.5.13",
    "@types/js-cookie": "^3.0.6",
    "@types/lodash-es": "^4.17.12",
    "@types/negotiator": "^0.6.3",
    "@types/react": "~18.2.79",
    "@types/react-dom": "~18.2.25",
    "@types/react-slider": "^1.3.6",
    "@types/react-syntax-highlighter": "^15.5.13",
    "@types/react-window": "^1.8.8",
    "@types/sortablejs": "^1.15.8",
    "@types/uuid": "^10.0.0",
    "autoprefixer": "^10.4.21",
    "bing-translate-api": "^4.0.2",
    "code-inspector-plugin": "^0.18.3",
    "cross-env": "^7.0.3",
    "eslint": "^9.22.0",
    "husky": "^9.1.6",
    "jest": "^29.7.0",
    "lint-staged": "^15.2.10",
    "magicast": "^0.3.5",
    "prettier": "^3.5.3",
    "sass": "^1.80.3",
    "storybook": "8.5.0",
    "stylelint": "^16.19.1",
    "stylelint-config-standard-scss": "^15.0.0",
    "tailwindcss": "^3.4.14",
    "typescript": "4.9.5",
    "uglify-js": "^3.19.3"
  },
  "resolutions": {
    "@types/react": "~18.2.0",
    "@types/react-dom": "~18.2.0",
    "string-width": "4.2.3"
  },
  "lint-staged": {
    "**/*.js?(x)": [
      "eslint --fix"
    ],
    "**/*.ts?(x)": [
      "eslint --fix"
    ]
  },
  "overrides": {
    "@types/react": "19.0.11",
    "@types/react-dom": "19.0.4",
    "@storybook/test": "8.5.0"
  }
}