Update prettier files.

This commit is contained in:
Dylan Vann 2017-11-29 22:32:48 -05:00
parent a6b1e48696
commit 40b4c88585
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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"