Skip to content

Commit

Permalink
Remove console API calls using babel
Browse files Browse the repository at this point in the history
  • Loading branch information
kuy committed Dec 31, 2016
1 parent 7eba6d1 commit d43bb7b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"env": {
"production": {
"plugins": [
"babel-plugin-unassert"
"babel-plugin-unassert",
"babel-plugin-transform-remove-console"
]
}
}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
*.log
build
lib
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.babelrc
src
build
examples
flow-typed
20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
{
"name": "redux-tower",
"version": "0.0.1",
"description": "Saga powered routing engine for Redux app.",
"homepage": "https://github.com/kuy/redux-tower",
"authors": [
"Yuki Kodama <endflow.net@gmail.com>"
],
"keywords": [
"redux",
"react",
"router",
"routing",
"redux-saga",
"saga"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/kuy/redux-tower.git"
},
"main": "./lib/index.js",
"scripts": {
"start": "./node_modules/.bin/webpack-dev-server --progress --content-base examples/",
"build": "NODE_ENV=production ./node_modules/.bin/webpack",
"build": "NODE_ENV=production ./node_modules/.bin/babel src --out-dir lib --ignore __tests__",
"build:examples": "NODE_ENV=production ./node_modules/.bin/webpack",
"test": "ava",
"flow": "./node_modules/.bin/flow"
"flow": "./node_modules/.bin/flow",
"clean": "./node_modules/.bin/rimraf lib",
"prepublish": "npm run clean && npm run build"
},
"dependencies": {
"history": "^4.5.0",
Expand All @@ -26,6 +39,7 @@
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-plugin-transform-remove-console": "^6.8.0",
"babel-plugin-unassert": "^2.1.2",
"babel-polyfill": "^6.20.0",
"babel-preset-es2015": "^6.18.0",
Expand All @@ -45,7 +59,7 @@
"redux-saga": "^0.14.0",
"rimraf": "^2.5.4",
"semantic-ui-css": "^2.2.4",
"semantic-ui-react": "^0.63.2",
"semantic-ui-react": "^0.63.4",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "^2.1.0-beta.27",
Expand Down

0 comments on commit d43bb7b

Please sign in to comment.