Skip to content

Commit

Permalink
Modify build command so that mustache.js can be built on Windows
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pineapplemachine authored and phillipj committed Oct 22, 2020
1 parent 4b7908f commit eb523bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit eb523bd

Please sign in to comment.