Add executable test to package.json
This commit is contained in:
parent
996c914912
commit
a4db8e1c55
2 changed files with 6 additions and 2 deletions
|
@ -50,7 +50,8 @@
|
||||||
"lint-js": "standard && cd spec && standard",
|
"lint-js": "standard && cd spec && standard",
|
||||||
"lint-cpp": "python ./script/cpplint.py",
|
"lint-cpp": "python ./script/cpplint.py",
|
||||||
"lint-py": "python ./script/pylint.py",
|
"lint-py": "python ./script/pylint.py",
|
||||||
"lint-docs": "remark docs -qf && npm run lint-js-in-markdown && npm run create-typescript-definitions",
|
"lint-docs": "remark docs -qf && npm run lint-js-in-markdown && npm run create-typescript-definitions && npm run lint-docs-relative-links",
|
||||||
|
"lint-docs-relative-links": "python ./script/check-relative-doc-links.py",
|
||||||
"lint-js-in-markdown": "standard-markdown docs",
|
"lint-js-in-markdown": "standard-markdown docs",
|
||||||
"create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version",
|
"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",
|
"create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
|
||||||
|
@ -71,5 +72,8 @@
|
||||||
"author": "Electron Community",
|
"author": "Electron Community",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"electron"
|
"electron"
|
||||||
]
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"lint": "^1.1.2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
0
script/check-relative-doc-links.py
Normal file → Executable file
0
script/check-relative-doc-links.py
Normal file → Executable file
Loading…
Add table
Reference in a new issue