Skip to content

Commit 57d801d

Browse files
committed
Migrates to rollup and yarn, and fixes a test.
1 parent e767d99 commit 57d801d

23 files changed

+5426
-10221
lines changed

.babelrc

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
11
{
2-
"presets": [
3-
["env", { "targets": { "node": true } }],
4-
"stage-3",
5-
"react"
6-
],
7-
"plugins": [
8-
"transform-class-properties"
9-
],
10-
"env": {
11-
"commonjs": {
12-
"presets": [
13-
"latest",
14-
"stage-3",
15-
"react"
16-
],
17-
"plugins": [
18-
"transform-class-properties"
19-
]
20-
},
21-
"umd": {
22-
"presets": [
23-
["latest", { "es2015": { "modules": false } }],
24-
"stage-3",
25-
"react"
26-
],
27-
"plugins": [
28-
"transform-class-properties"
29-
]
30-
}
31-
}
2+
"presets": [["env", { "targets": { "node": true } }], "stage-3", "react"]
323
}

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ npm-debug.log
1111
# Jest
1212
coverage
1313

14-
# Flow
15-
flow-coverage
16-
flow-typed
14+
# Build output
15+
dist
16+
17+
# IDEs
18+
.vscode

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
sudo: false
22
language: node_js
33
cache:
4-
npm: true
4+
yarn: true
55
directories:
66
- node_modules
77
node_js:
88
- '8'
99
script:
10-
# Unfortunately flow falls over when a dep exists in peer deps and others. :(
11-
# @see https://github.com/flowtype/flow-typed/issues/528
12-
#- yarn run flow:defs
13-
- npm run check
10+
- npm run precommit
1411
after_success:
1512
# Deploy code coverage report to codecov.io
1613
- npm run test:coverage:deploy

commonjs/AsyncComponentProvider.js

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

0 commit comments

Comments
 (0)