-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 5.19 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 5.19 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "@runloop/api-client",
"version": "1.14.1",
"description": "The official TypeScript library for the Runloop API",
"author": "Runloop <[email protected]>",
"types": "dist/sdk.d.ts",
"main": "dist/sdk.js",
"type": "commonjs",
"repository": "github:runloopai/api-client-ts",
"license": "MIT",
"packageManager": "[email protected]",
"files": [
"**/*"
],
"private": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "./scripts/test",
"test:smoke": "RUN_SMOKETESTS=1 jest --verbose tests/smoketests",
"test:examples": "RUN_SMOKETESTS=1 jest --verbose tests/smoketests/examples/examples.test.ts",
"test:objects": "RUN_SMOKETESTS=1 jest --config jest.config.objects.js --verbose",
"test:objects-coverage": "RUN_SMOKETESTS=1 jest --verbose --config jest.config.objects.js --coverage --coverageReporters=text --coverageReporters=json-summary",
"test:objects-coverage:html": "RUN_SMOKETESTS=1 jest --verbose --config jest.config.objects.js --coverage --coverageReporters=html --coverageReporters=text && open coverage-objects/index.html",
"test:built-package": "yarn build && RUN_BUILT_PACKAGE_TEST=1 jest --verbose tests/smoketests/build-package.test.ts",
"build": "./scripts/build",
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1",
"format": "prettier --write --cache --cache-strategy metadata . !dist",
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi",
"tsn": "ts-node -r tsconfig-paths/register",
"lint": "./scripts/lint",
"fix": "./scripts/format",
"docs": "typedoc --options typedoc.json",
"generate:examples-md": "node ./scripts/generate-examples-md.cjs",
"check:examples-md": "yarn generate:examples-md && git diff --exit-code EXAMPLES.md examples/registry.ts",
"docs:md": "typedoc --options typedoc.md.json",
"docs:watch": "typedoc --options typedoc.json --watch",
"predeploy-gh-pages": "yarn docs:sdk",
"deploy-gh-pages": "gh-pages -d typedoc"
},
"dependencies": {
"@types/node": "^18.11.18",
"@types/node-fetch": "^2.6.4",
"abort-controller": "^3.0.0",
"agentkeepalive": "^4.2.1",
"form-data-encoder": "1.7.2",
"formdata-node": "^4.3.2",
"node-fetch": "^2.6.7",
"tar": "^7.5.2",
"uuidv7": "^1.0.2",
"zod": "^3.24.1"
},
"resolutions": {
"typedoc": "^0.28.14",
"typedoc-plugin-markdown": "^4.9.0"
},
"devDependencies": {
"@shipgirl/typedoc-plugin-versions": "^0.3.2",
"@swc/core": "^1.3.102",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.4.0",
"@types/tar": "^6.1.13",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.49.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-unused-imports": "^3.0.0",
"gh-pages": "^6.3.0",
"iconv-lite": "^0.6.3",
"jest": "^30.2.0",
"js-yaml": "^4.1.0",
"prettier": "^3.0.0",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"tsc-multi": "^1.1.0",
"tsconfig-paths": "^4.0.0",
"typedoc": "^0.28.14",
"typedoc-github-theme": "^0.3.1",
"typedoc-material-theme": "^1.4.1",
"typedoc-plugin-dt-links": "^2.0.29",
"typedoc-plugin-include-example": "^3.0.2",
"typedoc-plugin-markdown": "^4.9.0",
"typedoc-plugin-md": "^0.7.1",
"typedoc-plugin-pages": "^1.1.0",
"typescript": "^5.9.0"
},
"sideEffects": [
"./_shims/sdk.js",
"./_shims/sdk.mjs",
"./shims/node.js",
"./shims/node.mjs",
"./shims/web.js",
"./shims/web.mjs"
],
"exports": {
"./_shims/auto/*": {
"deno": {
"types": "./dist/_shims/auto/*.d.ts",
"require": "./dist/_shims/auto/*.js",
"default": "./dist/_shims/auto/*.mjs"
},
"bun": {
"types": "./dist/_shims/auto/*.d.ts",
"require": "./dist/_shims/auto/*-bun.js",
"default": "./dist/_shims/auto/*-bun.mjs"
},
"browser": {
"types": "./dist/_shims/auto/*.d.ts",
"require": "./dist/_shims/auto/*.js",
"default": "./dist/_shims/auto/*.mjs"
},
"worker": {
"types": "./dist/_shims/auto/*.d.ts",
"require": "./dist/_shims/auto/*.js",
"default": "./dist/_shims/auto/*.mjs"
},
"workerd": {
"types": "./dist/_shims/auto/*.d.ts",
"require": "./dist/_shims/auto/*.js",
"default": "./dist/_shims/auto/*.mjs"
},
"node": {
"types": "./dist/_shims/auto/*-node.d.ts",
"require": "./dist/_shims/auto/*-node.js",
"default": "./dist/_shims/auto/*-node.mjs"
},
"types": "./dist/_shims/auto/*.d.ts",
"require": "./dist/_shims/auto/*.js",
"default": "./dist/_shims/auto/*.mjs"
},
".": {
"require": {
"types": "./dist/sdk.d.ts",
"default": "./dist/sdk.js"
},
"types": "./dist/sdk.d.mts",
"default": "./dist/sdk.mjs"
},
"./*.mjs": {
"types": "./dist/*.d.ts",
"default": "./dist/*.mjs"
},
"./*.js": {
"types": "./dist/*.d.ts",
"default": "./dist/*.js"
},
"./*": {
"types": "./dist/*.d.ts",
"require": "./dist/*.js",
"default": "./dist/*.mjs"
}
}
}