@mentingo/luma-sdk 0.0.0-stage → 0.3.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 +268 -2
- package/dist/chunk-IZTPN6A6.js +953 -0
- package/dist/contracts-CpJtA8PG.d.cts +3599 -0
- package/dist/contracts-CpJtA8PG.d.ts +3599 -0
- package/dist/contracts.cjs +283 -0
- package/dist/contracts.d.cts +3 -0
- package/dist/contracts.d.ts +3 -0
- package/dist/contracts.js +58 -0
- package/dist/index.cjs +1736 -0
- package/dist/index.d.cts +215 -0
- package/dist/index.d.ts +215 -0
- package/dist/index.js +771 -0
- package/package.json +69 -3
package/package.json
CHANGED
|
@@ -1,6 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mentingo/luma-sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Luma API SDK",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
"*": {
|
|
12
|
+
"contracts": [
|
|
13
|
+
"dist/contracts.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"require": "./dist/index.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./contracts": {
|
|
24
|
+
"types": "./dist/contracts.d.ts",
|
|
25
|
+
"import": "./dist/contracts.js",
|
|
26
|
+
"require": "./dist/contracts.cjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@eslint/js": "9.39.2",
|
|
36
|
+
"@types/node": "25.3.0",
|
|
37
|
+
"eslint": "9.39.2",
|
|
38
|
+
"eslint-config-prettier": "10.1.8",
|
|
39
|
+
"globals": "16.5.0",
|
|
40
|
+
"prettier": "3.8.1",
|
|
41
|
+
"swagger-typescript-api": "13.2.18",
|
|
42
|
+
"tsup": "8.5.1",
|
|
43
|
+
"typescript": "5.9.3",
|
|
44
|
+
"typescript-eslint": "8.56.0",
|
|
45
|
+
"@mentingo/typescript-config": "0.0.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"axios": "1.20.0",
|
|
49
|
+
"socket.io-client": "4.8.3"
|
|
50
|
+
},
|
|
51
|
+
"repository": {
|
|
52
|
+
"type": "git",
|
|
53
|
+
"url": "git+https://github.com/Selleo/mentingo-ui.git",
|
|
54
|
+
"directory": "apps/luma-sdk"
|
|
55
|
+
},
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"build": "pnpm clean && tsup src/index.ts src/contracts.ts --format esm,cjs --dts",
|
|
61
|
+
"dev": "tsup src/index.ts src/contracts.ts --watch --format esm,cjs --dts",
|
|
62
|
+
"lint": "eslint .",
|
|
63
|
+
"test": "pnpm build && pnpm test:types && node --test test/*.test.js",
|
|
64
|
+
"test:types": "tsc --noEmit --module ESNext --moduleResolution Bundler --target ES2020 --strict --skipLibCheck test/admin-consumer.ts test/authoring-consumer.ts",
|
|
65
|
+
"lint:fix": "eslint . --fix",
|
|
66
|
+
"format": "prettier . --write",
|
|
67
|
+
"format:check": "prettier . --check",
|
|
68
|
+
"clean": "rm -rf dist",
|
|
69
|
+
"generate:client": "swagger-typescript-api generate -p ./src/api/api-schema-public.json -o ./src/api --axios --name generated-api.ts --api-class-name API",
|
|
70
|
+
"typecheck": "tsc --noEmit && pnpm test:types"
|
|
71
|
+
}
|
|
6
72
|
}
|