mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 10:19:51 -06:00
79 lines
2.3 KiB
JSON
79 lines
2.3 KiB
JSON
{
|
|
"name": "@formbricks/js",
|
|
"license": "MIT",
|
|
"version": "1.5.1",
|
|
"description": "Formbricks-js allows you to connect your app to Formbricks, display surveys and trigger events.",
|
|
"homepage": "https://formbricks.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/formbricks/formbricks"
|
|
},
|
|
"keywords": [
|
|
"Formbricks",
|
|
"surveys",
|
|
"experience management"
|
|
],
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"source": "src/index.ts",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"unpkg": "./dist/index.umd.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.umd.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "vite build --watch --mode dev",
|
|
"build": "tsc && vite build",
|
|
"build:dev": "tsc && vite build --mode dev",
|
|
"go": "vite build --watch --mode dev",
|
|
"lint": "eslint ./src --fix",
|
|
"test": "jest --coverage --no-cache",
|
|
"clean": "rimraf .turbo node_modules dist coverage"
|
|
},
|
|
"author": "Formbricks <hola@formbricks.com>",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.7",
|
|
"@babel/preset-env": "^7.23.8",
|
|
"@babel/preset-typescript": "^7.23.3",
|
|
"@formbricks/api": "workspace:*",
|
|
"@formbricks/lib": "workspace:*",
|
|
"@formbricks/surveys": "workspace:*",
|
|
"@formbricks/tsconfig": "workspace:*",
|
|
"@formbricks/types": "workspace:*",
|
|
"@types/jest": "^29.5.11",
|
|
"@typescript-eslint/eslint-plugin": "^6.19.1",
|
|
"@typescript-eslint/parser": "^6.19.1",
|
|
"babel-jest": "^29.7.0",
|
|
"cross-env": "^7.0.3",
|
|
"isomorphic-fetch": "^3.0.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"terser": "^5.27.0",
|
|
"vite": "^5.0.12",
|
|
"vite-plugin-dts": "^3.7.2",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-config-turbo": "1.10.12"
|
|
},
|
|
"jest": {
|
|
"transformIgnorePatterns": [
|
|
"!node_modules/"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/tests/__mocks__/setupTests.js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/__mocks__/fileMock.js",
|
|
"\\.(css|less)$": "<rootDir>/tests/__mocks__/styleMock.js"
|
|
}
|
|
}
|
|
}
|