Skip to content

Commit

Permalink
generate external source map files for jquery.orgchart.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Dong Xuebin committed Feb 3, 2018
1 parent 1f0fa6d commit 6028527
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orgchart",
"version": "2.1.0",
"version": "2.1.1",
"homepage": "https://github.com/dabeng/OrgChart",
"authors": [
"dabeng <[email protected]>"
Expand Down
3 changes: 1 addition & 2 deletions dist/css/jquery.orgchart.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/jquery.orgchart.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/js/jquery.orgchart.min.js.map

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ gulp.task('js', ['cleanupJS', 'eslint', 'e2e-tests'], function () {
.pipe(sourcemaps.init())
.pipe(uglify())
.pipe(rename('jquery.orgchart.min.js'))
.pipe(sourcemaps.write())
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest(paths.distJSFolder));
});

Expand All @@ -107,10 +107,8 @@ gulp.task('csslint', function() {
gulp.task('css', ['cleanupCSS', 'csslint'], function () {
return gulp.src(paths.srcCSS)
.pipe(gulp.dest(paths.distCSSFolder))
.pipe(sourcemaps.init())
.pipe(cleanCSS())
.pipe(rename('jquery.orgchart.min.css'))
.pipe(sourcemaps.write())
.pipe(gulp.dest(paths.distCSSFolder));
});

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orgchart",
"version": "2.1.0",
"version": "2.1.1",
"description": "Simple and direct organization chart(tree-like hierarchy) plugin based on pure DOM and jQuery.",
"main": "./dist/js/jquery.orgchart.min.js",
"style": [
Expand Down Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"font-awesome": "^4.6.3",
"html2canvas": "^0.5.0-beta4",
"jquery": "~3.2.1",
"jquery": "^3.2.1",
"jquery-mockjax": "^2.2.0",
"jspdf": "^1.3.5"
},
Expand Down

0 comments on commit 6028527

Please sign in to comment.