Skip to content

Commit

Permalink
Config fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Krister Kari committed Dec 15, 2015
1 parent 32c2658 commit 1307889
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -62,13 +62,13 @@
"url": "https://github.com/kristerkari/placekeeper.git"
},
"scripts": {
"build": "BABEL_ENV=development ./node_modules/.bin/gulp build",
"codeclimate": "cat ./coverage/*/lcov.info | ./node_modules/.bin/codeclimate",
"build": "BABEL_ENV=development gulp build",
"codeclimate": "cat ./coverage/*/lcov.info | codeclimate",
"coveralls": "cat ./coverage/*/lcov.info | COVERALLS_SERVICE_NAME=\"travis-ci\" ./node_modules/.bin/coveralls",
"lint": "./node_modules/.bin/gulp lint",
"sauce": "BABEL_ENV=test ./node_modules/karma/bin/karma start test/config/karma.sauce.conf.js",
"start": "./node_modules/.bin/gulp server",
"tdd": "BABEL_ENV=test ./node_modules/karma/bin/karma start test/config/karma.conf.js --no-single-run --auto-watch",
"test": "BABEL_ENV=test ./node_modules/karma/bin/karma start test/config/karma.conf.js"
"lint": "gulp lint",
"sauce": "BABEL_ENV=test karma start test/config/karma.sauce.conf.js",
"start": "gulp server",
"tdd": "BABEL_ENV=test karma start test/config/karma.conf.js --no-single-run --auto-watch",
"test": "BABEL_ENV=test karma start test/config/karma.conf.js"
}
}
7 changes: 2 additions & 5 deletions test/config/karma.conf.js
Expand Up @@ -9,7 +9,7 @@ module.exports = function(config) {
preprocessors: {
"src/*.js": ["browserify"],
"test/utils/helpers.js": ["browserify"],
"test/unit/*.js": ["browserify"],
"test/unit/*.spec.js": ["browserify"],
"src/**/!(support).js": ["coverage"]
},
coverageReporter: {
Expand All @@ -27,10 +27,7 @@ module.exports = function(config) {
browserify: {
transform: [
[
"babelify",
{
presets: ["es2015"]
}
"babelify"
],
[
istanbul({
Expand Down

0 comments on commit 1307889

Please sign in to comment.