Merge pull request #143 from Dahlgren/feature/standard

Update standard to v14
This commit is contained in:
Björn Dahlgren 2019-09-22 22:00:53 +02:00 committed by GitHub
commit be8d3f6cdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

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

View File

@ -7,13 +7,16 @@
"scripts": {
"install-windows-service": "winser -i -a -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",
"test": "node node_modules/mocha/bin/mocha --recursive"
},
"standard": {
"env": [
"mocha"
],
"ignore": [
"public/"
]
},
"dependencies": {
@ -54,7 +57,7 @@
"devDependencies": {
"mocha": "~3.2.0",
"should": "~13.0.1",
"standard": "^12.0.1",
"standard": "^14.3.1",
"timekeeper": "0.0.5"
}
}