UNPKG

@posthog/nextjs-config

Version:

NextJS configuration helper for Posthog 🦔

73 lines • 1.74 kB
{ "name": "@posthog/nextjs-config", "version": "1.10.0", "bugs": { "url": "https://github.com/PostHog/posthog-js/issues" }, "description": "NextJS configuration helper for Posthog 🦔", "repository": { "type": "git", "url": "https://github.com/PostHog/posthog-js.git", "directory": "packages/nextjs-config" }, "author": { "name": "PostHog", "email": "engineering@posthog.com", "url": "https://posthog.com" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "engines": { "node": "^20.20.0 || >=22.22.0" }, "license": "MIT", "dependencies": { "@posthog/cli": "~0.14.1", "semver": "^7.8.5", "@posthog/plugin-utils": "^1.2.0", "@posthog/webpack-plugin": "^1.6.0" }, "keywords": [ "posthog", "nextjs" ], "devDependencies": { "@rslib/core": "0.10.6", "@types/jest": "^29.5.14", "@types/node": "^22.15.23", "@types/semver": "^7.7.1", "jest": "29.7.0", "next": "^15.5.22", "ts-jest": "29.4.11", "@posthog-tooling/rollup-utils": "1.1.1", "@posthog-tooling/tsconfig-base": "1.1.1" }, "peerDependencies": { "next": ">12.1.0" }, "files": [ "dist/" ], "scripts": { "clean": "rimraf dist", "lint": "eslint src", "lint:fix": "eslint src --fix", "build": "rslib build", "test:unit": "jest --passWithNoTests", "dev": "rslib build --watch", "package": "pnpm pack --out $PACKAGE_DEST/%s.tgz" } }