Add plausible

This commit is contained in:
Andras Schmelczer 2026-06-06 20:33:53 +01:00
parent a6ec5b9e55
commit eb807a63a6
7 changed files with 61 additions and 19 deletions

13
frontend/package.json Normal file
View file

@ -0,0 +1,13 @@
{
"name": "fizika-frontend",
"version": "1.0.0",
"description": "Static frontend for the Fizika practice app",
"private": true,
"scripts": {
"vendor": "cp node_modules/@plausible-analytics/tracker/plausible.js js/plausible.js",
"postinstall": "npm run vendor"
},
"dependencies": {
"@plausible-analytics/tracker": "^0.4.5"
}
}