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!

Minimum node for development is v22

Blue Mouse16e45f933815
diff --git a/package.json b/package.json
index c8387796b..e9d1054f7 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
"url": "git+https://github.com/Swetrix/swetrix-js.git"
},
"author": "Andrii Romasiun, Swetrix Ltd. <[email protected]>",
- "funding": "https://ko-fi.com/andriir",
+ "funding": "https://github.com/sponsors/Swetrix",
"license": "MIT",
"bugs": {
"url": "https://github.com/Swetrix/swetrix-js/issues"
@@ -55,5 +55,12 @@
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "^5.6.3"
+ },
+ "devEngines": {
+ "runtime": {
+ "name": "node",
+ "onFail": "error",
+ "version": ">=22"
+ }
}
}
diff --git a/rollup.config.js b/rollup.config.js
index 77e541b0c..5922d8d15 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs'
import sourceMaps from 'rollup-plugin-sourcemaps'
import typescript from '@rollup/plugin-typescript'
import terser from '@rollup/plugin-terser'
-import pkg from './package.json' assert { type: 'json' }
+import pkg from './package.json' with { type: 'json' }
export default [
{