Name: meteor-package-builder
Owner: PeerLibrary
Description: Meteor package builder package
Created: 2015-03-08 19:03:55.0
Updated: 2016-02-26 17:14:44.0
Pushed: 2015-03-09 10:54:14.0
Homepage: null
Size: 132
Language: CoffeeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Meteor smart package which provider a Meteor package builder. It wraps official Meteor package toolchain into a package which allows building packages without running external processes.
Adding this package to your Meteor application adds the PackageBuilder
object into the global scope.
PackageBuilder
object has one method, buildPackage
, which accepts an options object with the following fields:
packageDir
? path to the package source directoryrelease
? Meteor release to build the package against (you can use Meteor.release
to set it to your current Meteor version)offline
? should building operate in offline mode (TODO: Has to be tested)If everything works well you will get as a result object with many fields containing all possible information about the package and build system. Probably the most useful fields are:
sourceRoot
? path to the package source directorypackageName
? name of the built packageversion
? version fo the built packagebundleRoot
? path to the directory with the built packageServer side only.
or add peerlibrary:package-builder