summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json
index 157124c143..bcf582edf2 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,8 @@
"build": "npm run tsc",
"tsc": "tsc",
"tsd": "tsd",
+ "api": "npx api-extractor run --local --verbose",
+ "api-prod": "npx api-extractor run --verbose",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"jest": "jest --coverage --detectOpenHandles",
"test": "npm run jest && npm run tsd"
@@ -17,6 +19,7 @@
"url": "git+https://github.com/misskey-dev/misskey.js.git"
},
"devDependencies": {
+ "@microsoft/api-extractor": "^7.18.4",
"@types/jest": "^26.0.23",
"@types/node": "16.0.0",
"@typescript-eslint/eslint-plugin": "4.28.5",