add npm scripts for convenience
This commit is contained in:
parent
dcfca610f4
commit
3273a1b42e
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@
|
|||
"lint-py": "python ./script/pylint.py",
|
||||
"lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations",
|
||||
"lint-api-docs": "electron-docs-linter",
|
||||
"create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version",
|
||||
"create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
|
||||
"preinstall": "node -e 'process.exit(0)'",
|
||||
"release": "./script/upload.py -p",
|
||||
"repl": "python ./script/start.py --interactive",
|
||||
|
|
Loading…
Reference in a new issue