mustache-prestatic
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -22,3 +22,3 @@ #!/usr/bin/env node | ||
type: 'boolean' | ||
}).help('help', 'Show help text.') | ||
}) | ||
@@ -28,3 +28,3 @@ .option('version', { | ||
type: 'boolean' | ||
}).version() | ||
}) | ||
@@ -31,0 +31,0 @@ .option('data', { |
{ | ||
"name": "mustache-prestatic", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Compile pages of static HTML based on partials, views and data.", | ||
@@ -21,9 +21,9 @@ "main": "src/index.js", | ||
"lagden-promisify": "^3.0.0", | ||
"mustache": "^2.2.1", | ||
"mustache": "^3.0.1", | ||
"promise-all-props": "^1.0.0", | ||
"yargs": "^12.0.0" | ||
"yargs": "^13.2.1" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^5.0.0", | ||
"tape": "^4.5.1" | ||
"eslint": "^5.14.1", | ||
"tape": "^4.10.1" | ||
}, | ||
@@ -30,0 +30,0 @@ "repository": { |
@@ -13,3 +13,3 @@ # {{ mustache }} prestatic | ||
### CLI | ||
This will take all files in the 'views', 'data' and 'partials' directories and use those together to write HTML files to the 'dist' directory.: | ||
This will take all files in the 'views', 'data' and 'partials' directories and use those together to write HTML files to the 'dist' directory: | ||
```shell | ||
@@ -19,2 +19,7 @@ mustache-prestatic ./views/* --data ./data/* --partials ./partials/* --output dist | ||
For example using the [test input data](/tests/input) files would be: | ||
```shell | ||
mustache-prestatic ./tests/input/views/* --data ./tests/input/data/* --partials ./tests/input/partials/* | ||
``` | ||
### JavaScript | ||
@@ -21,0 +26,0 @@ ```js |
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
10255
7
75
+ Addedansi-regex@4.1.1(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedcliui@5.0.0(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedemoji-regex@7.0.3(transitive)
+ Addedget-caller-file@2.0.5(transitive)
+ Addedmustache@3.2.1(transitive)
+ Addedrequire-main-filename@2.0.0(transitive)
+ Addedstring-width@3.1.0(transitive)
+ Addedstrip-ansi@5.2.0(transitive)
+ Addedwrap-ansi@5.1.0(transitive)
+ Addedyargs@13.3.2(transitive)
+ Addedyargs-parser@13.1.2(transitive)
- Removedansi-regex@2.1.13.0.1(transitive)
- Removedcliui@4.1.0(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedcross-spawn@6.0.6(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedexeca@1.0.0(transitive)
- Removedget-caller-file@1.0.3(transitive)
- Removedget-stream@4.1.0(transitive)
- Removedinvert-kv@2.0.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedlcid@2.0.0(transitive)
- Removedmap-age-cleaner@0.1.3(transitive)
- Removedmem@4.3.0(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removedmustache@2.3.2(transitive)
- Removednice-try@1.0.5(transitive)
- Removednpm-run-path@2.0.2(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedos-locale@3.1.0(transitive)
- Removedp-defer@1.0.0(transitive)
- Removedp-finally@1.0.0(transitive)
- Removedp-is-promise@2.1.0(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedrequire-main-filename@1.0.1(transitive)
- Removedsemver@5.7.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstring-width@1.0.22.1.1(transitive)
- Removedstrip-ansi@3.0.14.0.0(transitive)
- Removedstrip-eof@1.0.0(transitive)
- Removedwhich@1.3.1(transitive)
- Removedwrap-ansi@2.1.0(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyargs@12.0.5(transitive)
- Removedyargs-parser@11.1.1(transitive)
Updatedmustache@^3.0.1
Updatedyargs@^13.2.1