mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
get the logging locally to work with bunyan
This commit is contained in:
parent
7c2e4b00ed
commit
33e654accf
2 changed files with 10 additions and 2 deletions
|
@ -52,7 +52,10 @@ module.exports = (grunt) ->
|
|||
options:
|
||||
ext:"*.coffee"
|
||||
|
||||
|
||||
execute:
|
||||
app:
|
||||
src: "app.js"
|
||||
|
||||
concurrent:
|
||||
dev:
|
||||
tasks: ['nodemon', 'watch']
|
||||
|
@ -79,13 +82,15 @@ module.exports = (grunt) ->
|
|||
grunt.loadNpmTasks 'grunt-concurrent'
|
||||
grunt.loadNpmTasks 'grunt-mocha-test'
|
||||
grunt.loadNpmTasks 'grunt-forever'
|
||||
grunt.loadNpmTasks 'grunt-bunyan'
|
||||
grunt.loadNpmTasks 'grunt-execute'
|
||||
|
||||
grunt.registerTask "test:unit", ["coffee", "mochaTest:unit"]
|
||||
grunt.registerTask "test:acceptence", ["coffee", "mochaTest:acceptence"]
|
||||
grunt.registerTask "test:acceptance", ["test:acceptence"]
|
||||
|
||||
grunt.registerTask "ci", "test:unit"
|
||||
grunt.registerTask 'default', ['coffee', 'concurrent']
|
||||
grunt.registerTask 'default', ['coffee', 'bunyan','execute']
|
||||
|
||||
grunt.registerTask "compile", "coffee"
|
||||
grunt.registerTask "install", "compile"
|
||||
|
|
|
@ -8,8 +8,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"async": "~0.2.10",
|
||||
"bunyan": "^1.3.5",
|
||||
"coffee-script": "~1.7.1",
|
||||
"express": "~3.4.8",
|
||||
"grunt-bunyan": "^0.5.0",
|
||||
"grunt-execute": "^0.2.2",
|
||||
"grunt-mocha-test": "~0.8.2",
|
||||
"heapdump": "^0.3.2",
|
||||
"knox": "~0.9.1",
|
||||
|
|
Loading…
Reference in a new issue