Skip to content

Commit a53c985

Browse files
committed
upgrade packages and use rollup for build
1 parent cc59ef8 commit a53c985

File tree

11 files changed

+4026
-1443
lines changed

11 files changed

+4026
-1443
lines changed

.babelrc

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
2-
"presets": [
3-
"flow",
4-
"es2015",
5-
"react",
6-
"stage-0"
7-
],
2+
"presets": ["@babel/preset-flow", "@babel/preset-env", "@babel/preset-react"],
83
"plugins": [
9-
"babel-plugin-transform-flow-strip-types"
4+
"@babel/plugin-transform-flow-strip-types",
5+
"@babel/plugin-proposal-class-properties",
6+
"@babel/plugin-proposal-optional-chaining"
107
]
11-
}
8+
}

.eslintrc

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,24 @@
88
"global-require": 0,
99
"max-len": 0,
1010
"no-underscore-dangle": 0,
11-
"import/first": 0
11+
"import/first": 0,
12+
"indent": 0,
13+
"import/no-named-as-default": 0,
14+
"no-plusplus": 0,
15+
"arrow-parens": 0,
16+
"no-console": 0,
17+
"implicit-arrow-linebreak": 0,
18+
"prefer-destructuring": 0,
19+
"operator-linebreak": 0,
20+
"object-curly-newline": 0,
21+
"function-paren-newline": 0,
22+
"react/destructuring-assignment": 0,
23+
"react/require-default-props": 0
24+
},
25+
"env": {
26+
"browser": true,
27+
"node": true,
28+
"jest": true
1229
},
1330
"parser": "babel-eslint",
1431
"plugins": ["flowtype"]

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"dependencies": {
66
"react": "^16.4.2",
77
"react-dom": "^16.4.2",
8-
"react-flip-numbers": "2.0.0",
8+
"react-flip-numbers": "2.1.0-beta.1",
99
"react-scripts": "1.1.4",
1010
"react-simple-animate": "2.0.0"
1111
},

example/src/App.test.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)