Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

1.4 KB
Raw Blame
{
  "name": "@swetrix/node",
  "version": "3.5.0",
  "description": "Swetrix NodeJS server-side tracking module",
  "keywords": [
    "analytics",
    "metrics",
    "monitoring",
    "privacy",
    "swetrix"
  ],
  "homepage": "https://swetrix.com/docs",
  "bugs": {
    "url": "https://github.com/Swetrix/swetrix/issues"
  },
  "license": "MIT",
  "author": "Andrii R. <[email protected]>",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Swetrix/swetrix.git"
  },
  "funding": "https://ko-fi.com/andriir",
  "type": "module",
  "main": "dist/swetrix.cjs",
  "module": "dist/swetrix.es5.js",
  "typings": "dist/esnext/index.d.ts",
  "esnext": "dist/esnext/index.js",
  "exports": {
    ".": {
      "types": "./dist/esnext/index.d.ts",
      "import": "./dist/swetrix.es5.js",
      "require": "./dist/swetrix.cjs"
    }
  },
  "scripts": {
    "prebuild": "rimraf dist",
    "prepublish": "npm run build",
    "build": "rollup -c && tsc -p tsconfig.esnext.json",
    "start": "rollup -c -w",
    "tsc": "tsc -p tsconfig.esnext.json"
  },
  "devDependencies": {
    "@rollup/plugin-commonjs": "^29.0.3",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-typescript": "^12.3.0",
    "@types/node": "^26.1.2",
    "@types/node-fetch": "^2.6.13",
    "node-fetch": "^3.3.2",
    "rimraf": "^6.1.3",
    "rollup": "^4.62.3",
    "tslib": "^2.8.1",
    "typescript": "^5.9.3"
  }
}