From d62470a0afa32e3b6cbefa305be33c77d38fb620 Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Mon, 16 May 2016 23:01:26 +0900 Subject: [PATCH] Prettify JSON files --- gulpfile.js | 2 +- package.json | 2 +- test/modules/environment.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 5dd9ad35..c789e963 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -15,7 +15,7 @@ var electron = require('electron-connect').server.create({ }); var packager = require('electron-packager'); -var sources = ['**/*.js', '**/*.css', '**/*.html', '!**/node_modules/**', '!dist/**', '!release/**']; +var sources = ['**/*.js', '**/*.json', '**/*.css', '**/*.html', '!**/node_modules/**', '!dist/**', '!release/**', '!**/test_config.json']; gulp.task('prettify', ['prettify:sources', 'prettify:jsx']); gulp.task('prettify:verify', ['prettify:sources:verify', 'prettify:jsx:verify']) diff --git a/package.json b/package.json index e453f340..640586bf 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "synopsis": "Mattermost Desktop" } }, - "directories":{ + "directories": { "buildResources": "resources", "app": "dist", "output": "release" diff --git a/test/modules/environment.js b/test/modules/environment.js index 5efd8574..db6417de 100644 --- a/test/modules/environment.js +++ b/test/modules/environment.js @@ -13,7 +13,7 @@ const electron_binary_path = (function() { return path.join(source_root_dir, 'node_modules/electron-prebuilt/dist/electron' + exe_extension); } })(); -const config_file_path = path.join(source_root_dir, 'test_config.json'); +const config_file_path = path.join(source_root_dir, 'test/test_config.json'); const mattermost_url = 'http://example.com/team'; var options = {