restrict mocha scope to /spec; break out link tasks
This commit is contained in:
parent
b5afad9da7
commit
6425ef4261
2 changed files with 10 additions and 8 deletions
13
package.json
13
package.json
|
@ -11,21 +11,18 @@
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
|
"/out",
|
||||||
|
"/spec",
|
||||||
"/vendor"
|
"/vendor"
|
||||||
],
|
|
||||||
"env": {
|
|
||||||
"mocha": true
|
|
||||||
},
|
|
||||||
"globals": [
|
|
||||||
"$",
|
|
||||||
"location"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "python ./script/bootstrap.py",
|
"bootstrap": "python ./script/bootstrap.py",
|
||||||
"build": "python ./script/build.py -c D",
|
"build": "python ./script/build.py -c D",
|
||||||
"lint": "standard && python ./script/cpplint.py",
|
"lint": "npm run lint-js && npm run lint-cpp",
|
||||||
|
"lint-js": "standard && standard spec",
|
||||||
|
"lint-cpp": "python ./script/cpplint.py",
|
||||||
"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",
|
||||||
|
|
|
@ -18,5 +18,10 @@
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"ffi": "2.0.0",
|
"ffi": "2.0.0",
|
||||||
"runas": "3.x"
|
"runas": "3.x"
|
||||||
|
},
|
||||||
|
"standard": {
|
||||||
|
"env": {
|
||||||
|
"mocha": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue