file-bower-resolver
v0.1.4
Published
Bower resolver for package tgz
Downloads
3
Maintainers
Readme
file-bower-resolver
Bower resolver for file based packages
This resolver will help you host a directory of packages to be installed.
The directory needs to be flat as below
repo/
test-package-1.0.0.tar.gz
test-package-1.0.1.tar.gz
my-pack-1.3.4.tar.gz
Set up
Step 1
npm insall file-bower-resolver
Step 2, .bowerrc
{
"resolvers": [
"file-bower-resolver"
],
"file-repo" : "<Path to the directory where you have the tar.gz files>"
}
Step 3
bower install test-package#1.0.0
Packaging components
A gulp task is available along with this package, which can be used to package the components
gulp package --name test-package --version 1.0.3 --repo ./repo/ --base components/