add npm script to lint all javascript blocks in the docs using standard
This commit is contained in:
parent
7c1f48808b
commit
dd9935a9d7
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,8 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"asar": "^0.11.0",
|
"asar": "^0.11.0",
|
||||||
"request": "*",
|
"request": "*",
|
||||||
"standard": "^7.1.2"
|
"standard": "^7.1.2",
|
||||||
|
"standard-markdown": "^1.0.3"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"runas": "^3.0.0"
|
"runas": "^3.0.0"
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
"lint": "npm run lint-js && npm run lint-cpp",
|
"lint": "npm run lint-js && npm run lint-cpp",
|
||||||
"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-docs": "standard-markdown docs",
|
||||||
"preinstall": "node -e 'process.exit(0)'",
|
"preinstall": "node -e 'process.exit(0)'",
|
||||||
"repl": "python ./script/start.py --interactive",
|
"repl": "python ./script/start.py --interactive",
|
||||||
"start": "python ./script/start.py",
|
"start": "python ./script/start.py",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue