-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format JSON file contents to allow for easier editing (#525)
* Add formatting to JSON.stringify when running sync util * Adjust unit tests based on formatting of JSON file contents * Add prepare script for building on install * Add ConfigOptions to Config class to allow formatting to be set * Update factory to accept options to pass to Config * Update utils.sync to accept options for formatting file on write * Update unit tests to reflect new config options changes * Update README with new ConfigOptions changes * Add JSDoc comments to ConfigOptions and DEFAULT_CONFIG * Split ConfigOption into a separate PrettyJSONConfig type * Change util.sync to only send in prettyJson config * Removing redundant options? check as options cannot be undefined (it has a default)
- Loading branch information
Showing
7 changed files
with
168 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters