Skip to main content
Glama
package.json6.19 kB
{ "name": "posthog-js", "version": "1.232.4", "description": "Posthog-js allows you to automatically capture usage and send events to PostHog.", "repository": "https://github.com/PostHog/posthog-js", "author": "hey@posthog.com", "license": "MIT", "packageManager": "pnpm@9.15.4", "scripts": { "start": "pnpm build-react && pnpm build-rollup -w", "build": "pnpm build-rollup && pnpm build-react", "build-rollup": "rm -rf lib && tsc -b && rollup -c --bundleConfigAsCjs", "build-react": "cd react; NODE_ENV=dev pnpm i; pnpm build;", "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 lint && pnpm build && pnpm test && pnpm test:react", "test": "pnpm test:unit && pnpm test:custom-eslint-rules && pnpm test:functional", "test:unit": "jest src", "test:custom-eslint-rules": "jest eslint-rules", "test:unit:surveys": "jest '.*surveys.*.test.'", "test:react": "cd react; pnpm 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-ui": "pnpm exec playwright test --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" }, "main": "dist/main.js", "module": "dist/module.js", "types": "dist/module.d.ts", "files": [ "lib/*", "dist/*", "react/dist/*", "react/package.json" ], "dependencies": { "core-js": "^3.38.1", "fflate": "^0.4.8", "preact": "^10.19.3", "web-vitals": "^4.2.4" }, "devDependencies": { "@babel/core": "7.18.9", "@babel/plugin-syntax-decorators": "^7.23.3", "@babel/plugin-transform-exponentiation-operator": "^7.25.9", "@babel/plugin-transform-nullish-coalescing-operator": "^7.25.8", "@babel/plugin-transform-react-jsx": "^7.23.4", "@babel/preset-env": "7.18.9", "@babel/preset-typescript": "^7.18.6", "@jest/globals": "^27.5.1", "@playwright/test": "^1.49.1", "@posthog/rrweb-plugin-console-record": "^0.0.13", "@posthog/rrweb-record": "^0.0.13", "@posthog/rrweb-types": "^0.0.13", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@rrweb/record": "2.0.0-alpha.17", "@rrweb/rrweb-plugin-console-record": "2.0.0-alpha.17", "@rrweb/types": "2.0.0-alpha.17", "@sentry/types": "8.7.0", "@testing-library/dom": "^9.3.0", "@testing-library/jest-dom": "^6.5.0", "@testing-library/preact": "^3.2.4", "@types/eslint": "^8.44.6", "@types/jest": "^27.5.2", "@types/node": "^22.5.0", "@types/react-dom": "^18.0.10", "@types/sinon": "^17.0.1", "@types/web": "^0.0.154", "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.2.0", "babel-jest": "^26.6.3", "browserslist": "^4.24.2", "compare-versions": "^6.1.0", "date-fns": "^3.6.0", "eslint": "8.57.0", "eslint-config-posthog-js": "link:eslint-rules", "eslint-config-prettier": "^8.5.0", "eslint-plugin-compat": "^6.0.1", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-no-only-tests": "^3.1.0", "eslint-plugin-posthog-js": "link:eslint-rules", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.30.1", "eslint-plugin-react-hooks": "^4.6.0", "expect": "^29.7.0", "fast-check": "^2.17.0", "husky": "^8.0.1", "jest": "^27.5.1", "jsdom": "16.5.0", "jsdom-global": "3.0.2", "lint-staged": "^10.2.11", "localStorage": "1.0.4", "msw": "^1.3.3", "node-fetch": "^2.6.11", "posthog-js": "link:", "preact-render-to-string": "^6.3.1", "prettier": "^3.4.2", "rollup": "^4.28.1", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-visualizer": "^5.12.0", "sinon": "9.0.2", "testcafe": "1.19.0", "testcafe-browser-provider-browserstack": "1.14.0", "ts-node": "^10.9.2", "tslib": "^2.5.0", "typescript": "^5.5.4", "yargs": "^17.7.2" }, "peerDependencies": { "@rrweb/types": "2.0.0-alpha.17", "rrweb-snapshot": "2.0.0-alpha.17" }, "peerDependenciesMeta": { "@rrweb/types": { "optional": true }, "rrweb-snapshot": { "optional": true } }, "lint-staged": { "*.{ts,tsx,js,json}": "prettier --write", "*.js": "eslint --cache --fix", "*.{ts,tsx}": [ "eslint src --fix", "eslint playwright --fix", "prettier --write" ] }, "browserslist": [ "> 0.5%, last 2 versions, Firefox ESR, not dead, IE 11" ], "pnpm": { "patchedDependencies": { "@rrweb/rrweb-plugin-console-record@2.0.0-alpha.17": "patches/@rrweb__rrweb-plugin-console-record@2.0.0-alpha.17.patch", "@rrweb/record@2.0.0-alpha.17": "patches/@rrweb__record@2.0.0-alpha.17.patch" } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sadiuysal/mem0-mcp-server-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server