-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.25 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 3.25 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@deriv-com/analytics",
"version": "1.39.4",
"description": "Comprehensive analytics package for Deriv applications. Provides unified event tracking, A/B testing, and user analytics through RudderStack, PostHog and GrowthBook integrations with built-in caching and offline support.",
"keywords": [
"rudderstack",
"growthbook",
"posthog",
"analytics",
"event-tracking"
],
"private": false,
"publishConfig": {
"access": "public"
},
"author": "Amir Ali, Addriene, Nikita,Aswathy",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"browser": "./dist/browser/analytics.bundle.global.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./growthbook": {
"types": "./dist/providers/growthbook/index.d.ts",
"import": "./dist/providers/growthbook/index.mjs",
"require": "./dist/providers/growthbook/index.js"
},
"./rudderstack": {
"types": "./dist/providers/rudderstack/index.d.ts",
"import": "./dist/providers/rudderstack/index.mjs",
"require": "./dist/providers/rudderstack/index.js"
},
"./posthog": {
"types": "./dist/providers/posthog/index.d.ts",
"import": "./dist/providers/posthog/index.mjs",
"require": "./dist/providers/posthog/index.js"
},
"./cache": {
"types": "./dist/utils/analytics-cache/index.d.ts",
"import": "./dist/utils/analytics-cache/index.mjs",
"require": "./dist/utils/analytics-cache/index.js"
}
},
"scripts": {
"test": "./node_modules/.bin/jest",
"build": "tsup",
"prepare": "npm run build && husky install",
"prepublishOnly": "npm test"
},
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "https://github.com/deriv-com/deriv-analytics"
},
"homepage": "https://github.com/deriv-com/deriv-analytics",
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.2",
"@semantic-release/npm": "^13.1.3",
"@semantic-release/release-notes-generator": "^14.1.0",
"@types/jest": "^30.0.0",
"@types/js-cookie": "^3.0.6",
"@types/node": "^25.0.10",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-location-mock": "^2.0.0",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"semantic-release": "^25.0.2",
"ts-jest": "^29.4.6",
"tslib": "^2.8.1",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
},
"dependencies": {
"@rudderstack/analytics-js": "^3.14.0",
"js-cookie": "^3.0.5",
"posthog-js": "1.358.0"
},
"optionalDependencies": {
"@growthbook/growthbook": "^1.4.1"
},
"engines": {
"node": ">=24.13.0",
"npm": ">=11.7.0"
},
"license": "MIT",
"lint-staged": {
"*.{js,md,ts}": "prettier --write"
}
}