Skip to content

Commit 2a98f86

Browse files
author
Gertjan Reynaert
committed
fix(Build): Eliminate webpack, create babel only build
Eliminate unnecessary use of webpack, just transpile the code with babel
1 parent 288cea4 commit 2a98f86

File tree

2 files changed

+2
-38
lines changed

2 files changed

+2
-38
lines changed

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"coverage": "./node_modules/.bin/babel-node ./node_modules/.bin/babel-istanbul cover node_modules/mocha/bin/_mocha",
1010
"report:coverage": "cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js",
1111
"prebuild": "rm -rf dist && mkdir dist",
12-
"build": "NODE_ENV=development webpack -p --config webpack.config.js",
13-
"manage:translations": "babel-node ./src/locales/translationManager.js",
12+
"build": "babel src --out-dir dist",
1413
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
1514
},
1615
"repository": {
@@ -42,7 +41,6 @@
4241
"babel-core": "^6.4.0",
4342
"babel-eslint": "^5.0.0-beta6",
4443
"babel-istanbul": "^0.6.0",
45-
"babel-loader": "^6.2.1",
4644
"babel-preset-es2015": "^6.3.13",
4745
"babel-preset-react": "^6.3.13",
4846
"babel-preset-stage-2": "^6.3.13",
@@ -53,13 +51,10 @@
5351
"eslint": "^1.10.3",
5452
"eslint-config-airbnb": "^2.1.1",
5553
"eslint-plugin-react": "^3.15.0",
56-
"ghooks": "^1.0.3",
5754
"mocha": "^2.3.4",
58-
"semantic-release": "^4.3.5",
59-
"webpack": "^1.12.11"
55+
"semantic-release": "^4.3.5"
6056
},
6157
"config": {
62-
"ghooks": {},
6358
"commitizen": {
6459
"path": "./node_modules/cz-conventional-changelog"
6560
}

webpack.config.js

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

0 commit comments

Comments
 (0)