Update standard to v14

This commit is contained in:
Björn Dahlgren 2019-09-22 21:53:16 +02:00
parent 96b391e598
commit e88b435edb
2 changed files with 6 additions and 3 deletions

View File

@ -169,7 +169,7 @@ Server.prototype.start = function () {
var logStream = null var logStream = null
if (this.config.type === 'linux') { if (this.config.type === 'linux') {
logStream = fs.createWriteStream(this.logs.generateLogFilePath(), { logStream = fs.createWriteStream(this.logs.generateLogFilePath(), {
'flags': 'a' flags: 'a'
}) })
} }

View File

@ -7,13 +7,16 @@
"scripts": { "scripts": {
"install-windows-service": "winser -i -a -c", "install-windows-service": "winser -i -a -c",
"uninstall-windows-service": "winser -r -x -c", "uninstall-windows-service": "winser -r -x -c",
"lint": "standard --verbose *.js lib/**/*.js routes/**/*.js test/**/*.js", "lint": "standard --verbose",
"start": "node app.js", "start": "node app.js",
"test": "node node_modules/mocha/bin/mocha --recursive" "test": "node node_modules/mocha/bin/mocha --recursive"
}, },
"standard": { "standard": {
"env": [ "env": [
"mocha" "mocha"
],
"ignore": [
"public/"
] ]
}, },
"dependencies": { "dependencies": {
@ -54,7 +57,7 @@
"devDependencies": { "devDependencies": {
"mocha": "~3.2.0", "mocha": "~3.2.0",
"should": "~13.0.1", "should": "~13.0.1",
"standard": "^12.0.1", "standard": "^14.3.1",
"timekeeper": "0.0.5" "timekeeper": "0.0.5"
} }
} }