diff --git a/example/index.js b/example/index.js index 0bb7b32..8e0f705 100644 --- a/example/index.js +++ b/example/index.js @@ -1,4 +1,4 @@ -import { AppRegistry } from 'react-native'; -import App from './App'; +import { AppRegistry } from 'react-native' +import App from './App' -AppRegistry.registerComponent('example', () => App); +AppRegistry.registerComponent('example', () => App) diff --git a/package.json b/package.json index fa9fe5e..4a3c686 100644 --- a/package.json +++ b/package.json @@ -30,10 +30,10 @@ "url": "git+https://github.com/DylanVann/react-native-fast-image.git" }, "scripts": { - "format": "prettier --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./server/*.js", + "format": "prettier --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./example/fastImage/*.js ./server/*.js", "test": "yarn run test:pretty && yarn run test:jest", "test:jest": "jest *.js", - "test:pretty": "prettier-check --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./server/*.js" + "test:pretty": "prettier-check --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./example/fastImage/*.js ./server/*.js" }, "dependencies": { "prop-types": "^15.5.10"