add npm scripts for convenience

This commit is contained in:
Zeke Sikelianos 2017-05-10 23:22:49 -07:00
parent dcfca610f4
commit 3273a1b42e

View file

@ -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",