{ "name": "@formbricks/js", "license": "MIT", "version": "1.0.0", "description": "Formbricks-js allows you to connect your app to Formbricks, display surveys and trigger events.", "keywords": [ "Formbricks", "surveys", "experience management" ], "source": "src/index.ts", "main": "./dist/index.js", "module": "./dist/index.module.js", "unpkg": "./dist/index.umd.js", "types": "./dist/js/src/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.module.js" }, "./package.json": "./package.json", "./": "./" }, "scripts": { "clean": "rimraf .turbo node_modules dist", "dev": "microbundle --css inline --watch", "go": "microbundle --css inline --watch", "lint": "eslint '{src,tests}/**/*.{ts,tsx}'", "test": "jest", "build": "microbundle --css inline" }, "files": [ "dist" ], "eslintConfig": { "parser": "@typescript-eslint/parser", "extends": [ "preact", "plugin:@typescript-eslint/recommended" ], "ignorePatterns": [ "build/" ] }, "author": "Formbricks ", "devDependencies": { "@babel/core": "^7.22.9", "@babel/preset-env": "^7.22.9", "@babel/preset-typescript": "^7.22.5", "@formbricks/api": "workspace:*", "@formbricks/types": "workspace:*", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "autoprefixer": "^10.4.14", "babel-jest": "^29.6.1", "cross-env": "^7.0.3", "eslint-config-formbricks": "workspace:*", "eslint-config-preact": "^1.3.0", "isomorphic-fetch": "^3.0.0", "jest": "^29.6.1", "jest-environment-jsdom": "^29.6.1", "jest-fetch-mock": "^3.0.3", "jest-preset-preact": "^4.1.0", "microbundle": "^0.15.1", "preact": "10.16.0", "preact-cli": "^3.4.6", "preact-render-to-string": "^6.2.0", "regenerator-runtime": "^0.13.11" }, "jest": { "transformIgnorePatterns": [ "!node_modules/" ], "setupFiles": [ "/tests/__mocks__/setupTests.js" ], "moduleNameMapper": { "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "/tests/__mocks__/fileMock.js", "\\.(css|less)$": "/tests/__mocks__/styleMock.js" } } }