UNPKG

@sparse-bug/nextjs

Version:

Official Next.js SDK for Sparse Bug, providing seamless integration for both App and Pages routers.

73 lines (72 loc) 1.89 kB
{ "name": "@sparse-bug/nextjs", "version": "0.1.5", "private": false, "description": "Official Next.js SDK for Sparse Bug, providing seamless integration for both App and Pages routers.", "author": "Freilyn Bernabe <freilyn@bernabe.dev>", "license": "MIT", "type": "module", "main": "./dist/client/index.cjs", "module": "./dist/client/index.js", "types": "./dist/client/index.d.ts", "exports": { ".": { "import": "./dist/client/index.js", "require": "./dist/client/index.cjs", "types": "./dist/client/index.d.ts" }, "./client": { "import": "./dist/client/index.js", "require": "./dist/client/index.cjs", "types": "./dist/client/index.d.ts" }, "./server": { "import": "./dist/server/index.js", "require": "./dist/server/index.cjs", "types": "./dist/server/index.d.ts" } }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/bernabedev/sparse-bug.git", "directory": "packages/next" }, "bugs": { "url": "https://github.com/bernabedev/sparse-bug/issues" }, "homepage": "https://github.com/bernabedev/sparse-bug/tree/main/packages/next#readme", "keywords": [ "next.js", "nextjs", "react", "error tracking", "error reporting", "sdk", "sentry", "sparse bug", "exception", "logging", "bklar" ], "scripts": { "build": "tsup", "prepublishOnly": "bun run build", "clean": "rm -rf dist" }, "peerDependencies": { "@sparse-bug/react": "^0.1.0", "next": "^13.0.0 || ^14.0.0 || ^15.0.0", "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" }, "devDependencies": { "@types/next": "^9.0.0", "@types/react": "^18.3.1 || ^19.0.", "@types/react-dom": "^18.3.1 || ^19.0.0", "tsup": "^8.5.0", "typescript": "~5.8.3" } }