Files
formbricks-formbricks/packages/js/package.json
Matti Nannt e5f371476c Fix formatting of preview components (#646)
* Fix formatting of preview components

* update npm packages
2023-08-03 17:03:53 +02:00

84 lines
2.3 KiB
JSON

{
"name": "@formbricks/js",
"license": "MIT",
"version": "1.0.2",
"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 <hola@formbricks.com>",
"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.2.1",
"@typescript-eslint/parser": "^6.2.1",
"autoprefixer": "^10.4.14",
"babel-jest": "^29.6.2",
"cross-env": "^7.0.3",
"eslint-config-formbricks": "workspace:*",
"eslint-config-preact": "^1.3.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jest-fetch-mock": "^3.0.3",
"jest-preset-preact": "^4.1.0",
"microbundle": "^0.15.1",
"preact": "10.16.0",
"preact-cli": "^3.5.0",
"preact-render-to-string": "^6.2.0",
"regenerator-runtime": "^0.13.11"
},
"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"
}
}
}