File tree Expand file tree Collapse file tree 4 files changed +46
-2
lines changed
Expand file tree Collapse file tree 4 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 1- bower_components /
1+ bower_components /
2+ node_modules /
Original file line number Diff line number Diff line change 2323 "authors" : [
2424 " Microsoft"
2525 ],
26- "license" : " http ://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm" ,
26+ "license" : " https ://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm" ,
2727 "repository" : {
2828 "type" : " git" ,
2929 "url" : " git://github.com/aspnet/jquery-ajax-unobtrusive.git"
Original file line number Diff line number Diff line change 1+ var gulp = require ( "gulp" ) ,
2+ uglify = require ( "gulp-uglify" ) ,
3+ rename = require ( 'gulp-rename' ) ;
4+
5+ gulp . task ( "minifyJS" , function ( ) {
6+ gulp . src ( [ "jquery-ajax-unobtrusive.js" ] , { base : "." } )
7+ . pipe ( uglify ( ) )
8+ . pipe ( rename ( { suffix : '.min' } ) )
9+ . pipe ( gulp . dest ( "." ) ) ;
10+ } ) ;
11+
12+ gulp . task ( "default" , [ "minifyJS" ] ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " jquery-ajax-unobtrusive" ,
3+ "version" : " 3.2.4" ,
4+ "description" : " Add-on to jQuery Ajax to enable unobtrusive options in data-* attributes" ,
5+ "main" : " jquery.unobtrusive-ajax.js" ,
6+ "repository" : {
7+ "type" : " git" ,
8+ "url" : " https://github.com/aspnet/jquery-ajax-unobtrusive"
9+ },
10+ "keywords" : [
11+ " unobtrusive" ,
12+ " ajax" ,
13+ " mvc" ,
14+ " asp.net" ,
15+ " jquery"
16+ ],
17+ "author" : " Microsoft" ,
18+ "license" : " https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm" ,
19+ "bugs" : {
20+ "url" : " https://github.com/aspnet/jquery-ajax-unobtrusive/issues"
21+ },
22+ "homepage" : " https://github.com/aspnet/jquery-ajax-unobtrusive" ,
23+ "dependencies" : {
24+ "jquery" : " >=1.8"
25+ },
26+ "devDependencies" : {
27+ "gulp" : " 3.8.11" ,
28+ "gulp-rename" : " 1.2.2" ,
29+ "gulp-uglify" : " 1.2.0"
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments