unified-analytics
Version:
Unified analytics library for web applications
68 lines (67 loc) • 1.92 kB
JSON
{
"name": "unified-analytics",
"version": "1.1.12-alpha.0",
"description": "Unified analytics library for web applications",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"README.md"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./providers": {
"types": "./dist/providers/index.d.ts",
"import": "./dist/providers/index.js",
"default": "./dist/providers/index.js"
},
"./hooks": {
"types": "./dist/hooks/index.d.ts",
"import": "./dist/hooks/index.js",
"default": "./dist/hooks/index.js"
}
},
"scripts": {
"build": "rm -rf dist && bun build ./src/index.ts --outdir ./dist --target browser && ./node_modules/.bin/tsc",
"dev": "bun build ./src/index.ts --outdir ./dist --target browser --watch",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"prepublishOnly": "bun run lint && bun run test && bun run build",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@testing-library/react": "^16.3.0",
"@types/bun": "latest",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitejs/plugin-react": "^4.4.1",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^3.1.4",
"eslint": "^8.48.0",
"jsdom": "^26.0.0",
"rollup-plugin-visualizer": "^5.14.0",
"typescript": "^5.0.0",
"vitest": "^3.1.4"
},
"dependencies": {
"clevertap-web-sdk": "^1.14.0",
"firebase": "^11.6.0"
},
"keywords": [
"analytics",
"web-analytics",
"tracking"
],
"author": "Duy Truong",
"license": "MIT"
}