From 35322d179125455eb9ed0868d8113613d1cd90c0 Mon Sep 17 00:00:00 2001 From: Sophie Kirschner Date: Fri, 9 Oct 2020 10:48:23 +0300 Subject: [PATCH] Modify build command so that mustache.js can be built on Windows Windows shell does not recognize 'single quotes' the same way as bash. The 'single quotes' in the build command have been changed to "double quotes" instead. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 99b95a2..e7fee42 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "url": "https://raw.github.com/janl/mustache.js/{version}/mustache.js" }, "scripts": { - "build": "rollup mustache.mjs --file mustache.js --format umd --name Mustache --banner '// This file has been generated from mustache.mjs' && uglifyjs mustache.js > mustache.min.js", + "build": "rollup mustache.mjs --file mustache.js --format umd --name Mustache --banner \"// This file has been generated from mustache.mjs\" && uglifyjs mustache.js > mustache.min.js", "test": "npm run test-lint && npm run test-unit", "test-lint": "eslint mustache.mjs bin/mustache test/**/*.js", "test-unit": "mocha --reporter spec test/*-test.js",