-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.11 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.11 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
{
"name": "@contio/partner-sdk",
"version": "1.8.0",
"description": "Official SDK for Contio MeetingOS Partner API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"./webhooks": {
"types": "./dist/webhooks/index.d.ts",
"import": "./dist/esm/webhooks/index.js",
"require": "./dist/webhooks/index.js",
"default": "./dist/webhooks/index.js"
},
"./auth": {
"types": "./dist/auth/index.d.ts",
"import": "./dist/esm/auth/index.js",
"require": "./dist/auth/index.js",
"default": "./dist/auth/index.js"
},
"./models": {
"types": "./dist/models/index.d.ts",
"import": "./dist/esm/models/index.js",
"require": "./dist/models/index.js",
"default": "./dist/models/index.js"
}
},
"scripts": {
"build": "tsc && tsc -p tsconfig.esm.json",
"build:cjs": "tsc",
"build:esm": "tsc -p tsconfig.esm.json",
"test": "jest",
"lint": "eslint src/**/*.ts",
"docs": "typedoc --includeVersion --favicon docs/assets/favicon.ico --out ../../dist/typedoc src/index.ts",
"gen-types": "swagger-typescript-api generate --path specs/api/partner-openapi.json --output src/generated --name api-types.ts --no-client --extract-request-params --extract-request-body --extract-response-body --extract-response-error --generate-union-enums --sort-types && node scripts/post-process-api-types.js",
"gen-webhook-types": "node scripts/generate-webhook-types.js",
"sync-webhook-exports": "node scripts/sync-webhook-exports.js",
"gen-all-types": "npm run gen-types && npm run gen-webhook-types && npm run sync-webhook-exports",
"update-spec:api": "curl -s https://docs.contio.ai/partner-api/openapi/partner-openapi.json -o specs/api/partner-openapi.json && npm run gen-types",
"update-spec:webhooks": "curl -s https://docs.contio.ai/partner-api/asyncapi/webhooks.yaml -o specs/asyncapi/webhooks.yaml && npm run gen-webhook-types && npm run sync-webhook-exports",
"prepublishOnly": "npm run rebuild && npm run test",
"clean": "rm -rf dist",
"rebuild": "npm run clean && npm run build"
},
"dependencies": {
"axios": "^1.12.0",
"qs": "^6.11.0"
},
"devDependencies": {
"@asyncapi/modelina": "^5.10.1",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^8.53.1",
"@typescript-eslint/parser": "^8.53.1",
"axios-mock-adapter": "^2.1.0",
"eslint": "^10.1.0",
"prettier": "^3.8.0",
"swagger-typescript-api": "^13.2.16",
"ts-jest": "^29.4.1",
"typedoc": "^0.28.15"
},
"peerDependencies": {
"typescript": ">=4.5.0"
},
"engines": {
"node": ">=22.0.0"
},
"files": [
"dist",
"README.md"
],
"keywords": [
"contio",
"partner",
"api",
"sdk",
"meetingos"
],
"author": "Contio AI",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Contio-AI/partner-sdk.git"
}
}