add a convenience script for manually generating API JSON
This commit is contained in:
parent
9a10486514
commit
c00bac5c0b
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
"clean": "python ./script/clean.py",
|
||||
"clean-build": "python ./script/clean.py --build",
|
||||
"coverage": "npm run instrument-code-coverage && npm test -- --use-instrumented-asar",
|
||||
"generate-api-json": "electron-docs-linter docs/api --version=$npm_package_version --outfile=out/electron-api.json",
|
||||
"generate-typescript-definitions": "electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
|
||||
"instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
|
||||
"lint": "npm run lint-js && npm run lint-cpp && npm run lint-py && npm run lint-api-docs-js && npm run lint-api-docs",
|
||||
|
|
Loading…
Reference in a new issue