From c287459bb5fda33f479fb1ee9406342af54ab094 Mon Sep 17 00:00:00 2001 From: Stephen Rodriguez Date: Sun, 5 Jul 2015 23:16:57 -0400 Subject: [PATCH 1/3] changing jest to be more verbose for travis logs --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0463d9d..d988051 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { - "test": "jest && mocha --compilers js:mocha-traceur tests/**/*.spec.js", - "test-react": "jest", + "test": "jest --verbose && mocha --compilers js:mocha-traceur tests/**/*.spec.js", + "test-react": "jest --verbose", "test-js": "mocha --compilers js:mocha-traceur tests/**/*.spec.js", "start": "npm install && bower install && gulp", "lint": "jsxhint --jsx-only ." From 82f65208dbf26754540862c79e2e19a98058186a Mon Sep 17 00:00:00 2001 From: Stephen Rodriguez Date: Sun, 5 Jul 2015 23:32:38 -0400 Subject: [PATCH 2/3] also telling jest to show us a coverage support --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d988051..c06d229 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { - "test": "jest --verbose && mocha --compilers js:mocha-traceur tests/**/*.spec.js", - "test-react": "jest --verbose", + "test": "jest --verbose --coverage && mocha --compilers js:mocha-traceur tests/**/*.spec.js", + "test-react": "jest --verbose --coverage", "test-js": "mocha --compilers js:mocha-traceur tests/**/*.spec.js", "start": "npm install && bower install && gulp", "lint": "jsxhint --jsx-only ." From c78f3fd5c0d22cd00ab5f4d2aa26fbf7dad2b002 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sun, 12 Jul 2015 14:22:39 -0700 Subject: [PATCH 3/3] remove .pem files in node_modules after install - ref #33 --- gulpfile.js | 17 +++++++++++++++++ package.json | 4 +++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 6a9c93d..86cca8e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,5 +1,22 @@ +var del = require('del'); +var gulp = require('gulp'); var elixir = require('laravel-elixir'); +/* + |-------------------------------------------------------------------------- + | Pre-defined Gulp Tasks + |-------------------------------------------------------------------------- + | + | Tasks outside the scope of Elixir can be predefined before setting it up. + | + */ + +gulp.task('postinstall', function (cb) { + // .pem files cause Chrome to show a bunch of warnings + //so we remove them on postinstall + del('node_modules/**/*.pem', cb); +}); + /* |-------------------------------------------------------------------------- | Elixir Asset Management diff --git a/package.json b/package.json index c06d229..6fe7fe2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "test-react": "jest --verbose --coverage", "test-js": "mocha --compilers js:mocha-traceur tests/**/*.spec.js", "start": "npm install && bower install && gulp", - "lint": "jsxhint --jsx-only ." + "lint": "jsxhint --jsx-only .", + "postinstall": "gulp postinstall" }, "pre-commit": [ "lint" @@ -22,6 +23,7 @@ "devDependencies": { "bower": "^1.4.1", "chai": "^3.0.0", + "del": "^1.2.0", "gulp": "^3.8.8", "jest-cli": "^0.4.12", "jshint": "^2.8.0",