edifice-facade
Version:
Create facades to separate modules in your application
1 lines • 3.47 kB
JavaScript
{"filter":false,"title":"Gruntfile.js","tooltip":"/Gruntfile.js","undoManager":{"mark":0,"position":0,"stack":[[{"start":{"row":0,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["module.exports = function(grunt) {",""," // Project configuration."," grunt.initConfig({"," pkg: grunt.file.readJSON('package.json'),"," mochaTest: {"," test: {"," options: {"," reporter: 'spec'"," },"," src: ['test/*.js']"," }"," },"," jshint : {"," core : ['Gruntfile.js'],"," test : ['test/*.js'],"," lib : ['lib/*.js'],"," options : {"," jshintrc : true"," }"," },"," watch : {"," lib : {"," files : ['lib/*.js'],"," tasks : ['jshint:lib', 'test']"," },"," test : {"," files : ['test/*.js'],"," tasks : ['jshint:test', 'test']"," },"," grunt : {"," files : ['Gruntfile.js'],"," tasks : ['jshint:core']"," }"," }"," });",""," grunt.loadNpmTasks('grunt-contrib-jshint');"," grunt.loadNpmTasks('grunt-mocha-test');"," "," grunt.registerTask('test', 'mochaTest');"," grunt.registerTask('lint', 'jshint');",""," grunt.registerTask('default', ['lint', 'test']);",""," grunt.loadNpmTasks('grunt-contrib-watch');","};",""],"id":2},{"start":{"row":0,"column":0},"end":{"row":62,"column":0},"action":"insert","lines":["module.exports = function (grunt) {",""," // Project configuration."," grunt.initConfig({"," pkg : grunt.file.readJSON(\"package.json\"),"," mochaTest : {"," test : {"," options : {"," reporter : \"spec\""," },"," src : [\"test/*.js\"]"," }"," },"," jshint : {"," core : [\"Gruntfile.js\"],"," test : [\"test/*.js\"],"," lib : [\"lib/*.js\"],"," options : {"," jshintrc : true"," }"," },"," jscs : {"," lib : {"," src : \"lib/*.js\","," },"," test : {"," src : \"test/*.js\""," },"," misc : {"," src : [\"Gruntfile.js\"]"," },"," options : {"," config : \".jscsrc\""," }"," },"," watch : {"," lib : {"," files : [\"lib/*.js\"],"," tasks : [\"jshint:lib\", \"jscs:lib\", \"test\"]"," },"," test : {"," files : [\"test/*.js\"],"," tasks : [\"jshint:test\", \"jscs:test\", \"test\"]"," },"," grunt : {"," files : [\"Gruntfile.js\"],"," tasks : [\"jshint:core\", \"jscs:misc\"]"," }"," }"," });",""," grunt.loadNpmTasks(\"grunt-contrib-jshint\");"," grunt.loadNpmTasks(\"grunt-mocha-test\");"," grunt.loadNpmTasks(\"grunt-jscs\");",""," grunt.registerTask(\"test\", \"mochaTest\");"," grunt.registerTask(\"lint\", \"jshint\");",""," grunt.registerTask(\"default\", [\"lint\", \"jscs\", \"test\"]);",""," grunt.loadNpmTasks(\"grunt-contrib-watch\");","};",""]}]]},"ace":{"folds":[],"scrolltop":229,"scrollleft":0,"selection":{"start":{"row":62,"column":0},"end":{"row":62,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":11,"state":"no_regex","mode":"ace/mode/javascript"}},"timestamp":1517915483594,"hash":"03795408b73496c5a4fe9d3ece0799f927b87e97"}