https://github.com/icfnext/gulp-slang
A Gulp plugin for curling files to JCR / Sling
https://github.com/icfnext/gulp-slang
Last synced: about 1 year ago
JSON representation
A Gulp plugin for curling files to JCR / Sling
- Host: GitHub
- URL: https://github.com/icfnext/gulp-slang
- Owner: icfnext
- License: mit
- Created: 2014-10-02T17:25:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T15:29:43.000Z (about 7 years ago)
- Last Synced: 2025-04-14T13:45:49.971Z (about 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 20
- Watchers: 10
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gulp-slang
==============
Curl files to running JCR
## Install
```shell
npm install gulp-slang --save-dev
```
## Example
```js
var gulp = require('gulp');
var slang = require('gulp-slang');
gulp.task('watch', function() {
gulp.watch('js/*.js', function(e) {
return gulp.src()
.pipe(slang({
port: 4503
}));
});
});
```
## Options
### host
Type: `string`
Default: `localhost`
hostname to running sling instance.
### port
Type: `number`
Default: `4502`
Port for running sling instance.
### username
Type: `string`
Default: `admin`
Username for authentication.
### password
Type: `string`
Default: `admin`
Password for authentication.