From c044212ec8b7396891bf2e75ab77248a1a7750c4 Mon Sep 17 00:00:00 2001 From: Tomek Wiszniewski Date: Thu, 8 Oct 2015 15:47:39 +0200 Subject: [PATCH] Recommend double quotes --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 72df37e..c7e8936 100644 --- a/README.md +++ b/README.md @@ -253,6 +253,7 @@ If you're writing small CommonJS modules, you typically won't need to have any t Many npm scripts depend on Unix-only or bash-only features. If you want to make sure your scripts are platform-independent, keep these in mind: * Only use cross-shell operators: `>`, `>>`, `<`, `|`, `&&` and `||`. They work in POSIX-compliant shells (bash, sh, zsh) and Windows Command Prompt. You can use tools like [concurrently](https://www.npmjs.com/package/concurrently) to run commands sequentially or in parallel. +* Avoid single quotes (`'`). Use escaped double quotes (`\"`) instead. * Instead of platform-specific tools, use node modules with a CLI – for example [`mkdirp`](https://www.npmjs.com/package/mkdirp) instead of `mkdir`, [`cpy`](https://www.npmjs.com/package/cpy) instead of `cp`, [`mve`](https://www.npmjs.com/package/mve) instead of `mv`, or [`rimraf`](https://www.npmjs.com/package/rimraf) instead of `rm` ## UMD builds