Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Upgrade prettier version and re-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lhorie authored and fusion-bot[bot] committed Jan 30, 2018
1 parent 676eb6f commit a14960a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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"
},
Expand All @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ function getChunkScripts(ctx) {
return `<script defer${crossOrigin} src="${url}"></script>`;
});
const preloaded = getUrls(ctx, ctx.preloadChunks).map(({id, url}) => {
return `<script defer${crossOrigin} src="${url}" data-webpack-preload="${
id
}"></script>`;
return `<script defer${crossOrigin} src="${url}" data-webpack-preload="${id}"></script>`;
});
return [...sync, ...preloaded].join('');
}
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a14960a

Please sign in to comment.