add typescript to the linting mix

This commit is contained in:
Zeke Sikelianos 2017-05-31 12:42:15 -07:00
parent 02972fac86
commit c6c3aa0b97

View file

@ -32,12 +32,12 @@
"clean-build": "python ./script/clean.py --build",
"coverage": "npm run instrument-code-coverage && npm test -- --use_instrumented_asar",
"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",
"lint": "npm run lint-js && npm run lint-cpp && npm run lint-py && npm run lint-docs",
"lint-js": "standard && cd spec && standard",
"lint-cpp": "python ./script/cpplint.py",
"lint-py": "python ./script/pylint.py",
"lint-docs": "npm run lint-api-docs-js && npm run create-typescript-definitions",
"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)'",