kaafil-js 0.1.0-beta.0

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,75 @@
1
+ {
2
+ "name": "kaafil-js",
3
+ "version": "0.1.0-beta.0",
4
+ "description": "Headless, typed TypeScript client for the Kaafil on-ground and post-trip engine.",
5
+ "keywords": [
6
+ "kaafil",
7
+ "sdk",
8
+ "typescript",
9
+ "client"
10
+ ],
11
+ "license": "MIT",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/kaafil/kaafil-js.git"
15
+ },
16
+ "homepage": "https://github.com/kaafil/kaafil-js#readme",
17
+ "bugs": {
18
+ "url": "https://github.com/kaafil/kaafil-js/issues"
19
+ },
20
+ "type": "module",
21
+ "engines": {
22
+ "node": ">=20.11"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public",
26
+ "tag": "beta",
27
+ "provenance": true
28
+ },
29
+ "exports": {
30
+ ".": {
31
+ "import": {
32
+ "types": "./dist/index.d.ts",
33
+ "default": "./dist/index.js"
34
+ },
35
+ "require": {
36
+ "types": "./dist/index.d.cts",
37
+ "default": "./dist/index.cjs"
38
+ }
39
+ },
40
+ "./client": {
41
+ "import": {
42
+ "types": "./dist/client-entry.d.ts",
43
+ "default": "./dist/client-entry.js"
44
+ },
45
+ "require": {
46
+ "types": "./dist/client-entry.d.cts",
47
+ "default": "./dist/client-entry.cjs"
48
+ }
49
+ }
50
+ },
51
+ "main": "./dist/index.cjs",
52
+ "module": "./dist/index.js",
53
+ "types": "./dist/index.d.cts",
54
+ "sideEffects": false,
55
+ "files": [
56
+ "dist"
57
+ ],
58
+ "devDependencies": {
59
+ "@biomejs/biome": "^2.4.9",
60
+ "openapi-typescript": "^7.6.1",
61
+ "tsup": "^8.5.0",
62
+ "typescript": "^5.9.2"
63
+ },
64
+ "scripts": {
65
+ "build": "tsup",
66
+ "typecheck": "tsc --noEmit",
67
+ "lint": "biome check .",
68
+ "lint:fix": "biome check --write .",
69
+ "format": "biome format --write .",
70
+ "gen:types": "openapi-typescript openapi/openapi.json --default-non-nullable false -o src/generated/schema.d.ts && node scripts/gen-meta.mjs",
71
+ "gen:check": "bash scripts/check-codegen-drift.sh",
72
+ "spec:check": "bash scripts/check-spec-vendored.sh",
73
+ "release:beta": "pnpm build && pnpm publish --tag beta --no-provenance"
74
+ }
75
+ }