@motis-project/motis-client 2.0.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/LICENSE +21 -0
- package/README.md +19 -0
- package/dist/chunk-6DML7NNP.js +0 -0
- package/dist/chunk-IYBFZNEH.js +1093 -0
- package/dist/chunk-QM2K42W7.js +91 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +107 -0
- package/dist/schemas.gen.d.ts +904 -0
- package/dist/schemas.gen.js +78 -0
- package/dist/services.gen.d.ts +65 -0
- package/dist/services.gen.js +30 -0
- package/dist/types.gen.d.ts +1703 -0
- package/dist/types.gen.js +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./chunk-6DML7NNP.js";
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@motis-project/motis-client",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "A JS client for the MOTIS API.",
|
|
5
|
+
"public": true,
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"/dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"generate": "npx @hey-api/openapi-ts -i ../../../../openapi.yaml -o ./openapi/ -c @hey-api/client-fetch",
|
|
13
|
+
"transpile": "tsup openapi/**/*.ts --format esm --dts -d=./dist",
|
|
14
|
+
"build": "npm run generate && npm run transpile",
|
|
15
|
+
"publish": "npm publish --access public"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/motis-project/motis.git"
|
|
20
|
+
},
|
|
21
|
+
"author": "motis-project",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/motis-project/motis/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/motis-project/motis#readme",
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@hey-api/openapi-ts": "^0.53.12",
|
|
29
|
+
"tslib": "^2.8.1",
|
|
30
|
+
"tsup": "^8.4.0",
|
|
31
|
+
"typescript": "^5.7.3"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@hey-api/client-fetch": "^0.4.4"
|
|
35
|
+
},
|
|
36
|
+
"type": "module"
|
|
37
|
+
}
|