Skip to content

Commit

Permalink
fix build/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Oct 15, 2015
1 parent c9336a0 commit 3f55931
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],

"extra": {
"externalHeleprsPlugin": {
"externalHelperPlugin": {
"path": "utils/babelHelpers",
"base": "./src"
}
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function (config) {

logLevel: config.LOG_INFO,

browsers: ['Chrome'], //['PhantomJS'],
browsers: ['jsdom'], //['PhantomJS'],

preprocessors: {
'tests-webpack.js': ['webpack', 'sourcemap']
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Dead simple Object schema validation",
"main": "lib/index.js",
"scripts": {
"test": "karma start --single-run",
"test": "npm run build && karma start --single-run",
"clean": "rimaf ./lib/*",
"build": "babel src --out-dir lib",
"release": "release"
Expand All @@ -27,6 +27,7 @@
"chai-as-promised": "^4.1.1",
"karma": "^0.12.2",
"karma-chrome-launcher": "^0.2.0",
"karma-jsdom-launcher": "^1.0.0",
"karma-mocha": "^0.2.0",
"karma-mocha-reporter": "^1.0.2",
"karma-phantomjs-launcher": "^0.2.0",
Expand All @@ -48,6 +49,7 @@
"toposort": "^0.2.10"
},
"release-script": {
"defaultDryRun": "false"
"defaultDryRun": "false",
"skipBuildStep": "true"
}
}

0 comments on commit 3f55931

Please sign in to comment.