Skip to content

Commit 8f186a9

Browse files
committed
files added
0 parents  commit 8f186a9

File tree

244 files changed

+38032
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+38032
-0
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["module:metro-react-native-babel-preset"]
3+
}

.circleci/config.yml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
version: 2
2+
jobs:
3+
build-and-test:
4+
docker:
5+
- image: 'circleci/node:latest'
6+
steps:
7+
- checkout
8+
- restore_cache:
9+
keys:
10+
- yarn-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
11+
- yarn-v1-{{ .Branch }}-
12+
- yarn-v1-
13+
- run:
14+
name: Install
15+
command: yarn install
16+
- run:
17+
name: Lint
18+
command: yarn lint
19+
- run:
20+
name: Build
21+
command: yarn build
22+
- run:
23+
name: Test
24+
command: yarn test --coverage --coverageReporters lcov
25+
- run:
26+
name: Upload Test Coverage
27+
command: bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info
28+
- save_cache:
29+
paths:
30+
- ~/.cache/yarn
31+
key: yarn-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
32+
- persist_to_workspace:
33+
root: .
34+
paths:
35+
- .
36+
release:
37+
docker:
38+
- image: 'circleci/node:latest'
39+
steps:
40+
- attach_workspace:
41+
at: .
42+
- run:
43+
name: Release
44+
command: yarn semantic-release
45+
46+
workflows:
47+
version: 2
48+
build-test-publish:
49+
jobs:
50+
- build-and-test
51+
- release:
52+
filters:
53+
branches:
54+
only:
55+
- master
56+
requires:
57+
- build-and-test

.eslintrc.js

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
module.exports = {
2+
parser: 'babel-eslint',
3+
env: {
4+
es6: true,
5+
},
6+
plugins: ['jest'],
7+
overrides: [
8+
{
9+
files: 'src/**/*.test.js',
10+
env: {
11+
'jest/globals': true,
12+
},
13+
},
14+
],
15+
extends: [
16+
'eslint:recommended',
17+
'plugin:prettier/recommended',
18+
'plugin:react/recommended',
19+
],
20+
parserOptions: {
21+
ecmaFeatures: {
22+
jsx: true,
23+
},
24+
ecmaVersion: 2018,
25+
sourceType: 'module',
26+
},
27+
rules: {
28+
'react/prop-types': 'off',
29+
},
30+
settings: {
31+
react: {
32+
version: 'detect',
33+
},
34+
},
35+
}

.github/ISSUE_TEMPLATE/bug_report.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior if possible, or a link to a reproduction repo:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Dependency versions**
27+
28+
- React Native version:
29+
- React version:
30+
- React Native Fast Image version:
31+
32+
**Note:** if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.

.gitignore

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
project.xcworkspace
24+
25+
# Android/IJ
26+
#
27+
.idea
28+
*.iml
29+
.gradle
30+
local.properties
31+
32+
# node.js
33+
#
34+
node_modules/
35+
npm-debug.log
36+
lib/android/src/main/gen
37+
example/android/app/src/main/gen
38+
39+
# build
40+
react-native-fast-image-*.tgz
41+
42+
# coverage reports
43+
coverage

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "ios/Vendor/SDWebImage"]
2+
path = ios/Vendor/SDWebImage
3+
url = https://github.com/rs/SDWebImage.git

.npmignore

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Docs
2+
docs
3+
4+
# Build
5+
android/build
6+
ios/build
7+
react-native-fast-image-*.tgz
8+
9+
# We need to ignore some things in submodules.
10+
# This probably isn't everything we'd like to ignore but it's good enough.
11+
.git*
12+
*.png
13+
ios/Vendor/SDWebImage/Examples
14+
ios/Vendor/SDWebImage/Tests
15+
ios/Vendor/SDWebImage/Docs
16+
ios/Vendor/SDWebImage/Vendors/FLAnimatedImage/FLAnimatedImageDemo
17+
ios/Vendor/SDWebImage/Vendors/FLAnimatedImage/images
18+
ios/Vendor/SDWebImage/Vendors/libwebp/examples
19+
20+
# Examples
21+
react-native-fast-image-example
22+
react-native-fast-image-example-cocoapods
23+
react-native-fast-image-example-server
24+
25+
# Tests
26+
.circleci
27+
__snapshots__
28+
*.test.js
29+
30+
# Configs
31+
.babelrc
32+
.gitignore
33+
.npmignore
34+
prettier.config.js
35+
yarn.lock
36+
babel.config.js
37+
jest.config.js
38+
39+
# IDE
40+
.idea/

.prettierignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/ios/Vendor/
2+
/react-native-fast-image-example/
3+
/react-native-fast-image-example-cocoapods/
4+
node_modules
5+
coverage

0 commit comments

Comments
 (0)