diff --git a/package.json b/package.json index 0dc97d79..565ea0f2 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,11 @@ { "name": "fusion-core", - "description": "A generic entry point class for FusionJS applications that is used by the FusionJS runtime.", + "description": + "A generic entry point class for FusionJS applications that is used by the FusionJS runtime.", "version": "0.2.8", "license": "MIT", "repository": "fusionjs/fusion-core", - "files": [ - "dist", - "src" - ], + "files": ["dist", "src"], "main": "./dist/index.js", "module": "./dist/index.es.js", "browser": { @@ -34,7 +32,7 @@ "eslint-plugin-react": "7.6.1", "flow-bin": "0.64.0", "nyc": "11.4.1", - "prettier": "1.8.2", + "prettier": "1.10.2", "tape-cup": "4.7.1", "unitest": "2.1.1" }, @@ -43,7 +41,8 @@ "lint": "eslint . --ignore-path .gitignore", "transpile": "npm run clean && cup build", "build-test": "rm -rf dist-tests && cup build-tests", - "just-test": "unitest --browser=dist-tests/browser.js --node=dist-tests/node.js", + "just-test": + "unitest --browser=dist-tests/browser.js --node=dist-tests/node.js", "test": "npm run build-test && npm run just-test", "cover": "npm run build-test && npm run just-cover", "just-cover": "nyc --reporter=html npm run just-test", diff --git a/src/server.js b/src/server.js index cbd54548..55dbac6b 100644 --- a/src/server.js +++ b/src/server.js @@ -156,9 +156,7 @@ function getChunkScripts(ctx) { return ``; }); const preloaded = getUrls(ctx, ctx.preloadChunks).map(({id, url}) => { - return ``; + return ``; }); return [...sync, ...preloaded].join(''); } diff --git a/yarn.lock b/yarn.lock index a94c3b6d..4b807d1f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3633,9 +3633,9 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" -prettier@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.8.2.tgz#bff83e7fd573933c607875e5ba3abbdffb96aeb8" +prettier@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93" private@^0.1.6: version "0.1.8"