You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add option for all config file extensions
* Update the readme.md file for the configuration file
* Move the require for the yaml file in the utils.js
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ Following the options for the module:
74
74
75
75
### Config file
76
76
77
-
You can create a `.gren.json` file where the task will be ran, where to specify your options.
77
+
You can create a configuration file where the task will be ran, where to specify your options.
78
78
The options in the file would be camelCase *e.g*:
79
79
80
80
```json
@@ -89,7 +89,15 @@ The options in the file would be camelCase *e.g*:
89
89
}
90
90
```
91
91
92
-
### Templates
92
+
The accepted file extensions are the following:
93
+
94
+
-`.grenrc`
95
+
-`.grenrc.json`
96
+
-`.grenrc.yml`
97
+
-`.grenrc.yaml`
98
+
-`.grenrc.js`
99
+
100
+
#### Templates
93
101
94
102
You can configure the output of **gren** using templates. Set your own configuration inside the config file, which will be merged with the defaults, shown below:
0 commit comments