mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
aaa1276bae
part of #1022 Allow updating the show_on_leaderboard field. Add raw JSON of the user object. Add a new user message table. Also fixed style issue: hard to see reaction count when the user also reacted. Rename MessageTable to MessageConversation.
113 lines
3.6 KiB
JSON
113 lines
3.6 KiB
JSON
{
|
|
"name": "website",
|
|
"homepage": "http://projects.laion.ai.github.io/Open-Assistant",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"build:analyze": "cross-env ANALYZE=true next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"typecheck": "tsc --noEmit",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build-storybook": "build-storybook",
|
|
"cypress": "cypress open",
|
|
"cypress:run": "cypress run",
|
|
"cypress:run:contract": "cypress run --config-file ./cypress.config.contract.js",
|
|
"cypress:component": "cypress run --component",
|
|
"cypress:image-baseline": "cypress-image-diff -u",
|
|
"jest": "jest --watch",
|
|
"fix:lint": "eslint --fix src/ --ext .js,.jsx,.ts,.tsx",
|
|
"fix:format": "prettier --write ./src",
|
|
"fix": "npm run fix:format && npm run fix:lint"
|
|
},
|
|
"prisma": {
|
|
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/react": "^2.4.4",
|
|
"@dnd-kit/core": "^6.0.6",
|
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
"@dnd-kit/sortable": "^7.0.1",
|
|
"@dnd-kit/utilities": "^3.2.1",
|
|
"@emotion/react": "^11.10.5",
|
|
"@emotion/styled": "^11.10.5",
|
|
"@marsidev/react-turnstile": "^0.0.7",
|
|
"@next-auth/prisma-adapter": "^1.0.5",
|
|
"@next/bundle-analyzer": "^13.1.6",
|
|
"@next/font": "^13.1.0",
|
|
"@prisma/client": "^4.7.1",
|
|
"@tailwindcss/forms": "^0.5.3",
|
|
"@tanstack/react-table": "^8.7.6",
|
|
"accept-language-parser": "^1.5.0",
|
|
"autoprefixer": "^10.4.13",
|
|
"axios": "^1.2.1",
|
|
"boolean": "^3.2.0",
|
|
"clsx": "^1.2.1",
|
|
"date-fns": "^2.29.3",
|
|
"eslint": "8.29.0",
|
|
"eslint-config-next": "13.0.6",
|
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
"focus-visible": "^5.2.0",
|
|
"framer-motion": "^6.5.1",
|
|
"friendly-username-generator": "^2.0.4",
|
|
"lande": "^1.0.10",
|
|
"lucide-react": "^0.105.0",
|
|
"next": "13.0.6",
|
|
"next-auth": "^4.18.6",
|
|
"next-i18next": "^13.0.3",
|
|
"nodemailer": "^6.8.0",
|
|
"npm": "^9.2.0",
|
|
"postcss-focus-visible": "^7.1.0",
|
|
"react": "18.2.0",
|
|
"react-cookie": "^4.1.1",
|
|
"react-dom": "18.2.0",
|
|
"react-feature-flags": "^1.0.0",
|
|
"react-hook-form": "^7.42.1",
|
|
"react-i18next": "^12.1.4",
|
|
"sharp": "^0.31.3",
|
|
"storybook-addon-next-router": "^4.0.2",
|
|
"swr": "^2.0.0",
|
|
"tailwindcss": "^3.2.4",
|
|
"use-debounce": "^9.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.7",
|
|
"@chakra-ui/storybook-addon": "^4.0.16",
|
|
"@faker-js/faker": "^7.6.0",
|
|
"@storybook/addon-actions": "^6.5.15",
|
|
"@storybook/addon-essentials": "^6.5.15",
|
|
"@storybook/addon-interactions": "^6.5.15",
|
|
"@storybook/addon-links": "^6.5.15",
|
|
"@storybook/addon-postcss": "^2.0.0",
|
|
"@storybook/builder-webpack5": "^6.5.15",
|
|
"@storybook/manager-webpack5": "^6.5.15",
|
|
"@storybook/react": "^6.5.15",
|
|
"@storybook/testing-library": "^0.0.13",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@types/accept-language-parser": "^1.5.3",
|
|
"@types/node": "^18.11.17",
|
|
"@types/react": "18.0.26",
|
|
"@typescript-eslint/eslint-plugin": "^5.47.1",
|
|
"babel-loader": "^8.3.0",
|
|
"cross-env": "^7.0.3",
|
|
"cypress": "^12.2.0",
|
|
"cypress-image-diff-js": "^1.23.0",
|
|
"eslint-plugin-storybook": "^0.6.8",
|
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
"jest": "^29.3.1",
|
|
"jest-environment-jsdom": "^29.3.1",
|
|
"msw": "^0.49.3",
|
|
"msw-storybook-addon": "^1.7.0",
|
|
"prettier": "2.8.1",
|
|
"prisma": "^4.7.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"msw": {
|
|
"workerDirectory": "public"
|
|
}
|
|
}
|