Zalvena/packages/react/package.json
Noah Richardson 95f9710547 fix: read browser locale and is debug on first event
`shared.ts` currently reads the default browser locale and is debug on import, which causes
issueswhen imported in a server component. This moves the reads for those to whenever the first
event issent and those values are actually required, which is typically on the client.

fix #7
2024-07-19 09:37:35 -04:00

39 lines
940 B
JSON

{
"name": "@aptabase/react",
"version": "0.3.4",
"type": "module",
"description": "React SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/aptabase/aptabase-js.git",
"directory": "packages/react"
},
"bugs": {
"url": "https://github.com/aptabase/aptabase-js/issues"
},
"homepage": "https://github.com/aptabase/aptabase-js",
"license": "MIT",
"scripts": {
"build": "tsup",
"prepublishOnly": "npm run build"
},
"files": [
"README.md",
"LICENSE",
"dist",
"package.json"
],
"peerDependencies": {
"react": "^18.0.0"
}
}