mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-14 11:10:45 -05:00
74 lines
2.0 KiB
JSON
74 lines
2.0 KiB
JSON
{
|
|
"name": "@formbricks/js",
|
|
"version": "0.1.11",
|
|
"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/index.d.ts",
|
|
"exports": {
|
|
"types": "./dist/src/index.d.ts",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.modern.js"
|
|
},
|
|
"scripts": {
|
|
"dev": "microbundle watch --css inline",
|
|
"start": "cross-env NODE_OPTIONS=--openssl-legacy-provider preact watch",
|
|
"build:widget": "microbundle --css inline",
|
|
"build:lib": "microbundle build -i src/component.tsx",
|
|
"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 <hola@formbricks.com>",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@formbricks/types": "workspace:*",
|
|
"@types/enzyme": "^3.10.12",
|
|
"@types/jest": "^29.5.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
"@typescript-eslint/parser": "^5.57.1",
|
|
"autoprefixer": "^10.4.14",
|
|
"cross-env": "^7.0.3",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-preact-pure": "^4.1.0",
|
|
"eslint": "^8.37.0",
|
|
"eslint-config-formbricks": "workspace:*",
|
|
"eslint-config-preact": "^1.3.0",
|
|
"jest": "^29.5.0",
|
|
"jest-preset-preact": "^4.0.5",
|
|
"microbundle": "^0.14.1",
|
|
"postcss": "^8.4.21",
|
|
"preact": "10.13.2",
|
|
"preact-cli": "^3.4.5",
|
|
"preact-render-to-string": "^6.0.2",
|
|
"tailwindcss": "^3.3.1",
|
|
"typescript": "^5.0.3"
|
|
},
|
|
"jest": {
|
|
"preset": "jest-preset-preact",
|
|
"setupFiles": [
|
|
"<rootDir>/tests/__mocks__/setupTests.js"
|
|
]
|
|
}
|
|
}
|