Browse files

Recommend double quotes

  • Loading branch information...
architectcodes committed Oct 8, 2015
1 parent b7922e1 commit c044212ec8b7396891bf2e75ab77248a1a7750c4
Showing with 1 addition and 0 deletions.
  1. +1 −0
@@ -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]( 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`]( instead of `mkdir`, [`cpy`]( instead of `cp`, [`mve`]( instead of `mv`, or [`rimraf`]( instead of `rm`
## UMD builds

0 comments on commit c044212

Please sign in to comment.