@athena-tracker/tracker 1.0.2 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,33 +1,80 @@
1
1
  {
2
2
  "name": "@athena-tracker/tracker",
3
- "version": "1.0.2",
4
- "description": "ATHENA Analytics tracker SDK wrapper",
3
+ "version": "1.2.1",
4
+ "description": "Behavioral analytics and ML prediction tracker for React Native and Web. Captures 90+ event types, predicts purchase intent, and classifies user archetypes with server-side or on-device inference.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "types": "dist/index.d.ts",
8
+ "react-native": "dist/index.js",
8
9
  "files": [
9
- "dist"
10
+ "dist",
11
+ "README.md",
12
+ "LICENSE"
10
13
  ],
11
14
  "scripts": {
12
15
  "build": "rollup -c",
13
- "dev": "rollup -c -w",
14
- "test": "jest",
15
- "prepublishOnly": "npm run build"
16
+ "build:types": "tsc --declaration --emitDeclarationOnly --outDir dist",
17
+ "test": "jest --passWithNoTests",
18
+ "test:watch": "jest --watch",
19
+ "lint": "eslint src --ext .ts,.tsx",
20
+ "prepublishOnly": "npm run build && npm test"
16
21
  },
17
22
  "keywords": [
18
23
  "analytics",
19
- "tracking",
20
- "athena",
21
- "sdk"
24
+ "behavioral",
25
+ "ai",
26
+ "ml",
27
+ "react-native",
28
+ "web",
29
+ "onnx",
30
+ "edge-ai",
31
+ "athena"
22
32
  ],
23
- "author": "Pascal Analytics",
33
+ "author": "Pascal Team",
24
34
  "license": "MIT",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/RubaiyatF/Pascal.git",
38
+ "directory": "tracker/packages/athena-tracker"
39
+ },
40
+ "peerDependencies": {
41
+ "react": ">=18.0.0",
42
+ "react-native": ">=0.70.0"
43
+ },
44
+ "peerDependenciesMeta": {
45
+ "react-native": {
46
+ "optional": true
47
+ },
48
+ "onnxruntime-react-native": {
49
+ "optional": true
50
+ },
51
+ "expo-crypto": {
52
+ "optional": true
53
+ }
54
+ },
55
+ "dependencies": {
56
+ "tslib": "^2.8.1"
57
+ },
25
58
  "devDependencies": {
59
+ "@babel/core": "^7.23.0",
60
+ "@babel/preset-env": "^7.23.0",
61
+ "@babel/preset-typescript": "^7.23.0",
62
+ "@rollup/plugin-babel": "^6.0.4",
26
63
  "@rollup/plugin-commonjs": "^25.0.7",
27
64
  "@rollup/plugin-node-resolve": "^15.2.3",
28
- "@rollup/plugin-typescript": "^11.1.6",
29
- "rollup": "^4.9.6",
30
- "tslib": "^2.6.2",
31
- "typescript": "^5.3.3"
65
+ "@rollup/plugin-typescript": "^11.1.5",
66
+ "@types/jest": "^29.5.8",
67
+ "@types/react": "^19.0.0",
68
+ "@types/react-native": "^0.72.0",
69
+ "@typescript-eslint/eslint-plugin": "^6.11.0",
70
+ "@typescript-eslint/parser": "^6.11.0",
71
+ "eslint": "^8.54.0",
72
+ "jest": "^29.7.0",
73
+ "rollup": "^4.5.0",
74
+ "ts-jest": "^29.1.1",
75
+ "typescript": "^5.3.2"
76
+ },
77
+ "engines": {
78
+ "node": ">=16.0.0"
32
79
  }
33
80
  }