assets-manager
Advanced tools
Comparing version 0.2.4 to 0.2.5
{ | ||
"name": "assets-manager", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Copy packages files based on manifest file", | ||
@@ -19,3 +19,5 @@ "homepage": "https://github.com/amazingSurge/assets-manager", | ||
"copy", | ||
"asset" | ||
"asset", | ||
"assets", | ||
"gulp" | ||
], | ||
@@ -22,0 +24,0 @@ "engines": { |
@@ -10,2 +10,23 @@ # assets-manager [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url] | ||
## Work with gulp | ||
You can integrate it with gulp easily: | ||
```js | ||
var AssetsManager = require('assets-manager'); | ||
var manager = new AssetsManager('manifest.json'); | ||
gulp.task('assets', function(done){ | ||
manager.copyPackages().then(function(){ | ||
done(); | ||
}); | ||
}); | ||
gulp.task('clean:assets', function(done){ | ||
manager.cleanPackages().then(function(){ | ||
done(); | ||
}); | ||
}); | ||
``` | ||
### See in action | ||
[![gulp](https://raw.githubusercontent.com/amazingSurge/assets-manager/master/demo/gulp.gif)] | ||
## Usage | ||
@@ -62,3 +83,2 @@ | ||
## Registries | ||
@@ -65,0 +85,0 @@ Assets manager can work with different package manager like **npm**, **bower**. It Also can use custom folders. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70024
381