Skip to content

Commit 6028527

Browse files
author
Dong Xuebin
committed
generate external source map files for jquery.orgchart.min.js
1 parent 1f0fa6d commit 6028527

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "orgchart",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"homepage": "https://github.com/dabeng/OrgChart",
55
"authors": [
66
"dabeng <[email protected]>"

dist/css/jquery.orgchart.min.css

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/jquery.orgchart.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/jquery.orgchart.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ gulp.task('js', ['cleanupJS', 'eslint', 'e2e-tests'], function () {
8484
.pipe(sourcemaps.init())
8585
.pipe(uglify())
8686
.pipe(rename('jquery.orgchart.min.js'))
87-
.pipe(sourcemaps.write())
87+
.pipe(sourcemaps.write('./'))
8888
.pipe(gulp.dest(paths.distJSFolder));
8989
});
9090

@@ -107,10 +107,8 @@ gulp.task('csslint', function() {
107107
gulp.task('css', ['cleanupCSS', 'csslint'], function () {
108108
return gulp.src(paths.srcCSS)
109109
.pipe(gulp.dest(paths.distCSSFolder))
110-
.pipe(sourcemaps.init())
111110
.pipe(cleanCSS())
112111
.pipe(rename('jquery.orgchart.min.css'))
113-
.pipe(sourcemaps.write())
114112
.pipe(gulp.dest(paths.distCSSFolder));
115113
});
116114

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "orgchart",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Simple and direct organization chart(tree-like hierarchy) plugin based on pure DOM and jQuery.",
55
"main": "./dist/js/jquery.orgchart.min.js",
66
"style": [
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"font-awesome": "^4.6.3",
3636
"html2canvas": "^0.5.0-beta4",
37-
"jquery": "~3.2.1",
37+
"jquery": "^3.2.1",
3838
"jquery-mockjax": "^2.2.0",
3939
"jspdf": "^1.3.5"
4040
},

0 commit comments

Comments
 (0)