Skip to content

Commit

Permalink
remove webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjasort committed Nov 8, 2015
1 parent e1970aa commit 65f8558
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 90 deletions.
33 changes: 3 additions & 30 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,15 @@ module.exports = function(config) {
frameworks: ['mocha', 'chai', 'sinon'],

files: [
'src/**/*.jsx',
'test/*.spec.js'
],

preprocessors: {
'test/*.spec.js': ['webpack']
'src/**/*.jsx': ['babel'],
'test/*.spec.js': ['babel']
},

webpack: {
cache: true,
module: {
loaders: [
{ test: /\.(js|jsx)$/, loader: 'babel' }
]
},
resolve: {
extensions: ['', '.js', '.jsx'],
alias: {
'styles': path.join(process.cwd(), './src/styles/'),
'components': path.join(process.cwd(), './src/components/')
}
}

},

webpackServer: {
noInfo: true,
stats: {
colors: true
}
},

// coverageReporter: {
// type : 'html',
// dir : 'coverage/'
// },

reporters: ['progress'], // 'coverage'

port: 9876,
Expand Down
12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"watch": "gulp watch",
"build": "gulp dist",
"test": "karma start",
"prepublish": "npm run build",
"dev": "webpack-dev-server --progress --colors --hot --inline --no-info"
"prepublish": "npm run build"
},
"author": "Cameron J Roe <[email protected]> (http://cameronjroe.com/)",
"license": "MIT",
Expand All @@ -27,7 +26,6 @@
"babelify": "^7.2.0",
"browserify": "^12.0.1",
"chai": "^3.4.0",
"css-loader": "^0.22.0",
"gulp": "^3.9.0",
"gulp-babel": "^6.0.0",
"gulp-concat": "^2.6.0",
Expand All @@ -43,23 +41,19 @@
"isparta": "^3.5.1",
"istanbul-instrumenter-loader": "^0.1.3",
"jshint-stylish": "^2.0.1",
"jsxhint-loader": "^0.2.0",
"karma": "^0.13.15",
"karma-babel-preprocessor": "^6.0.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^0.2.1",
"karma-coverage": "^0.5.3",
"karma-mocha": "^0.2.0",
"karma-sinon": "^1.0.4",
"karma-sourcemap-loader": "^0.3.6",
"karma-webpack": "^1.7.0",
"mocha": "^2.3.3",
"node-bourbon": "^4.2.3",
"node-sass": "^3.4.1",
"sass-loader": "^3.1.1",
"sinon": "^1.17.2",
"style-loader": "^0.13.0",
"through2": "^2.0.0",
"vinyl-source-stream": "^1.1.0",
"webpack": "^1.12.2"
"vinyl-source-stream": "^1.1.0"
}
}
2 changes: 0 additions & 2 deletions test/tests.webpack.js

This file was deleted.

49 changes: 0 additions & 49 deletions webpack.config.js

This file was deleted.

0 comments on commit 65f8558

Please sign in to comment.