primeorbit 0.1.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 ADDED
@@ -0,0 +1,136 @@
1
+ {
2
+ "name": "primeorbit",
3
+ "version": "0.1.1",
4
+ "description": "Official PrimeOrbit SDK for Node.js - Track conversations, model responses, user feedback, and custom analytics",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "PrimeOrbit",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/PrimeOrbit/primeorbit-sdk-nodejs.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/PrimeOrbit/primeorbit-sdk-nodejs/issues"
14
+ },
15
+ "homepage": "https://github.com/PrimeOrbit/primeorbit-sdk-nodejs#readme",
16
+ "keywords": [
17
+ "primeorbit",
18
+ "analytics",
19
+ "sdk",
20
+ "tracking",
21
+ "conversations",
22
+ "llm",
23
+ "ai",
24
+ "feedback",
25
+ "metrics",
26
+ "observability"
27
+ ],
28
+ "engines": {
29
+ "node": ">=18.0.0"
30
+ },
31
+ "files": [
32
+ "build",
33
+ "README.md",
34
+ "LICENSE"
35
+ ],
36
+ "main": "./build/index.cjs",
37
+ "module": "./build/index.js",
38
+ "types": "./build/index.d.ts",
39
+ "exports": {
40
+ ".": {
41
+ "import": {
42
+ "types": "./build/index.d.ts",
43
+ "default": "./build/index.js"
44
+ },
45
+ "require": {
46
+ "types": "./build/index.d.cts",
47
+ "default": "./build/index.cjs"
48
+ }
49
+ }
50
+ },
51
+ "sideEffects": false,
52
+ "directories": {
53
+ "src": "src",
54
+ "tests": "tests"
55
+ },
56
+ "scripts": {
57
+ "build": "tsup src/index.ts --format esm,cjs --dts --out-dir build --clean",
58
+ "typecheck": "tsc --noEmit",
59
+ "lint": "eslint --max-warnings 0 src/ tests/",
60
+ "lint:fix": "eslint --fix src/ tests/",
61
+ "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
62
+ "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
63
+ "prepare": "husky",
64
+ "test": "jest",
65
+ "test:coverage": "jest --coverage",
66
+ "test:watch": "jest --watch",
67
+ "bundle": "npm run build && npm pack",
68
+ "prepublishOnly": "npm run typecheck && npm run lint && npm run test && npm run build",
69
+ "version:patch": "npm version patch --no-git-tag-version",
70
+ "version:minor": "npm version minor --no-git-tag-version",
71
+ "version:major": "npm version major --no-git-tag-version",
72
+ "publish:latest": "npm run build && npm publish --tag latest",
73
+ "publish:patch": "npm run version:patch && npm run build && npm publish --tag latest",
74
+ "publish:minor": "npm run version:minor && npm run build && npm publish --tag latest",
75
+ "publish:major": "npm run version:major && npm run build && npm publish --tag latest",
76
+ "publish:beta": "npm run build && npm publish --tag beta",
77
+ "publish:beta:patch": "npm run version:patch && npm run build && npm publish --tag beta",
78
+ "publish:alpha": "npm run build && npm publish --tag alpha",
79
+ "publish:alpha:patch": "npm run version:patch && npm run build && npm publish --tag alpha",
80
+ "publish:next": "npm run build && npm publish --tag next",
81
+ "publish:next:patch": "npm run version:patch && npm run build && npm publish --tag next"
82
+ },
83
+ "husky": {
84
+ "hooks": {
85
+ "pre-commit": "lint-staged"
86
+ }
87
+ },
88
+ "lint-staged": {
89
+ "{src,tests}/**/*.{js,jsx,ts,tsx}": [
90
+ "npx eslint --fix",
91
+ "npx prettier --write --ignore-unknown",
92
+ "npx jest --findRelatedTests"
93
+ ],
94
+ "docs/**/*.md": "mdformat --wrap 80 --number",
95
+ "scripts/**/*.sh": "shellcheck -x"
96
+ },
97
+ "prettier": {
98
+ "proseWrap": "always",
99
+ "singleQuote": true,
100
+ "trailingComma": "all",
101
+ "tabWidth": 2,
102
+ "semi": true
103
+ },
104
+ "devDependencies": {
105
+ "@eslint/js": "^9.34.0",
106
+ "@jest/globals": "^30.1.1",
107
+ "@types/jest": "^30.0.0",
108
+ "@types/node": "^24.3.0",
109
+ "@types/supertest": "^6.0.3",
110
+ "@typescript-eslint/eslint-plugin": "^8.41.0",
111
+ "@typescript-eslint/parser": "^8.41.0",
112
+ "eslint": "^9.34.0",
113
+ "eslint-config-love": "^122.0.0",
114
+ "eslint-config-prettier": "^10.1.8",
115
+ "eslint-plugin-import": "^2.32.0",
116
+ "eslint-plugin-n": "^17.21.3",
117
+ "eslint-plugin-promise": "^7.2.1",
118
+ "husky": "^9.1.7",
119
+ "jest": "^30.1.1",
120
+ "jest-fetch-mock": "^3.0.3",
121
+ "lint-staged": "^16.1.5",
122
+ "npm-check-updates": "^18.0.3",
123
+ "prettier": "^3.6.2",
124
+ "supertest": "^7.1.4",
125
+ "ts-jest": "^29.4.1",
126
+ "ts-node": "^10.9.2",
127
+ "tsup": "^8.5.1",
128
+ "tsx": "^4.20.5",
129
+ "typescript": "^5.9.3",
130
+ "vite": "^7.1.7",
131
+ "vite-tsconfig-paths": "^5.1.4"
132
+ },
133
+ "dependencies": {
134
+ "dotenv": "^17.2.3"
135
+ }
136
+ }