Files
zeekay cccaffc884 Release insights 1.358.2 and core 1.23.3
Also names the eslint plugin as a valid package alias; pnpm refused
the lockfile with the old one.

Claude-Session: https://claude.ai/code/session_011i2AG9nwpiKUCVxAdDzYuU
2026-09-29 20:43:23 -07:00

152 lines
6.4 KiB
JSON

{
"name": "@hanzo/insights",
"version": "1.358.2",
"description": "Hanzo Insights browser SDK for automatic event capture and behavioral analytics.",
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoinsights/insights-js.git",
"directory": "packages/browser"
},
"author": {
"name": "Hanzo AI",
"email": "[email protected]",
"url": "https://hanzo.ai"
},
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://docs.hanzo.ai/insights/js",
"packageManager": "[email protected]",
"scripts": {
"clean": "rimraf lib dist react/dist",
"start": "pnpm build-react && NODE_OPTIONS=\"--max-old-space-size=8192\" pnpm build-rollup -w",
"dev": "tsc -b && NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -cw",
"build": "tsc -b && rollup -c",
"package": "pnpm pack --out $PACKAGE_DEST/%s.tgz",
"lint": "eslint src && eslint playwright",
"lint:fix": "eslint src --fix && eslint playwright --fix",
"prettier": "prettier --write src/ functional_tests/ playwright/",
"prettier:check": "prettier --check src/ functional_tests/ playwright/",
"prepublishOnly": "pnpm check-react",
"check-react": "[ -d 'react/dist' ] || { echo '@hanzo/react has not been built'; exit 1; }",
"test": "pnpm test:unit && pnpm test:functional",
"test:unit": "jest src",
"test:unit:surveys": "jest '.*survey.*.test.'",
"test:unit:tours": "jest '.*tours.*.test.'",
"test:functional": "jest functional_tests",
"test-watch": "jest --watch src",
"test:typecheck": "cd src/__tests__ && tsc --noEmit --project tsconfig.json",
"typecheck": "tsc --noEmit --project tsconfig.json",
"playwright": "pnpm exec playwright test --project webkit --project firefox --project chromium",
"playwright:compat": "pnpm exec playwright test --config playwright.config.compat.ts",
"playwright:integration": "pnpm exec playwright test --config playwright.config.integration.ts --project webkit --project firefox --project chromium",
"playwright-ui": "pnpm exec playwright test --ui --project webkit --project firefox --project chromium",
"playwright-webserver": "npx http-server ./ -p 2345",
"playwright:surveys": "pnpm exec playwright test packages/browser/playwright/mocked/surveys/* --project webkit --project firefox --project chromium",
"playwright:surveys:ui": "pnpm exec playwright test packages/browser/playwright/mocked/surveys/* --ui --project webkit --project firefox --project chromium",
"playwright:tours:ui": "pnpm exec playwright test packages/browser/playwright/mocked/product-tours/* --ui --project webkit --project firefox --project chromium",
"prepare": "[ -z \"$VERCEL\" ] && husky install || echo \"Skipping husky install on vercel build\"",
"deprecate-old-versions": "node scripts/deprecate-old-versions.mjs",
"check-testcafe-results": "ts-node testcafe/check-testcafe-results.js",
"run-testcafe-localhost": "node scripts/run-testcafe-localhost.mjs",
"write-mangled-property-names": "WRITE_MANGLED_PROPERTIES=1 pnpm build",
"generate-references": "pnpm exec api-extractor run --config ./api-extractor.json --local && node scripts/generate-docs.js"
},
"main": "dist/main.js",
"module": "dist/module.js",
"types": "dist/module.d.ts",
"files": [
"lib/*",
"dist/*",
"react/dist/**",
"react/package.json",
"react/surveys/package.json"
],
"dependencies": {
"@hanzo/insights-core": "workspace:*",
"@hanzo/insights-types": "workspace:*",
"core-js": "catalog:",
"dompurify": "catalog:",
"fflate": "catalog:",
"preact": "catalog:",
"query-selector-shadow-dom": "catalog:",
"web-vitals": "catalog:",
"@opentelemetry/api": "catalog:",
"@opentelemetry/api-logs": "catalog:",
"@opentelemetry/exporter-logs-otlp-http": "catalog:",
"@opentelemetry/resources": "catalog:",
"@opentelemetry/sdk-logs": "catalog:"
},
"devDependencies": {
"@babel/core": "catalog:",
"@babel/plugin-syntax-decorators": "catalog:",
"@babel/plugin-transform-exponentiation-operator": "catalog:",
"@babel/plugin-transform-nullish-coalescing-operator": "catalog:",
"@babel/plugin-transform-react-jsx": "catalog:",
"@babel/preset-env": "catalog:",
"@babel/preset-typescript": "catalog:",
"@jest/globals": "catalog:",
"@playwright/test": "catalog:",
"@hanzo/insights-tooling-rollup-utils": "workspace:*",
"@rollup/plugin-babel": "catalog:",
"@rollup/plugin-commonjs": "catalog:",
"@rollup/plugin-json": "catalog:",
"@rollup/plugin-node-resolve": "catalog:",
"@rollup/plugin-terser": "catalog:",
"@rollup/plugin-typescript": "catalog:",
"@rrweb/record": "catalog:",
"@rrweb/rrweb-plugin-console-record": "catalog:",
"@rrweb/types": "catalog:",
"@sentry/types": "catalog:",
"@testing-library/dom": "catalog:",
"@testing-library/jest-dom": "catalog:",
"@testing-library/preact": "catalog:",
"@types/dompurify": "catalog:",
"@types/dotenv": "catalog:",
"@types/jest": "catalog:",
"@types/node": "catalog:",
"@types/query-selector-shadow-dom": "catalog:",
"@types/sinon": "catalog:",
"@types/web": "catalog:",
"babel-jest": "catalog:",
"browserslist": "catalog:",
"compare-versions": "catalog:",
"cssnano": "catalog:",
"date-fns": "catalog:",
"dotenv": "catalog:",
"expect": "catalog:",
"fast-check": "catalog:",
"http-server": "catalog:",
"husky": "catalog:",
"identity-obj-proxy": "catalog:",
"jest": "catalog:",
"jest-environment-jsdom": "catalog:",
"jsdom": "catalog:",
"jsdom-global": "catalog:",
"localStorage": "catalog:",
"msw": "catalog:",
"node-fetch": "catalog:",
"postcss": "catalog:",
"postcss-import": "catalog:",
"postcss-nesting": "catalog:",
"@hanzo/insights": "link:",
"preact-render-to-string": "catalog:",
"rollup": "catalog:",
"rollup-plugin-dts": "catalog:",
"rollup-plugin-postcss": "catalog:",
"rollup-plugin-visualizer": "catalog:",
"sinon": "catalog:",
"testcafe": "catalog:",
"testcafe-browser-provider-browserstack": "catalog:",
"ts-node": "catalog:",
"tslib": "catalog:",
"typescript": "catalog:",
"yargs": "catalog:",
"@hanzo/rrweb": "workspace:*",
"@hanzo/rrweb-plugin-console-record": "workspace:*",
"@hanzo/rrweb-record": "workspace:*",
"@hanzo/rrweb-types": "workspace:*"
},
"browserslist": [
"> 0.5%, last 2 versions, Firefox ESR, not dead, IE 11"
]
}