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": {
|
||||
"ignore": [
|
||||
"/out",
|
||||
"/spec",
|
||||
"/vendor"
|
||||
],
|
||||
"env": {
|
||||
"mocha": true
|
||||
},
|
||||
"globals": [
|
||||
"$",
|
||||
"location"
|
||||
]
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"bootstrap": "python ./script/bootstrap.py",
|
||||
"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)'",
|
||||
"repl": "python ./script/start.py --interactive",
|
||||
"start": "python ./script/start.py",
|
||||
|
|
|
@ -18,5 +18,10 @@
|
|||
"optionalDependencies": {
|
||||
"ffi": "2.0.0",
|
||||
"runas": "3.x"
|
||||
},
|
||||
"standard": {
|
||||
"env": {
|
||||
"mocha": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue