grunt-global-config
Advanced tools
Comparing version 0.0.1 to 0.1.0
{ | ||
"name": "grunt-global-config", | ||
"description": "Create a global config object from json config", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"author": "vanetix <matmcfarland@gmail.com>", | ||
@@ -6,0 +6,0 @@ "main": "Gruntfile.js", |
@@ -37,4 +37,6 @@ # grunt-global-config [![Build Status](https://travis-ci.org/vanetix/grunt-global-config.png?branch=master)](https://travis-ci.org/vanetix/grunt-global-config) | ||
``` | ||
Note: You can also use templates in your config.json, i.e. `"version": "<%= pkg.version %>`. | ||
## Release History | ||
- 0.1.0 - Ability to use grunt templates. Thanks [ataube](http://www.github.com/ataube)! | ||
- 0.0.1 - Initial release | ||
@@ -41,0 +43,0 @@ |
@@ -38,3 +38,4 @@ /* | ||
.forEach(function(p) { | ||
var j = grunt.file.readJSON(p); | ||
var f = grunt.file.read(p); | ||
var j = JSON.parse(grunt.config.process(f)); | ||
@@ -41,0 +42,0 @@ c += opts.namespace + ' = ' + JSON.stringify(j) + ';' + grunt.util.linefeed; |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
load-grunt-config |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5167
39
49
1