peerlibrary:package-builder

v0.1.0Published 9 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Meteor package builder package

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 directory
  • release – 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 directory
  • packageName – name of the built package
  • version – version fo the built package
  • bundleRoot – path to the directory with the built package

Server side only.

Installation

meteor add peerlibrary:package-builder