update docs
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -2,6 +2,5 @@ node_modules/
 | 
				
			|||||||
npm-debug.log
 | 
					npm-debug.log
 | 
				
			||||||
test/result/
 | 
					test/result/
 | 
				
			||||||
coverage/
 | 
					coverage/
 | 
				
			||||||
docs/
 | 
					 | 
				
			||||||
pages/
 | 
					pages/
 | 
				
			||||||
public
 | 
					public
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										16
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								README.md
									
									
									
									
									
								
							@@ -2,10 +2,10 @@
 | 
				
			|||||||
browserify and other goodies for gulp
 | 
					browserify and other goodies for gulp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Availabililty
 | 
					## Availabililty
 | 
				
			||||||
[](https://www.npmjs.com/package/gulp-browser)
 | 
					[](https://www.npmjs.com/package/gulp-browser)
 | 
				
			||||||
[](https://GitLab.com/pushrocks/gulp-browser)
 | 
					[](https://GitLab.com/pushrocks/gulp-browser)
 | 
				
			||||||
[](https://github.com/pushrocks/gulp-browser)
 | 
					[](https://github.com/pushrocks/gulp-browser)
 | 
				
			||||||
[](https://pushrocks.gitlab.io/gulp-browser/)
 | 
					[](https://pushrocks.gitlab.io/gulp-browser/)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Status for master
 | 
					## Status for master
 | 
				
			||||||
[](https://GitLab.com/pushrocks/gulp-browser/commits/master)
 | 
					[](https://GitLab.com/pushrocks/gulp-browser/commits/master)
 | 
				
			||||||
@@ -21,6 +21,7 @@ browserify and other goodies for gulp
 | 
				
			|||||||
## Usage
 | 
					## Usage
 | 
				
			||||||
Use TypeScript for best in class instellisense.
 | 
					Use TypeScript for best in class instellisense.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### Browserify:
 | 
					#### Browserify:
 | 
				
			||||||
```javascript
 | 
					```javascript
 | 
				
			||||||
    let gulp = require("gulp");
 | 
					    let gulp = require("gulp");
 | 
				
			||||||
@@ -47,4 +48,9 @@ Use TypeScript for best in class instellisense.
 | 
				
			|||||||
* [Phil Kunz](https://github.com/philkunz)
 | 
					* [Phil Kunz](https://github.com/philkunz)
 | 
				
			||||||
* [Steffan Donal](https://github.com/SteffanDonal)
 | 
					* [Steffan Donal](https://github.com/SteffanDonal)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://push.rocks)
 | 
					For further information read the linked docs at the top of this README.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
 | 
				
			||||||
 | 
					| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](https://push.rocks)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										56
									
								
								docs/index.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								docs/index.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,56 @@
 | 
				
			|||||||
 | 
					# gulp-browser
 | 
				
			||||||
 | 
					browserify and other goodies for gulp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Availabililty
 | 
				
			||||||
 | 
					[](https://www.npmjs.com/package/gulp-browser)
 | 
				
			||||||
 | 
					[](https://GitLab.com/pushrocks/gulp-browser)
 | 
				
			||||||
 | 
					[](https://github.com/pushrocks/gulp-browser)
 | 
				
			||||||
 | 
					[](https://pushrocks.gitlab.io/gulp-browser/)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Status for master
 | 
				
			||||||
 | 
					[](https://GitLab.com/pushrocks/gulp-browser/commits/master)
 | 
				
			||||||
 | 
					[](https://GitLab.com/pushrocks/gulp-browser/commits/master)
 | 
				
			||||||
 | 
					[](https://www.npmjs.com/package/gulp-browser)
 | 
				
			||||||
 | 
					[](https://david-dm.org/pushrocks/gulp-browser)
 | 
				
			||||||
 | 
					[](https://www.bithound.io/github/pushrocks/gulp-browser/master/dependencies/npm)
 | 
				
			||||||
 | 
					[](https://www.bithound.io/github/pushrocks/gulp-browser)
 | 
				
			||||||
 | 
					[](https://nodejs.org/dist/latest-v6.x/docs/api/)
 | 
				
			||||||
 | 
					[](https://nodejs.org/dist/latest-v6.x/docs/api/)
 | 
				
			||||||
 | 
					[](http://standardjs.com/)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Usage
 | 
				
			||||||
 | 
					Use TypeScript for best in class instellisense.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### Browserify:
 | 
				
			||||||
 | 
					```javascript
 | 
				
			||||||
 | 
					    let gulp = require("gulp");
 | 
				
			||||||
 | 
					    let gulpBrowser = require("gulp-browser");
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    let transforms = [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            transform: "babelify",
 | 
				
			||||||
 | 
					            options: {presets: ["es2015"]}
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    gulp.task('gulpBrowserTest',function() {
 | 
				
			||||||
 | 
					        var stream = gulp.src('./test/*.js')
 | 
				
			||||||
 | 
					            .pipe(gulpBrowser.browserify(transforms)) // gulp.browserify() accepts an optional array of tansforms
 | 
				
			||||||
 | 
					            .pipe(gulp.dest("./test/browserifiedJS/"));
 | 
				
			||||||
 | 
					        return stream;
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> **Note:** Be aware of how gulp.src creates values of file.base and file.path since that is important to the require statements.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Contributors
 | 
				
			||||||
 | 
					* [Phil Kunz](https://github.com/philkunz)
 | 
				
			||||||
 | 
					* [Steffan Donal](https://github.com/SteffanDonal)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For further information read the linked docs at the top of this README.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
 | 
				
			||||||
 | 
					| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](https://push.rocks)
 | 
				
			||||||
		Reference in New Issue
	
	Block a user