@sc-db/sdk 0.1.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/dist/schema.js ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export {};
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@sc-db/sdk",
3
+ "version": "0.1.0",
4
+ "description": "TypeScript SDK for the SCDB API — open Star Citizen data (DataForge)",
5
+ "keywords": ["star-citizen", "starcitizen", "dataforge", "scdb", "sdk", "api-client"],
6
+ "license": "MIT",
7
+ "author": "Romain Boudot",
8
+ "homepage": "https://github.com/Romain-Boudot/sc-db#readme",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Romain-Boudot/sc-db.git",
12
+ "directory": "sdk/js"
13
+ },
14
+ "bugs": "https://github.com/Romain-Boudot/sc-db/issues",
15
+ "type": "module",
16
+ "main": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
+ }
23
+ },
24
+ "files": ["dist"],
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "scripts": {
29
+ "gen": "openapi-typescript openapi.json -o src/schema.ts",
30
+ "build": "tsc",
31
+ "prepare": "npm run build",
32
+ "prepublishOnly": "npm run gen && npm run build"
33
+ },
34
+ "dependencies": {
35
+ "openapi-fetch": "^0.13.5"
36
+ },
37
+ "devDependencies": {
38
+ "openapi-typescript": "^7.5.0",
39
+ "typescript": "^5.7.2"
40
+ }
41
+ }