Skip to content

Commit

Permalink
removed webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
pranesh239 committed Jan 7, 2020
1 parent fa61cdf commit 5b3d9bd
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 1,830 deletions.
10 changes: 1 addition & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": "> 0.25%, not dead"
}
],
"@babel/preset-react"
]
"presets": ["@babel/preset-env", "@babel/preset-react"]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
14 changes: 0 additions & 14 deletions dist/useKeyCapture.js

This file was deleted.

17 changes: 7 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
{
"name": "use-key-capture",
"version": "0.0.1-beta.0",
"main": "dist/useKeyCapture.js",
"version": "0.0.1-beta.1",
"main": "dist",
"license": "MIT",
"scripts": {
"webpack": "rimraf dist && webpack"
"build": "rimraf dist && babel src --out-dir dist"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"babel-loader": "^8.0.6",
"rimraf": "^3.0.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
"rimraf": "^3.0.0"
},
"dependencies": {
"react": "^16.12.0",
"react-dom": "^16.12.0"
"peerDependencies": {
"react": "^16.12.0"
},
"browserslist": "> 0.25%, not dead",
"author": "Pranesh T G",
Expand Down
20 changes: 0 additions & 20 deletions webpack.config.js

This file was deleted.

Loading

0 comments on commit 5b3d9bd

Please sign in to comment.