salesdock 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,78 @@
1
+ {
2
+ "name": "salesdock",
3
+ "version": "0.1.1",
4
+ "description": "Universal, fully-typed TypeScript SDK for the Salesdock API. Runs on Node.js, Cloudflare Workers, Deno, Bun, and the browser.",
5
+ "keywords": [
6
+ "salesdock",
7
+ "sdk",
8
+ "api",
9
+ "client",
10
+ "typescript",
11
+ "cloudflare-workers",
12
+ "serverless",
13
+ "energy",
14
+ "telecom",
15
+ "crm"
16
+ ],
17
+ "license": "AGPL-3.0-or-later",
18
+ "author": {
19
+ "name": "Risker",
20
+ "url": "https://risker.nl"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/utrechtsedev/salesdock-sdk.git"
25
+ },
26
+ "homepage": "https://github.com/utrechtsedev/salesdock-sdk#readme",
27
+ "bugs": {
28
+ "url": "https://github.com/utrechtsedev/salesdock-sdk/issues"
29
+ },
30
+ "type": "module",
31
+ "main": "./dist/index.cjs",
32
+ "module": "./dist/index.js",
33
+ "types": "./dist/index.d.ts",
34
+ "exports": {
35
+ ".": {
36
+ "import": {
37
+ "types": "./dist/index.d.ts",
38
+ "default": "./dist/index.js"
39
+ },
40
+ "require": {
41
+ "types": "./dist/index.d.cts",
42
+ "default": "./dist/index.cjs"
43
+ }
44
+ },
45
+ "./package.json": "./package.json"
46
+ },
47
+ "files": [
48
+ "dist",
49
+ "!dist/**/*.map",
50
+ "README.md",
51
+ "LICENSE",
52
+ "COMMERCIAL-LICENSE.md"
53
+ ],
54
+ "sideEffects": false,
55
+ "engines": {
56
+ "node": ">=18"
57
+ },
58
+ "scripts": {
59
+ "build": "tsup",
60
+ "typecheck": "tsc --noEmit",
61
+ "typecheck:test": "tsc --noEmit -p tsconfig.test.json",
62
+ "test": "vitest run",
63
+ "test:watch": "vitest",
64
+ "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
65
+ "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
66
+ "prepublishOnly": "npm run typecheck && npm run test && npm run build"
67
+ },
68
+ "dependencies": {
69
+ "zod": "^3.23.8"
70
+ },
71
+ "devDependencies": {
72
+ "@types/node": "^20.14.0",
73
+ "prettier": "^3.3.3",
74
+ "tsup": "^8.2.4",
75
+ "typescript": "^5.5.4",
76
+ "vitest": "^2.0.5"
77
+ }
78
+ }