mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-21 12:35:26 -04:00
35 lines
1012 B
JSON
35 lines
1012 B
JSON
{
|
|
"name": "revolt-api",
|
|
"version": "0.7.16-next.2",
|
|
"description": "Revolt API Library",
|
|
"main": "dist/index.js",
|
|
"module": "esm/index.js",
|
|
"homepage": "https://developers.revolt.chat",
|
|
"repository": "https://github.com/revoltchat/api.git",
|
|
"author": "Paul Makles <insrt.uk>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"gen": "REWRITE_ANYOF=1 openapi-typescript ./OpenAPI.json -o ./src/api.d.ts && node codegen.js",
|
|
"build": "yarn gen && rimraf dist esm && tsc && tsc -p tsconfig.esm.json && cp src/api.d.ts src/types.d.ts dist && cp src/api.d.ts src/types.d.ts esm",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepublish": "in-publish && yarn build || echo Skipping build."
|
|
},
|
|
"devDependencies": {
|
|
"in-publish": "^2.0.1",
|
|
"openapi-typescript": "^7.4.0",
|
|
"rimraf": "^6.0.1",
|
|
"typescript": "^5.5.4"
|
|
},
|
|
"dependencies": {
|
|
"openapi-fetch": "^0.12.0"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"esm",
|
|
"codegen.js",
|
|
"OpenAPI.json",
|
|
"LICENSE",
|
|
"README.md"
|
|
]
|
|
} |