Skip to content
Snippets Groups Projects
Unverified Commit 9705efaa authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Add dbp-matomo usage documentation and build script entry

parent cfe0f21e
No related branches found
No related tags found
No related merge requests found
Pipeline #45705 passed
......@@ -13,6 +13,13 @@ npm i @dbp-toolkit/matomo
<script type="module" src="node_modules/@dbp-toolkit/matomo/dist/dbp-matomo.js"></script>
```
Or directly via CDN:
```html
<dbp-matomo></dbp-matomo>
<script type="module" src="https://unpkg.com/@dbp-toolkit/matomo@0.2.4/dist/dbp-matomo.js"></script>
```
## Attributes
- `endpoint` (required): set to your *Matomo* server
......
{
"name": "@dbp-toolkit/matomo",
"homepage": "https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/master/packages/matomo",
"version": "0.2.3",
"version": "0.2.4",
"main": "src/index.js",
"license": "LGPL-2.1-or-later",
"repository": {
......@@ -41,6 +41,7 @@
},
"scripts": {
"clean": "rm dist/*",
"build": "npm run build-local",
"build-local": "rollup -c",
"build-dev": "rollup -c --environment BUILD:development",
"build-prod": "rollup -c --environment BUILD:production",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment