mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-21 04:25:22 -04:00
feat: switch to @insertish/oapi and cjs
This commit is contained in:
+10
-11
@@ -1,26 +1,25 @@
|
||||
{
|
||||
"name": "revolt-api",
|
||||
"version": "0.5.3-rc.1",
|
||||
"description": "Revolt API typings",
|
||||
"version": "0.5.3-rc.1-patch.0",
|
||||
"description": "Revolt API Library",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
"homepage": "https://developers.revolt.chat",
|
||||
"repository": "https://gitlab.insrt.uk/revolt/api.git",
|
||||
"author": "Paul Makles <insrt.uk>",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"watch": "tsc-watch --onSuccess \"node --experimental-specifier-resolution=node dist\"",
|
||||
"routes": "node scripts/generate_routes.js",
|
||||
"exports": "node scripts/generate_exports.js",
|
||||
"convert": "openapi-typescript OpenAPI.json --output src/schema.ts && node scripts/generate_routes.js && node scripts/generate_exports.js"
|
||||
"build": "oapilib && tsc",
|
||||
"prepublish": "in-publish && yarn build || echo Skipping build."
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsc-watch": "^4.4.0",
|
||||
"typescript": "^4.3.5"
|
||||
"@types/lodash.defaultsdeep": "^4.6.6",
|
||||
"in-publish": "^2.0.1",
|
||||
"openapi-typescript": "^5.2.0",
|
||||
"typescript": "^4.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@insertish/oapi": "^0.1.6",
|
||||
"axios": "^0.26.1",
|
||||
"openapi-typescript": "^5.2.0"
|
||||
"lodash.defaultsdeep": "^4.6.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user