@thrivestack/analytics-browser
Version:
ThriveStack Analytics Platform - Comprehensive web analytics tracking with privacy-first approach
102 lines • 4.02 kB
JSON
{
"name": "@thrivestack/analytics-browser",
"version": "1.0.6",
"type": "module",
"description": "ThriveStack Analytics Platform - Comprehensive web analytics tracking with privacy-first approach",
"main": "dist/index.production.js",
"module": "dist/index.production.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.production.esm.js",
"require": "./dist/index.production.js"
},
"./production": {
"types": "./dist/index.d.ts",
"import": "./dist/index.production.esm.js",
"require": "./dist/index.production.js"
},
"./development": {
"types": "./dist/index.d.ts",
"import": "./dist/index.development.esm.js",
"require": "./dist/index.development.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:production && npm run build:development && npm run build:cdn",
"build:production": "BUILD_MODE=production BUILD_TARGET=package rollup -c && npx tsc --declaration --emitDeclarationOnly --outDir dist",
"build:development": "BUILD_MODE=development BUILD_TARGET=package rollup -c",
"build:cdn": "npm run build:cdn:production && npm run build:cdn:development",
"build:cdn:production": "BUILD_MODE=production BUILD_TARGET=cdn rollup -c && mv dist/thrivestack.js dist/thrivestack.production.min.js",
"build:cdn:development": "BUILD_MODE=development BUILD_TARGET=cdn rollup -c && mv dist/thrivestack.js dist/thrivestack.development.min.js",
"dev": "BUILD_MODE=development BUILD_TARGET=package rollup -c -w",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src --ext .ts,.js",
"lint:fix": "eslint src --ext .ts,.js --fix",
"format": "prettier --write \"src/**/*.{ts,js}\"",
"prepublishOnly": "npm run build && npm run test",
"publish:npm": "npm publish --registry=https://registry.npmjs.org/",
"publish:cdn:production": "npm run build:cdn:production && echo 'Upload dist/thrivestack.production.min.js to your CDN'",
"publish:cdn:development": "npm run build:cdn:development && echo 'Upload dist/thrivestack.development.min.js to your CDN'",
"clean": "rimraf dist",
"type-check": "tsc --noEmit"
},
"keywords": [
"analytics",
"tracking",
"web-analytics",
"privacy-first",
"thrivestack",
"telemetry",
"user-tracking",
"event-tracking"
],
"author": "ThriveStack",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thrivestack/analytics.git"
},
"bugs": {
"url": "https://github.com/thrivestack/analytics/issues"
},
"homepage": "https://github.com/thrivestack/analytics#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-replace": "^0.4.0",
"@rollup/plugin-terser": "^0.4.0",
"@types/jest": "^29.5.8",
"@types/node": "^20.8.10",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.54.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.0.5",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"rollup-plugin-typescript2": "^0.35.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@fingerprintjs/fingerprintjs": "^3.4.2"
},
"engines": {
"node": ">=14.0.0"
},
"publishConfig": {
"access": "public"
},
"jsdelivr": "dist/thrivestack.production.min.js",
"unpkg": "dist/thrivestack.production.min.js"
}