mirror of
https://github.com/Swetrix/swetrix-js.git
synced 2025-03-14 09:55:10 +00:00
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"name": "swetrix",
|
|
"version": "3.5.4",
|
|
"description": "The JavaScript analytics client for Swetrix Analytics",
|
|
"main": "dist/swetrix.cjs.js",
|
|
"module": "dist/swetrix.es5.js",
|
|
"browser": "dist/swetrix.js",
|
|
"esnext": "dist/esnext/index.js",
|
|
"typings": "dist/esnext/index.d.ts",
|
|
"scripts": {
|
|
"prebuild": "rimraf dist",
|
|
"prepublish": "npm run build",
|
|
"build": "rollup -c && npm run tsc",
|
|
"start": "rollup -c -w",
|
|
"tsc": "tsc -p tsconfig.esnext.json"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/esnext/index.js",
|
|
"require": "./dist/swetrix.cjs.js",
|
|
"types": "./dist/esnext/index.d.ts",
|
|
"default": "./dist/swetrix.js"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"swetrix",
|
|
"analytics",
|
|
"monitoring",
|
|
"metrics",
|
|
"privacy"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Swetrix/swetrix-js.git"
|
|
},
|
|
"author": "Andrii Romasiun, Swetrix Ltd. <contact@swetrix.com>",
|
|
"funding": "https://github.com/sponsors/Swetrix",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Swetrix/swetrix-js/issues"
|
|
},
|
|
"homepage": "https://docs.swetrix.com",
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
"@types/node": "^22.10.4",
|
|
"rimraf": "^6.0.1",
|
|
"rollup": "^4.29.1",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"devEngines": {
|
|
"runtime": {
|
|
"name": "node",
|
|
"onFail": "error",
|
|
"version": ">=22"
|
|
}
|
|
}
|
|
}
|