Skip to content

Commit 08f61bd

Browse files
committed
Initial commit
0 parents  commit 08f61bd

28 files changed

+5897
-0
lines changed

.babelrc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/env",
5+
{
6+
"modules": false
7+
}
8+
],
9+
"@babel/react"
10+
],
11+
"plugins": ["@babel/plugin-proposal-class-properties"]
12+
}

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parser": "babel-eslint",
3+
"extends": ["react-app", "prettier"],
4+
"env": {
5+
"es6": true
6+
},
7+
"parserOptions": {
8+
"sourceType": "module"
9+
}
10+
}

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
# See https://help.github.com/ignore-files/ for more about ignoring files.
3+
4+
# dependencies
5+
node_modules
6+
7+
# builds
8+
build
9+
dist
10+
artifacts
11+
.rpt2_cache
12+
13+
# misc
14+
.DS_Store
15+
.env
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
.next
21+
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
.history

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v10.5.0

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: node_js
2+
node_js:
3+
- 9
4+
- 8

README.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# React Query
2+
3+
<a href="https://travis-ci.org/react-query/react-query" target="\_parent">
4+
<img alt="" src="https://travis-ci.org/react-query/react-query.svg?branch=master" />
5+
</a>
6+
<a href="https://npmjs.com/package/react-query" target="\_parent">
7+
<img alt="" src="https://img.shields.io/npm/dm/react-query.svg" />
8+
</a>
9+
<a href="https://react-chat-signup.herokuapp.com/" target="\_parent">
10+
<img alt="" src="https://img.shields.io/badge/slack-react--chat-blue.svg" />
11+
</a>
12+
<a href="https://github.com/react-query/react-query" target="\_parent">
13+
<img alt="" src="https://img.shields.io/github/stars/react-query/react-query.svg?style=social&label=Star" />
14+
</a>
15+
<a href="https://twitter.com/tannerlinsley" target="\_parent">
16+
<img alt="" src="https://img.shields.io/twitter/follow/tannerlinsley.svg?style=social&label=Follow" />
17+
</a>
18+
19+
Simple, immersive and interactive query for React
20+
21+
## Features
22+
23+
- Line, Bar, Bubble, Area.
24+
25+
## [Demos](https://react-query.js.org)
26+
27+
## Intro
28+
29+
## Table of Contents
30+
31+
- [Installation](#installation)
32+
33+
## Installation
34+
35+
```bash
36+
$ yarn add react-query
37+
# or
38+
$ npm i react-query --save
39+
```

example/.babelrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["react-app"],
3+
"plugins": ["styled-components"]
4+
}

example/.eslintrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": ["react-app", "prettier"],
3+
"rules": {
4+
// "eqeqeq": 0,
5+
// "jsx-a11y/anchor-is-valid": 0
6+
}
7+
}

example/.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

example/.prettierrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

example/.rescriptsrc.js

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
const path = require('path')
2+
const resolveFrom = require('resolve-from')
3+
4+
const fixLinkedDependencies = config => {
5+
config.resolve = {
6+
...config.resolve,
7+
alias: {
8+
...config.resolve.alias,
9+
react$: resolveFrom(path.resolve('node_modules'), 'react'),
10+
'react-dom$': resolveFrom(path.resolve('node_modules'), 'react-dom'),
11+
},
12+
}
13+
return config
14+
}
15+
16+
const includeSrcDirectory = config => {
17+
config.resolve = {
18+
...config.resolve,
19+
modules: [path.resolve('src'), ...config.resolve.modules],
20+
}
21+
return config
22+
}
23+
24+
module.exports = [
25+
['use-babel-config', '.babelrc'],
26+
['use-eslint-config', '.eslintrc'],
27+
fixLinkedDependencies,
28+
// includeSrcDirectory,
29+
]

0 commit comments

Comments
 (0)