Files
formbricks-formbricks/packages/surveys/package.json
T
2026-03-05 10:18:54 +00:00

74 lines
2.7 KiB
JSON

{
"name": "@formbricks/surveys",
"license": "MIT",
"version": "1.0.0",
"private": true,
"description": "Formbricks-surveys is a helper library to embed surveys into your application.",
"homepage": "https://formbricks.com",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/formbricks/formbricks"
},
"sideEffects": false,
"source": "src/index.ts",
"main": "dist/index.umd.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
},
"./validation": {
"types": "./dist/validation.d.ts",
"import": "./dist/validation.js"
}
},
"scripts": {
"dev": "concurrently -n \"ESM,UMD\" \"vite build --watch --mode dev\" \"BUILD_UMD=true vite build --watch --mode dev\"",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build && cross-env NODE_OPTIONS=--max-old-space-size=8192 BUILD_UMD=true vite build",
"build:analyze": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit && cross-env NODE_OPTIONS=--max-old-space-size=8192 ANALYZE=true vite build",
"build:dev": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode dev",
"go": "concurrently -n \"ESM,UMD\" \"vite build --watch --mode dev\" \"BUILD_UMD=true vite build --watch --mode dev\"",
"lint": "eslint src --fix --ext .ts,.js,.tsx,.jsx",
"preview": "vite preview",
"clean": "rimraf .turbo node_modules dist",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"i18n:generate": "npx lingo.dev@latest run && npx lingo.dev@latest lockfile --force"
},
"dependencies": {
"@calcom/embed-snippet": "1.3.3",
"@formbricks/survey-ui": "workspace:*",
"i18next": "25.8.13",
"i18next-icu": "2.4.3",
"isomorphic-dompurify": "2.36.0",
"preact": "10.28.4",
"react-i18next": "15.7.4"
},
"devDependencies": {
"@formbricks/config-typescript": "workspace:*",
"@formbricks/eslint-config": "workspace:*",
"@formbricks/i18n-utils": "workspace:*",
"@formbricks/types": "workspace:*",
"@preact/preset-vite": "2.10.3",
"@tailwindcss/postcss": "4.2.1",
"@testing-library/preact": "3.2.4",
"@types/react": "19.2.14",
"autoprefixer": "10.4.27",
"concurrently": "9.2.1",
"postcss": "8.5.8",
"rollup-plugin-visualizer": "6.0.8",
"tailwindcss": "4.2.1",
"terser": "5.46.0",
"vite": "6.4.1",
"vite-plugin-dts": "4.5.4",
"vite-tsconfig-paths": "5.1.4"
}
}