Comparing version 1.0.2 to 1.0.3
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
import gulp from 'gulp'; | ||
@@ -18,2 +17,3 @@ import uglify from 'gulp-uglify'; | ||
import source from 'vinyl-source-stream'; | ||
import babel from 'gulp-babel'; | ||
@@ -38,6 +38,13 @@ gulp.task('browserify', () => { | ||
.pipe(uglify()) | ||
.pipe(gulp.dest('dist')) | ||
.pipe(gulp.dest('public')); | ||
.pipe(gulp.dest('dist')); | ||
}); | ||
gulp.task('default', ['browserify'], () => {}); | ||
gulp.task('babel', () => { | ||
gulp.src('./src/**/*.js') | ||
.pipe(babel({ | ||
presets: ['es2015'] | ||
})) | ||
.pipe(gulp.dest('transpiler')); | ||
}); | ||
gulp.task('default', ['browserify', 'babel'], () => {}); |
{ | ||
"name": "strman", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A Javascript string manipulation library without npm dependences.", | ||
"main": "dist/strman.js", | ||
"main": "transpiler/strman.js", | ||
"directories": { | ||
@@ -39,2 +39,3 @@ "test": "test" | ||
"gulp": "^3.9.1", | ||
"gulp-babel": "^6.1.2", | ||
"gulp-uglify": "^1.5.3", | ||
@@ -41,0 +42,0 @@ "mocha": "^2.4.5", |
import chai from 'chai'; | ||
var strman = require('../dist/strman'); | ||
var strman = require('../transpiler/strman'); | ||
var isString = strman.isString; | ||
@@ -5,0 +5,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
157819
36
2924
1
2
15