keiser-echip-utilities
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -9,2 +9,4 @@ var gulp = require('gulp'); | ||
var amdclean = require('gulp-amdclean'); | ||
var mainjs = './src/main.js'; | ||
@@ -22,2 +24,16 @@ | ||
gulp.task('clean-bundle', function () { | ||
browserify(mainjs).bundle() | ||
.pipe(source(mainjs)) | ||
.pipe(streamify(amdclean.gulp({ | ||
'prefixMode' : 'standard' | ||
}))) | ||
.pipe(rename({ | ||
dirname : "/", | ||
basename : "keu", | ||
suffix : ".clean" | ||
})) | ||
.pipe(gulp.dest('./dist')); | ||
}); | ||
gulp.task('min', function () { | ||
@@ -36,3 +52,3 @@ browserify(mainjs).bundle() | ||
gulp.task('default', function () { | ||
gulp.start('bundle', 'min'); | ||
gulp.start('bundle', 'min', 'clean-bundle'); | ||
}); | ||
@@ -39,0 +55,0 @@ |
{ | ||
"name" : "keiser-echip-utilities", | ||
"version" : "0.0.2", | ||
"description" : "Keiser eChip Utilities", | ||
"main" : "./src/main.js", | ||
"scripts" : { | ||
"build" : "gulp", | ||
"watch" : "gulp watch" | ||
}, | ||
"repository" : { | ||
"type" : "git", | ||
"url" : "git+https://github.com/KeiserCorp/Keiser.Air.eChipUtilities.git" | ||
}, | ||
"author" : "Zachary Cardoza", | ||
"license" : "MIT", | ||
"bugs" : { | ||
"url" : "https://github.com/KeiserCorp/Keiser.Air.eChipUtilities/issues" | ||
}, | ||
"homepage" : "https://github.com/KeiserCorp/Keiser.Air.eChipUtilities#readme", | ||
"devDependencies" : { | ||
"browserify" : "^12.0.1", | ||
"gulp" : "^3.9.0", | ||
"gulp-rename" : "^1.2.2", | ||
"gulp-streamify" : "^1.0.2", | ||
"gulp-uglify" : "^1.5.1", | ||
"gulp-watch" : "^4.3.5", | ||
"vinyl-source-stream" : "^1.1.0" | ||
} | ||
"name": "keiser-echip-utilities", | ||
"version": "0.0.3", | ||
"description": "Keiser eChip Utilities", | ||
"main": "./dist/keu.clean.js", | ||
"scripts": { | ||
"build": "gulp", | ||
"watch": "gulp watch" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/KeiserCorp/Keiser.Air.eChipUtilities.git" | ||
}, | ||
"author": "Zachary Cardoza", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/KeiserCorp/Keiser.Air.eChipUtilities/issues" | ||
}, | ||
"homepage": "https://github.com/KeiserCorp/Keiser.Air.eChipUtilities#readme", | ||
"devDependencies": { | ||
"browserify": "^12.0.1", | ||
"gulp": "^3.9.0", | ||
"gulp-amdclean": "^1.1.1", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-streamify": "^1.0.2", | ||
"gulp-uglify": "^1.5.1", | ||
"gulp-watch": "^4.3.5", | ||
"vinyl-source-stream": "^1.1.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26546
11
888
8
6