Fix test command.
This commit is contained in:
parent
22028b0307
commit
5035c2ecbb
|
@ -31,11 +31,11 @@
|
||||||
"url": "git+https://github.com/DylanVann/react-native-fast-image.git"
|
"url": "git+https://github.com/DylanVann/react-native-fast-image.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write --no-semi --single-quote --trailing-comma all ./index.js ./example/*.js ./react-native-fast-image-example/fastImage/*.js ./react-native-fast-image-server/*.js",
|
"format": "prettier --write --no-semi --single-quote --trailing-comma all ./index.js ./react-native-fast-image-example/*.js ./react-native-fast-image-example/fastImage/*.js ./react-native-fast-image-server/*.js",
|
||||||
"prepare": "git submodule update --init --recursive",
|
"prepare": "git submodule update --init --recursive",
|
||||||
"test": "yarn run test:pretty && yarn run test:jest",
|
"test": "yarn run test:pretty && yarn run test:jest",
|
||||||
"test:jest": "jest *.js",
|
"test:jest": "jest *.js",
|
||||||
"test:pretty": "prettier-check --write --no-semi --single-quote --trailing-comma all ./index.js ./example/*.js ./react-native-fast-image-example/fastImage/*.js ./react-native-fast-image-server/*.js"
|
"test:pretty": "prettier-check --write --no-semi --single-quote --trailing-comma all ./index.js ./react-native-fast-image-example/*.js ./react-native-fast-image-example/fastImage/*.js ./react-native-fast-image-server/*.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prop-types": "^15.5.10"
|
"prop-types": "^15.5.10"
|
||||||
|
|
|
@ -25,7 +25,6 @@ const FastImageExample = () => (
|
||||||
<Section>
|
<Section>
|
||||||
<Text style={styles.titleText}>🚩 FastImage</Text>
|
<Text style={styles.titleText}>🚩 FastImage</Text>
|
||||||
<FeatureText text="Tap images to reload examples." />
|
<FeatureText text="Tap images to reload examples." />
|
||||||
<Icon name='ios-information-circle' size={26} color='#000' />
|
|
||||||
</Section>
|
</Section>
|
||||||
<PriorityExample />
|
<PriorityExample />
|
||||||
<GifExample />
|
<GifExample />
|
||||||
|
|
Loading…
Reference in New Issue