mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Update standard to v14
This commit is contained in:
parent
96b391e598
commit
e88b435edb
@ -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'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user