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!

Updated meta info

Blue Mousebbcdbe56ddbd
diff --git a/package.json b/package.json
index 07a66b2b9..68b24af59 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,10 @@
{
- "name": "analytics_script",
- "version": "1.0.0",
+ "name": "swetrix",
+ "version": "1.0.3",
"description": "",
- "main": "dist/analytics.cjs.js",
- "module": "dist/analytics.es5.js",
- "browser": "dist/analytics.umd.js",
+ "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": {
@@ -16,14 +16,14 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/Blaumaus/analytics_script.git"
+ "url": "git+https://github.com/Swetrix/swetrix-js.git"
},
- "author": "Blaumaus <[email protected]>",
+ "author": "Swetrix <[email protected]>",
"license": "Apache-2.0",
"bugs": {
- "url": "https://github.com/Blaumaus/analytics_script/issues"
+ "url": "https://github.com/Swetrix/swetrix-js/issues"
},
- "homepage": "https://github.com/Blaumaus/analytics_script#readme",
+ "homepage": "https://swetrix.com/docs",
"dependencies": {
"@types/node": "^14.14.41"
},
diff --git a/rollup.config.js b/rollup.config.js
index 1a1b7d3b6..7d7ca8622 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -9,7 +9,6 @@ export default [
{
input: 'src/index.ts',
output: [
- { file: pkg.browser, format: 'umd', name: 'swetrix' },
{ file: pkg.main, format: 'cjs' },
{ file: pkg.module, format: 'es' },
],
@@ -20,7 +19,7 @@ export default [
{
input: 'src/index.ts',
output: [
- { file: 'dist/swetrix.js', format: 'umd', name: 'swetrix' },
+ { file: pkg.browser, format: 'umd', name: 'swetrix' },
],
plugins: [
typescript(), resolve(), commonjs(), uglify(),