grunt-processhtml
Advanced tools
Comparing version 0.3.3 to 0.3.4
{ | ||
"name": "grunt-processhtml", | ||
"description": "Process html files at build time to modify them depending on the release environment", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"homepage": "https://github.com/dciccale/grunt-processhtml", | ||
@@ -32,3 +32,3 @@ "author": { | ||
"dependencies": { | ||
"htmlprocessor": "~0.1.0" | ||
"htmlprocessor": "0.1.6" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
@@ -5,2 +5,6 @@ # grunt-processhtml [![Build Status](https://travis-ci.org/dciccale/grunt-processhtml.png?branch=master)](https://travis-ci.org/dciccale/grunt-processhtml) [![NPM version](https://badge.fury.io/js/grunt-processhtml.png)](http://badge.fury.io/js/grunt-processhtml) | ||
### Looking for the stand-alone version? | ||
Use [node-htmlprocessor](https://github.com/dciccale/node-htmlprocessor) | ||
## Getting Started | ||
@@ -212,3 +216,3 @@ This plugin requires Grunt `~0.4.1` | ||
If you do wan't to process the whole file as a template, it will be compiled after compiling the inside template blocks | ||
If you do want to process the whole file as a template, it will be compiled after compiling the inside template blocks | ||
if any. | ||
@@ -233,3 +237,3 @@ | ||
Define the `templateSettings` option with lodash (templateSettings)[http://lodash.com/docs#templateSettings] options to customize the | ||
Define the `templateSettings` option with lodash [templateSettings](http://lodash.com/docs#templateSettings) options to customize the | ||
template syntax. | ||
@@ -434,4 +438,3 @@ | ||
templateSettings: { | ||
opener: '{{', | ||
closer: '}}' | ||
interpolate: /{{([\s\S]+?)}}/g // mustache | ||
}, | ||
@@ -486,2 +489,3 @@ data: { | ||
The `custom.html` to be processed: | ||
```html | ||
@@ -496,3 +500,3 @@ <!doctype html> | ||
<!-- build:template | ||
{{= message }} | ||
{{ message }} | ||
/build --> | ||
@@ -499,0 +503,0 @@ </body> |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17071
520
0
+ Addedhtmlprocessor@0.1.6(transitive)
- Removedhtmlprocessor@0.1.10(transitive)
Updatedhtmlprocessor@0.1.6