Repository: MoOx/phenomic (js)

Issue:
Installing first time via docs instructions, `yarn install` fails
```
awilmer@olm-awilmer torontojs.com (phenomic)*$ ./node_modules/.bin/phenomic setup
ℹ Note: All values can be adjusted later.
? Dashed name of your project (eg: my-project) torontojs
? Website url (eg: http://abc.xyz/) http://torontojs.com
? Repository url (eg: https://github.com/MoOx/phenomic.git, optional)

? Twitter nickname (eg: MoOx, optional)
? Do you want a CNAME file (eg: for GitHub Pages)? No
ℹ `package.json` generated
ℹ Base theme installed
✔ Project ready. Only one `npm install` and you are good to go!
awilmer@olm-awilmer torontojs.com (phenomic)*$ yarn install
yarn install v0.17.6
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
[2/2] ⠠ phenomic
[-/2] ⠠ waiting...
[-/2] ⠠ waiting...
[-/2] ⠠ waiting...
error /Users/awilmer/OpenSource/torontojs.com/node_modules/phenomic: Command failed.
Exit code: 1
Command: sh
Arguments: -c node npm/postinstall.js
Directory: /Users/awilmer/OpenSource/torontojs.com/node_modules/phenomic
Output:
/Users/awilmer/OpenSource/torontojs.com/node_modules/phenomic/npm/postinstall.js:64
        throw new Error(
        ^

Error: Cannot rename .npmignore to .gitignore in phenomic-theme-base
    at /Users/awilmer/OpenSource/torontojs.com/node_modules/phenomic/npm/postinstall.js:64:15
    at /Users/awilmer/OpenSource/torontojs.com/node_modules/fs-extra/lib/move/index.js:73:11
    at FSReqWrap.oncomplete (fs.js:123:15)
```

Pull request description:
Add postinstall fix for yarn
Fixes #911. 

Patch:
diff --git a/npm/postinstall.js b/npm/postinstall.js
index 59573b21..8a4c741d 100644
--- a/npm/postinstall.js
+++ b/npm/postinstall.js
@@ -124,7 +124,7 @@ stat(join(phenomicThemeBaseDir, ".npmignore"), function(err) {
     join(phenomicThemeBaseDir, ".npmignore"),
     join(phenomicThemeBaseDir, ".gitignore"),
     function(err) {
-      if (err) {
+      if (err && err.code !== "EEXIST") {
         throw new Error(
           "Cannot rename .npmignore to .gitignore in phenomic-theme-base"
         )
diff --git a/src/components/Html/index.js b/src/components/Html/index.js
index 160ff14c..d3d9bf5a 100644
--- a/src/components/Html/index.js
+++ b/src/components/Html/index.js
@@ -68,7 +68,7 @@ const Html = (props: Props) => {
         script={ [
           { "innerHTML": `window._aphrodite = ${
             JSON.stringify(aproditeResult.css.renderedClassNames)
-          });` },
+          };` },
         ] }
       />
     )


Test patch:
diff --git a/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap b/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap
index 003fc67c..e38ba7c1 100644
--- a/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap
+++ b/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap
@@ -26,7 +26,7 @@ exports[`test should render Html component with aphrodite styles when possible 1
     <script
       dangerouslySetInnerHTML={
         Object {
-          "__html": "window._aphrodite = [\"stuff\"]);",
+          "__html": "window._aphrodite = [\"stuff\"];",
         }
       }
       data-react-helmet={true} />