-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
84 lines (84 loc) · 2.45 KB
/
package.json
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
{
"name": "@freshheads/analytics-essentials",
"version": "1.1.1",
"keywords": [
"Analytics",
"Tag Manager",
"Freshheads"
],
"description": "Essentials for setting up analytics with Mixpanel, Google Analytics and Google Tag Manager",
"type": "module",
"main": "dist/mixpanel.cjs",
"module": "dist/mixpanel.js",
"types": "dist/types/mixpanel/index.d.ts",
"exports": {
".": {
"types": "./dist/types/mixpanel/index.d.ts",
"import": "./dist/mixpanel.js",
"require": "./dist/mixpanel.cjs"
},
"./mixpanel": {
"types": "./dist/types/mixpanel/index.d.ts",
"import": "./dist/mixpanel.js",
"require": "./dist/mixpanel.cjs"
},
"./google": {
"types": "./dist/types/google/index.d.ts",
"import": "./dist/google.js",
"require": "./dist/google.cjs"
}
},
"files": [
"dist",
"doc"
],
"repository": {
"type": "git",
"url": "git+https://github.com/freshheads/analytics-essentials.git"
},
"author": "Freshheads",
"license": "MIT",
"bugs": {
"url": "https://github.com/freshheads/analytics-essentials/issues"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint lib --ext ts,tsx --report-unused-disable-directives",
"preview": "vite preview",
"prepublishOnly": "npm run build",
"test": "vitest",
"prettier": "prettier --write '**/*.{js,ts,tsx,json}'"
},
"devDependencies": {
"@testing-library/react": "^14.2.1",
"@types/gtag.js": "^0.0.19",
"@types/node": "^18.16.2",
"@types/react": "^18.2.6",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vitejs/plugin-react": "^4.0.4",
"eslint": "^8.38.0",
"eslint-plugin-react-hooks": "^4.6.0",
"glob": "^10.3.3",
"i": "^0.3.7",
"jsdom": "^24.0.0",
"next": "^13.4.3",
"path": "^0.12.7",
"prettier": "^3.2.5",
"react": "^18.2.0",
"typescript": "^5.3.3",
"vite": "^5.2.7",
"vite-plugin-dts": "^3.5.2",
"vitest": "^1.3.1"
},
"peerDependencies": {
"next": ">=13",
"react": ">=18"
},
"peerDependenciesMeta": {
"next": {
"optional": true
}
}
}