From 3eb696587ee03d8de04c4864a9e576043331e913 Mon Sep 17 00:00:00 2001 From: Jake Marsh Date: Wed, 29 Jun 2016 15:16:24 -0700 Subject: [PATCH 1/2] add and use cross-env lib for setting environment variables --- package.json | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 678d2f43..dd874b72 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "type": "git", "url": "https://github.com/jakemmarsh/angularjs-gulp-browserify-boilerplate.git" }, + "license": "MIT", "keywords": [ "express", "gulp", @@ -22,6 +23,17 @@ "engines": { "node": "~4.2.x" }, + "scripts": { + "dev": "cross-env NODE_ENV=development ./node_modules/.bin/gulp dev", + "build": "cross-env NODE_ENV=production ./node_modules/.bin/gulp prod", + "deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp deploy", + "test": "cross-env NODE_ENV=test ./node_modules/.bin/gulp test", + "protractor": "cross-env NODE_ENV=test ./node_modules/.bin/gulp protractor", + "unit": "cross-env NODE_ENV=test ./node_modules/.bin/gulp unit" + }, + "dependencies": { + "cross-env": "^1.0.8" + }, "devDependencies": { "angular": "^1.5.0", "angular-mocks": "^1.3.15", @@ -76,14 +88,5 @@ "vinyl-buffer": "^1.0.0", "vinyl-source-stream": "^1.1.0", "watchify": "^3.7.0" - }, - "scripts": { - "dev": "NODE_ENV=development ./node_modules/.bin/gulp dev", - "build": "NODE_ENV=production ./node_modules/.bin/gulp prod", - "deploy": "NODE_ENV=production ./node_modules/.bin/gulp deploy", - "test": "NODE_ENV=test ./node_modules/.bin/gulp test", - "protractor": "NODE_ENV=test ./node_modules/.bin/gulp protractor", - "unit": "NODE_ENV=test ./node_modules/.bin/gulp unit" - }, - "license": "MIT" + } } From a99a420ba6355c2925c070eb2038b2812178fa59 Mon Sep 17 00:00:00 2001 From: Jake Marsh Date: Wed, 29 Jun 2016 15:16:34 -0700 Subject: [PATCH 2/2] bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dd874b72..2d6f148a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angularjs-gulp-browserify-boilerplate", - "version": "1.6.0", + "version": "1.7.0", "author": "Jake Marsh ", "description": "Boilerplate using AngularJS, SASS, Gulp, and Browserify while also utilizing best practices.", "repository": {