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

Commit

Permalink
build with webpack -> babel
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuke Shibata committed Feb 3, 2018
1 parent 1b45661 commit d3a6e40
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 1,694 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
58 changes: 0 additions & 58 deletions webpack.config.js

This file was deleted.

Loading

0 comments on commit d3a6e40

Please sign in to comment.