Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.32 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.32 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
{
"name": "@typesafe-ai/sdk",
"version": "0.7.0",
"description": "TypeScript SDK for the TypeSafe API",
"license": "MIT",
"author": "evinism",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"sideEffects": false,
"engines": {
"node": ">=22"
},
"packageManager": "npm@11.19.0",
"scripts": {
"build": "tsdown",
"typecheck": "tsc",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:coverage": "vitest run --coverage",
"test:dist": "vitest run --config vitest.dist.config.ts",
"check:version": "node scripts/check-version.mjs",
"check:package": "node scripts/check-package.mjs",
"prepublishOnly": "npm run check",
"push:npm": "npm publish",
"push:npm:dry": "npm publish --dry-run",
"push:jsr": "npm run check && jsr publish",
"push:jsr:dry": "npm run check && jsr publish --dry-run --allow-dirty",
"demo": "tsx examples/demo.ts",
"check": "npm run lint && npm run typecheck && npm run check:version && npm run test:coverage && npm run build && npm run test:dist && npm run check:package",
"docs": "npm ci --prefix docs --ignore-scripts --no-audit --no-fund && npm run --prefix docs build"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@biomejs/biome": "^2.5.11",
"@types/node": "^26.4.1",
"@vitest/coverage-v8": "^4.1.11",
"git-cliff": "2.13.1",
"jsr": "^0.14.3",
"publint": "^0.3.24",
"tsdown": "^0.22.14",
"tsx": "^4.23.13",
"typescript": "^7.0.2",
"vitest": "^4.1.11"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/typesafe-ai/typesafe-sdk-js.git"
},
"homepage": "https://docs.typesafe.ai/go/js-sdk",
"bugs": {
"url": "https://github.com/typesafe-ai/typesafe-sdk-js/issues"
}
}