Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

Commit

Permalink
Merge pull request #29 from yusukeshibata/feature/prune_webpack
Browse files Browse the repository at this point in the history
Feature/prune webpack
  • Loading branch information
Yusuke Shibata authored Feb 3, 2018
2 parents 88ff691 + 550bebf commit 3420221
Show file tree
Hide file tree
Showing 63 changed files with 73 additions and 13,500 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ npm-debug.log
# build files
*.tgz
*.log
/lib/index.js
/lib/
7 changes: 4 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
test/
demo/
/test/
/demo/
*.gif
*.tgz
webpack.config.js
.babelrc
/src/
*.md
1 change: 0 additions & 1 deletion lib/index.native.js

This file was deleted.

13 changes: 3 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"description": "react component pull to refresh navigation",
"main": "index.js",
"scripts": {
"start": "cd demo && npm start",
"prepublishOnly": "npm run build",
"build": "webpack",
"build": "babel src --out-dir lib",
"lint:fix": "eslint src --fix"
},
"repository": {
Expand All @@ -31,23 +30,17 @@
"react-native-svg": "^5.1.6"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.2",
"babel-loader": "^7.1.2",
"babel-plugin-transform-function-bind": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"css-loader": "^0.28.7",
"eslint": "^4.11.0",
"eslint-loader": "^1.9.0",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"style-loader": "^0.19.0",
"url-loader": "^0.6.2",
"webpack": "3.8.1",
"webpack-node-externals": "^1.6.0"
"react-dom": "^16.1.1"
},
"dependencies": {
"event-emitter": "^0.3.5",
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export default class PullRefresh extends Component {
return (
<div>
<Container
ref='container'
{...props}
onScroll ={disabled ? undefined : ::this.onScroll}
onMouseDown ={disabled ? undefined : ::this.onDown}
Expand Down
6 changes: 0 additions & 6 deletions test/.babelrc

This file was deleted.

10 changes: 0 additions & 10 deletions test/.babelrc.bak

This file was deleted.

6 changes: 0 additions & 6 deletions test/.buckconfig

This file was deleted.

48 changes: 0 additions & 48 deletions test/.flowconfig

This file was deleted.

1 change: 0 additions & 1 deletion test/.gitattributes

This file was deleted.

54 changes: 0 additions & 54 deletions test/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion test/.watchmanconfig

This file was deleted.

47 changes: 0 additions & 47 deletions test/App.js

This file was deleted.

Loading

0 comments on commit 3420221

Please sign in to comment.