forked from JonasKenke/matomo-tracker-for-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.16 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "matomo-tracker-react",
"version": "1.0.0",
"description": "A minimal yet powerful React package that integrates Matomo analytics with React, React Router, and Next.js. Fully SSR-compatible.",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -p tsconfig.json --module commonjs --outDir lib",
"build:esm": "tsc -p tsconfig.json --module esnext --outDir es",
"clean": "rm -rf lib es *.tsbuildinfo",
"prepublishOnly": "npm run clean && npm run build"
},
"keywords": [
"matomo",
"react",
"analytics",
"tracking",
"react-router",
"next.js",
"nextjs",
"ssr",
"server-side-rendering",
"typescript"
],
"author": "Golrigames",
"contributors": [
"Jonas Kenke (original author)",
"quentinn (current maintainer)"
],
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/Golrigames/matomo-tracker-react.git"
},
"bugs": {
"url": "https://github.com/Golrigames/matomo-tracker-react/issues"
},
"homepage": "https://github.com/Golrigames/matomo-tracker-react#readme",
"files": [
"lib",
"es",
"src"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./es/index.js",
"require": "./lib/index.js",
"default": "./lib/index.js"
},
"./react-router": {
"types": "./lib/react-router.d.ts",
"import": "./es/react-router.js",
"require": "./lib/react-router.js",
"default": "./lib/react-router.js"
},
"./nextjs": {
"types": "./lib/nextjs.d.ts",
"import": "./es/nextjs.js",
"require": "./lib/nextjs.js",
"default": "./lib/nextjs.js"
}
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"react-router-dom": {
"optional": true
},
"next": {
"optional": true
}
},
"devDependencies": {
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"react-router-dom": "^7.9.6",
"typescript": "^5.9.3"
},
"sideEffects": false
}