Skip to content

Commit

Permalink
drop browserify
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed Apr 22, 2018
1 parent 22dbdb0 commit 8854c54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
15 changes: 1 addition & 14 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,27 +77,14 @@ module.exports = function(config) {
config.set(withBrowserStack({
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['browserify', 'mocha'],
frameworks: ['mocha'],

// list of files / patterns to load in the browser
files: [
'lib/**/*.js',
'test/**/*.js',
],

// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
'lib/**/*.js': ['browserify'],
'test/**/*.js': ['browserify'],
},
browserify: {
debug: true,
transform: [
['babelify', { global: true, presets: ['env'] }]
]
},

// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
Expand Down
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,11 @@
"safe-stable-stringify": "^1.0.1"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babelify": "^8.0.0",
"browserify": "^16.1.1",
"chai": "^4.1.2",
"chai-json-schema": "^1.5.0",
"coveralls": "^3.0.0",
"eslint": "^4.19.0",
"karma": "^2.0.0",
"karma-browserify": "^5.2.0",
"karma-browserstack-launcher": "^1.3.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
Expand Down

0 comments on commit 8854c54

Please sign in to comment.