mirror of
https://github.com/civitai/civitai.git
synced 2026-09-20 22:08:18 +08:00
4ea8bcd34a
* Migrates google recaptcha to cloudflare turnstile * Includes example env vars * Fixes turnstile when purchasing buzz * Applies code review feedback * Removes console.log
268 lines
9.1 KiB
JSON
268 lines
9.1 KiB
JSON
{
|
|
"name": "model-share",
|
|
"version": "5.0.33",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "next start",
|
|
"dev": "next dev",
|
|
"dev-debug": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192 --inspect\" next dev",
|
|
"dev-snap": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192 --heapsnapshot-near-heap-limit=3\" next dev",
|
|
"boost": "next-boost",
|
|
"release:base": "git checkout release && git pull && git rebase main && git push && git checkout main",
|
|
"release:major": "git pull && npm version major && git push --follow-tags && npm run release:base",
|
|
"release:minor": "git pull && npm version minor && git push --follow-tags && npm run release:base",
|
|
"release:patch": "git pull && npm version patch && git push --follow-tags && npm run release:base",
|
|
"release": "npm run release:patch",
|
|
"yolo": "npm run release",
|
|
"build": "next build",
|
|
"postbuild": "next-sitemap",
|
|
"deploy": "npm run build && npm run db:deploy",
|
|
"postinstall": "prisma generate",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "next lint",
|
|
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
|
|
"db:ui": "prisma studio",
|
|
"db:pull": "prisma db pull",
|
|
"db:push": "prisma db push",
|
|
"db:migrate": "node scripts/prisma-migrate-with-views-workaround.mjs",
|
|
"db:applied": "node scripts/prisma-mark-migration-applied.mjs",
|
|
"db:deploy": "node scripts/prisma-migrate-with-views-workaround.mjs -p && npm run db:program",
|
|
"db:program": "node scripts/prisma-prepare-programmability.mjs",
|
|
"db:generate": "prisma generate",
|
|
"db:seed": "prisma db seed",
|
|
"share": "ngrok http 3000",
|
|
"prepare": "husky"
|
|
},
|
|
"prisma": {
|
|
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{ts,tsx}": "tsc-files --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.490.0",
|
|
"@aws-sdk/lib-storage": "^3.490.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.490.0",
|
|
"@axiomhq/axiom-node": "^0.12.0",
|
|
"@civitai/client": "^0.1.9-beta.3",
|
|
"@clickhouse/client": "^0.2.2",
|
|
"@cloudamqp/amqp-client": "^2.1.1",
|
|
"@dnd-kit/core": "^6.1.0",
|
|
"@dnd-kit/modifiers": "^7.0.0",
|
|
"@dnd-kit/sortable": "^8.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@emotion/react": "^11.10.4",
|
|
"@emotion/server": "^11.10.0",
|
|
"@essentials/memoize-one": "^1.1.0",
|
|
"@essentials/one-key-map": "^1.2.0",
|
|
"@google-cloud/recaptcha-enterprise": "^5.1.1",
|
|
"@headlessui/react": "^2.0.3",
|
|
"@hookform/resolvers": "^2.9.10",
|
|
"@mailchimp/mailchimp_marketing": "^3.0.80",
|
|
"@mantine/carousel": "^5.10.4",
|
|
"@mantine/core": "^5.10.4",
|
|
"@mantine/dates": "^5.10.4",
|
|
"@mantine/dropzone": "^5.10.4",
|
|
"@mantine/form": "^5.10.4",
|
|
"@mantine/hooks": "^5.10.4",
|
|
"@mantine/modals": "^5.10.4",
|
|
"@mantine/next": "^5.10.4",
|
|
"@mantine/notifications": "^5.10.4",
|
|
"@mantine/nprogress": "^5.10.4",
|
|
"@mantine/rte": "^5.10.4",
|
|
"@mantine/spotlight": "^5.10.4",
|
|
"@mantine/tiptap": "^5.10.4",
|
|
"@marsidev/react-turnstile": "^1.0.1",
|
|
"@meilisearch/instant-meilisearch": "0.13.5",
|
|
"@microsoft/signalr": "^7.0.10",
|
|
"@next-auth/prisma-adapter": "^1.0.7",
|
|
"@okikio/sharedworker": "^1.0.4",
|
|
"@paddle/paddle-js": "^1.2.1",
|
|
"@paddle/paddle-node-sdk": "^1.4.1",
|
|
"@paypal/react-paypal-js": "^8.1.3",
|
|
"@prisma/client": "^5.17.0",
|
|
"@rajesh896/broprint.js": "^2.1.1",
|
|
"@react-hook/window-size": "^3.1.1",
|
|
"@react-pdf/renderer": "^3.3.8",
|
|
"@stripe/react-stripe-js": "^2.4.0",
|
|
"@stripe/stripe-js": "^2.2.0",
|
|
"@swc/helpers": "^0.5.11",
|
|
"@tabler/icons-react": "^3.7.0",
|
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
"@tanstack/react-query": "^4.12.0",
|
|
"@tanstack/react-query-devtools": "^4.13.0",
|
|
"@tensorflow/tfjs": "^4.2.0",
|
|
"@tensorflow/tfjs-backend-wasm": "^4.2.0",
|
|
"@tiptap/extension-color": "^2.0.3",
|
|
"@tiptap/extension-heading": "^2.0.3",
|
|
"@tiptap/extension-image": "^2.0.0-beta.209",
|
|
"@tiptap/extension-link": "^2.0.0-beta.209",
|
|
"@tiptap/extension-mention": "^2.0.0-beta.209",
|
|
"@tiptap/extension-placeholder": "^2.0.0-beta.209",
|
|
"@tiptap/extension-text-style": "^2.0.3",
|
|
"@tiptap/extension-underline": "^2.0.0-beta.209",
|
|
"@tiptap/extension-youtube": "^2.0.0-beta.209",
|
|
"@tiptap/pm": "^2.3.0",
|
|
"@tiptap/react": "^2.0.0-beta.209",
|
|
"@tiptap/starter-kit": "^2.0.0-beta.209",
|
|
"@tiptap/suggestion": "^2.0.0-beta.209",
|
|
"@trpc/client": "^10.45.0",
|
|
"@trpc/next": "^10.45.0",
|
|
"@trpc/react-query": "^10.45.0",
|
|
"@trpc/server": "^10.45.0",
|
|
"@types/stream-to-blob": "^2.0.0",
|
|
"@vladmandic/human": "^3.0.5",
|
|
"algoliasearch": "^4.23.3",
|
|
"archiver": "^6.0.1",
|
|
"arraybuffer-to-buffer": "^0.0.7",
|
|
"axios": "^1.2.3",
|
|
"blurhash": "^2.0.4",
|
|
"chalk": "^5.2.0",
|
|
"chart.js": "^4.4.0",
|
|
"chartjs-adapter-dayjs-4": "^1.0.4",
|
|
"cloudflare": "^2.9.1",
|
|
"clsx": "^2.1.1",
|
|
"cookies-next": "^2.1.1",
|
|
"cron-parser": "^4.6.0",
|
|
"crypto": "^1.0.1",
|
|
"dayjs": "^1.11.12",
|
|
"discord.js": "^14.7.1",
|
|
"embla-carousel-react": "^7.0.3",
|
|
"exifreader": "^4.13.0",
|
|
"file-saver": "^2.0.5",
|
|
"framer-motion": "^10.18.0",
|
|
"gray-matter": "^4.0.3",
|
|
"he": "^1.2.0",
|
|
"html-to-text": "^9.0.5",
|
|
"idb-keyval": "^6.2.0",
|
|
"immer": "^9.0.15",
|
|
"instantsearch.js": "4.64.1",
|
|
"jsonwebtoken": "^9.0.1",
|
|
"jssha": "^3.3.1",
|
|
"jszip": "^3.10.1",
|
|
"linkify-react": "^4.1.3",
|
|
"linkifyjs": "^4.1.3",
|
|
"lodash-es": "^4.17.21",
|
|
"mantine-react-table": "^0.9.5",
|
|
"masonic": "^3.7.0",
|
|
"meilisearch": "0.33.0",
|
|
"micro": "^10.0.1",
|
|
"msgpackr": "^1.10.2",
|
|
"next": "^12.3.4",
|
|
"next-auth": "^4.24.5",
|
|
"next-axiom": "^0.17.0",
|
|
"next-plausible": "^3.12.0",
|
|
"next-sitemap": "^4.2.3",
|
|
"node-os-utils": "^1.3.7",
|
|
"nodemailer": "^6.8.0",
|
|
"p-limit": "^5.0.0",
|
|
"path-to-regexp": "^6.2.1",
|
|
"pg": "^8.11.3",
|
|
"playfab-sdk": "^2.122.230320",
|
|
"posthog-js": "^1.77.0",
|
|
"prom-client": "^14.2.0",
|
|
"query-string": "^7.1.1",
|
|
"rand-seed": "^1.0.2",
|
|
"randomstring": "^1.3.0",
|
|
"rate-limiter-flexible": "^2.4.1",
|
|
"react": "18.2.0",
|
|
"react-blurhash": "^0.2.0",
|
|
"react-chartjs-2": "^5.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-hook-form": "^7.45.0",
|
|
"react-instantsearch": "7.12.0",
|
|
"react-instantsearch-router-nextjs": "7.12.0",
|
|
"react-intersection-observer": "^9.4.0",
|
|
"react-lottie": "^1.2.4",
|
|
"react-markdown": "^8.0.3",
|
|
"react-social-media-embed": "^2.5.9",
|
|
"redis": "^4.7.0",
|
|
"rehype-raw": "^6.1.1",
|
|
"remark-gemoji": "^8.0.0",
|
|
"remark-gfm": "^3.0.1",
|
|
"remark-html": "^15.0.1",
|
|
"remark-parse": "^10.0.1",
|
|
"request-ip": "^3.3.0",
|
|
"run-queue": "^2.0.1",
|
|
"sanitize-html": "^2.7.3",
|
|
"semver": "^7.6.0",
|
|
"sharp": "^0.32.6",
|
|
"slate": "^0.94.1",
|
|
"slate-history": "^0.93.0",
|
|
"slate-react": "^0.95.0",
|
|
"slugify": "^1.6.5",
|
|
"socket.io-client": "^4.5.4",
|
|
"stream-to-blob": "^2.0.1",
|
|
"stripe": "^11.6.0",
|
|
"superjson": "1.9.1",
|
|
"tippy.js": "^6.3.7",
|
|
"trie-memoize": "^1.2.0",
|
|
"unfurl.js": "^6.4.0",
|
|
"unified": "^10.1.2",
|
|
"use-sound": "^4.0.1",
|
|
"uuid": "^9.0.0",
|
|
"xml2js": "^0.6.2",
|
|
"zod": "^3.22.3",
|
|
"zustand": "^4.3.7"
|
|
},
|
|
"devDependencies": {
|
|
"@next/eslint-plugin-next": "^12.1.4",
|
|
"@types/archiver": "^6.0.2",
|
|
"@types/cloudflare": "^2.7.9",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/he": "^1.2.3",
|
|
"@types/html-to-text": "^9.0.4",
|
|
"@types/jsonwebtoken": "^9.0.2",
|
|
"@types/lodash": "^4.14.189",
|
|
"@types/lodash-es": "^4.17.7",
|
|
"@types/mailchimp__mailchimp_marketing": "^3.0.12",
|
|
"@types/marked": "^4.0.7",
|
|
"@types/node": "18.11.0",
|
|
"@types/node-os-utils": "^1.3.1",
|
|
"@types/nodemailer": "^6.4.7",
|
|
"@types/offscreencanvas": "^2019.7.3",
|
|
"@types/pg": "^8.11.0",
|
|
"@types/randomstring": "^1.1.8",
|
|
"@types/react": "18.0.14",
|
|
"@types/react-dom": "18.0.5",
|
|
"@types/react-lottie": "^1.2.10",
|
|
"@types/request-ip": "^0.0.37",
|
|
"@types/sanitize-html": "^2.6.2",
|
|
"@types/sharp": "^0.31.0",
|
|
"@types/uuid": "^9.0.0",
|
|
"@types/xml2js": "^0.4.14",
|
|
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
"@typescript-eslint/parser": "^5.33.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"cross-env": "^7.0.3",
|
|
"cssnano": "^7.0.1",
|
|
"eslint": "8.22.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
"eslint-config-mantine": "2.0.0",
|
|
"eslint-config-next": "12.3.1",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-import-resolver-typescript": "^3.5.1",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-tailwindcss": "^3.15.1",
|
|
"husky": "^9.1.1",
|
|
"lint-staged": "^15.2.7",
|
|
"postcss": "^8.4.38",
|
|
"prettier": "^2.8.8",
|
|
"prisma": "^5.17.0",
|
|
"tailwindcss": "^3.4.3",
|
|
"ts-node": "^10.9.1",
|
|
"tsc-files": "^1.1.4",
|
|
"typescript": "^5.5.3"
|
|
},
|
|
"ct3aMetadata": {
|
|
"initVersion": "6.2.1"
|
|
},
|
|
"overrides": {
|
|
"@react-aria/interactions": "3.16.0"
|
|
}
|
|
}
|