Permalink
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 README.md
View
@@ -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

0 comments on commit c044212

Please sign in to comment.