Skip to content

Commit daa1d87

Browse files
authored
Merge pull request #2 from teodosii/develop
Merged develop branch to master
2 parents 2d06dff + e16d28f commit daa1d87

Some content is hidden

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

59 files changed

+17828
-1
lines changed

.babelrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"presets": [
3+
"@babel/preset-env",
4+
"@babel/preset-react"
5+
],
6+
"plugins": [
7+
"transform-class-properties",
8+
[
9+
"module-resolver",
10+
{
11+
"root": ["./"],
12+
"alias": {
13+
"src": "./src",
14+
"site": "./site"
15+
}
16+
}
17+
]
18+
]
19+
}

.eslintrc.js

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
const path = require("path");
2+
3+
module.exports = {
4+
"parser": "babel-eslint",
5+
"parserOptions": {
6+
"ecmaVersion": 6,
7+
"sourceType": "module"
8+
},
9+
"globals": {
10+
"process": true
11+
},
12+
"settings": {
13+
"react": {
14+
version: "16.4.2"
15+
},
16+
"import/resolver": {
17+
alias: {
18+
map: [
19+
["src", path.resolve(__dirname, "src")],
20+
["site", path.resolve(__dirname, "site")]
21+
],
22+
extensions: [".js", ".css", ".scss"]
23+
}
24+
}
25+
},
26+
"extends": [
27+
"eslint:recommended",
28+
"plugin:react/recommended"
29+
],
30+
"env": {
31+
"es6": true,
32+
"browser": true,
33+
"jest": true
34+
},
35+
"plugins": [
36+
"react"
37+
],
38+
"rules": {
39+
"quotes": "off",
40+
"linebreak-style": "off",
41+
"comma-dangle": "off",
42+
"react/prop-types": "off",
43+
"react/no-find-dom-node": "off",
44+
"react/jsx-uses-vars": "error",
45+
"no-constant-condition": "off",
46+
"no-console": ["error", {
47+
allow: ["warn", "error", "trace", "log"]
48+
}]
49+
}
50+
}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
coverage/
3+
dist/
4+
.DS_Store

.prettierrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
printWidth: 100,
3+
trailingComma: 'none',
4+
useTabs: false,
5+
tabWidth: 2,
6+
semi: true,
7+
singleQuote: true,
8+
quoteProps: 'consistent',
9+
jsxBracketSameLine: false
10+
};

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
node_js: 11.1.0
3+
branches:
4+
only:
5+
- master
6+
install:
7+
- npm install
8+
script:
9+
- npm run build

README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
11
# react-tweenful
2-
Animation solution for React
2+
3+
Looking for an amazing React library for animating stuff? Look no more, we've got you covered!
4+
5+
## Demo
6+
7+
https://teodosii.github.io/react-tweenful/
8+
9+
## Features
10+
11+
* Loop support (infinite or up to a specific number)
12+
* Wide variety of easings (bezier, predefined and custom easing)
13+
* Delayed animations (before and after)
14+
* Events support
15+
* Negative delay support to mimic CSS animations
16+
* Percent based animations to mimic CSS animations (e.g. `0%`, `50%`, `100%`)
17+
* `Tweenful` component for animating DOM nodes
18+
* `SVG` component to animate SVG nodes
19+
* `Observer` component for mount/unmount animations
20+
* `ObserverGroup` component to handle child transition (list removal/insertion, page transition etc)
21+
22+
## Examples
23+
24+
## Getting started
25+
26+
```
27+
npm install react-tweenful
28+
```
29+
30+
## License
31+
32+
MIT

gif/bouncing-ball.gif

676 KB
Loading

gif/gradients.gif

1.26 MB
Loading

gif/notifications.gif

434 KB
Loading

gif/observer.gif

41.5 KB
Loading

0 commit comments

Comments
 (0)