mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(docgen): typescript support
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"build": "tsup && tsc --emitDeclarationOnly --incremental",
|
||||
"lint": "prettier --check . && eslint src __tests__ --ext mjs,js,ts",
|
||||
"format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
|
||||
"docs": "typedoc --json docs/typedoc-out.json src/index.ts && ts-docgen -i docs/typedoc-out.json -c docs/index.yml -o docs/docs.json",
|
||||
"docs": "docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript",
|
||||
"prepublishOnly": "yarn build && yarn lint && yarn test",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'",
|
||||
"release": "cliff-jumper"
|
||||
@@ -58,6 +58,7 @@
|
||||
"undici": "^5.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/docgen": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^1.8.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
||||
@@ -68,7 +69,6 @@
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"prettier": "^2.6.2",
|
||||
"tsup": "^6.1.0",
|
||||
"typedoc": "^0.22.17",
|
||||
"typescript": "^4.7.3"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
Reference in New Issue
Block a user