Files
formbricks/apps/web/package.json
Anshuman Pandey fb509d49c9 feat: add base setup to enable file uploads (#861)
* feat: adds api handlers for upload and get file from S3

* feat: upload and fetch files from local storage

* feat: upload and fetch files from local storage

* feat: adds restriction check for allowed file extesnsions

* refactor

* fix: uses t3 env for validation

* fix: fixes validation issues in storage api

* merge with main

* fix: moves UPLOADS_DIR to constants file

* fix: moves private uploads to responseId

* chore: merge with main

* fix: changes api route

* remove comment in storage service, use services in client storage route

* simplify client storage endpoint

* rename fileType to contentType

* relocate storage endpoints, update validation

* update management storage route for readability

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-06 19:06:48 +02:00

65 lines
1.9 KiB
JSON

{
"name": "@formbricks/web",
"version": "1.1.0",
"private": true,
"scripts": {
"clean": "rimraf .turbo node_modules .next",
"dev": "next dev",
"go": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.418.0",
"@aws-sdk/s3-request-presigner": "^3.418.0",
"@formbricks/api": "workspace:*",
"@formbricks/database": "workspace:*",
"@formbricks/ee": "workspace:*",
"@formbricks/js": "workspace:*",
"@formbricks/lib": "workspace:*",
"@formbricks/surveys": "workspace:*",
"@formbricks/types": "workspace:*",
"@formbricks/ui": "workspace:*",
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^2.0.18",
"@json2csv/node": "^7.0.3",
"@paralleldrive/cuid2": "^2.2.2",
"@radix-ui/react-collapsible": "^1.0.3",
"@react-email/components": "^0.0.7",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@sentry/nextjs": "^7.73.0",
"@t3-oss/env-nextjs": "^0.7.0",
"bcryptjs": "^2.4.3",
"encoding": "^0.1.13",
"eslint-config-next": "^13.5.4",
"googleapis": "^126.0.1",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"mime": "^3.0.0",
"lucide-react": "^0.284.0",
"next": "13.5.4",
"next-auth": "^4.23.2",
"nodemailer": "^6.9.5",
"posthog-js": "^1.82.1",
"prismjs": "^1.29.0",
"react": "18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "18.2.0",
"react-email": "^1.9.5",
"react-hook-form": "^7.47.0",
"react-hot-toast": "^2.4.1",
"react-icons": "^4.11.0",
"swr": "^2.2.4",
"ua-parser-js": "^1.0.36",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@formbricks/tsconfig": "workspace:*",
"@types/bcryptjs": "^2.4.4",
"@types/lodash": "^4.14.199",
"@types/markdown-it": "^13.0.2",
"eslint-config-formbricks": "workspace:*"
}
}