Palm-package
From WebOS101
Palm package will take EVERYTHING in a directory and package it into an .ipk file (which is what is used to install applications on the device). The .ipk will be named based on the com.yourcompany.appname_version_number that is in your applications appinfo.json. How to use:
//simple use
palm-package "Directory to Package"
//example:
palm-package ./sharks
//optional stuff
palm-package --exclude="whatever" -o ./packaged ./sharks
//this would package everything in ./sharks and place the ipk in the packaged directory
// it would also exclude the ./sharks/whatever directory from being included in the package