{
	"name": "@product7/product7-js",
	"version": "0.8.4",
	"description": "JavaScript SDK for integrating Product7 feedback widgets into any website",
	"main": "dist/product7-js.js",
	"module": "src/index.js",
	"browser": "dist/product7-js.min.js",
	"types": "types/index.d.ts",
	"files": [
		"dist/",
		"src/",
		"types/",
		"README.md"
	],
	"scripts": {
		"build": "npm run build:dev && npm run build:prod",
		"build:dev": "rollup -c rollup.config.js --environment NODE_ENV:development",
		"build:prod": "rollup -c rollup.config.js --environment NODE_ENV:production",
		"dev": "rollup -c rollup.config.js --environment NODE_ENV:development --watch",
		"serve": "http-server . -p 8080 -c-1",
		"localstack": "npm run build:dev && echo 'Open http://localhost:8080/test.html?env=localstack' && http-server . -p 8080 -c-1",
		"dev:test": "npm run build:dev && npm run serve",
		"test": "jest",
		"test:watch": "jest --watch",
		"test:coverage": "jest --coverage",
		"lint": "eslint src/ --ext .js",
		"lint:fix": "eslint src/ --ext .js --fix",
		"typecheck": "tsc --noEmit",
		"docs": "jsdoc -c jsdoc.config.json",
		"size": "bundlesize",
		"precommit": "npm run lint && npm run test",
		"prepublishOnly": "npm run build && npm run test"
	},
	"keywords": [
		"feedback",
		"widget",
		"sdk",
		"javascript",
		"product7",
		"customer-feedback",
		"user-feedback",
		"embeddable",
		"modal",
		"form"
	],
	"author": "Product7 Team",
	"license": "MIT",
	"homepage": "https://github.com/product7/product7-js#readme",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/product7/product7-js.git"
	},
	"bugs": {
		"url": "https://github.com/product7/product7-js/issues"
	},
	"engines": {
		"node": ">=14.0.0"
	},
	"browserslist": [
		"> 1%",
		"last 2 versions",
		"not dead",
		"not ie 11"
	],
	"type": "module",
	"devDependencies": {
		"@babel/core": "^7.28.3",
		"@babel/preset-env": "^7.28.3",
		"@rollup/plugin-babel": "^6.0.4",
		"@rollup/plugin-commonjs": "^28.0.6",
		"@rollup/plugin-node-resolve": "^16.0.1",
		"@rollup/plugin-terser": "^0.4.4",
		"bundlesize": "^0.18.2",
		"eslint": "^8.57.1",
		"eslint-config-standard": "^17.1.0",
		"http-server": "^14.1.1",
		"jest": "^30.1.1",
		"jest-environment-jsdom": "^30.1.1",
		"jsdoc": "^4.0.4",
		"prettier": "^3.6.2",
		"prettier-plugin-organize-imports": "^4.2.0",
		"rollup": "^4.49.0",
		"rollup-plugin-copy": "^3.5.0",
		"rollup-plugin-livereload": "^2.0.5",
		"rollup-plugin-serve": "^3.0.0",
		"typescript": "^5.9.2"
	},
	"bundlesize": [
		{
			"path": "./dist/product7-js.min.js",
			"maxSize": "25kb"
		}
	],
	"jest": {
		"testEnvironment": "jsdom",
		"testMatch": [
			"**/tests/**/*.test.js",
			"**/src/**/*.test.js"
		],
		"collectCoverageFrom": [
			"src/**/*.js",
			"!src/**/*.test.js",
			"!src/index.js"
		],
		"coverageThreshold": {
			"global": {
				"branches": 80,
				"functions": 80,
				"lines": 80,
				"statements": 80
			}
		}
	}
}
