copied from http://collidercreative.com/adding-custom-local-packages-to-meteor-with-meteorite/
##STEP 1: ADD PACKAGE PATH TO SMART.JSON FILE
To have Meteor load a local package you need to add the package and path to your smart.json file like so:
{
"packages": {
"font-awesome-4": {},
"bootstrap-3": {},
"accounts-linkedin": {},
"iron-router": {},
"mixpanel": {
"path": "../../Javascript/meteor/packages/meteor-mixpanel"
}
}
}
One of the nuances that wasn’t obvious to me initially is that this path does not have to be in your project directory. It can be anywhere on your local system, so long as you get the path right. Meteor will then load that file (instead of using one from Atmosphere, etc) when it “installs” your packages.
##STEP 2: ADD PACKAGE TO METEOR WITH MRT ####If not added already!
This step eluded me for a little while, I figured that because I had added the package to smart.json that it would automatically add it to my project. I’m unclear as to the exact design of this process, but for me unless I added the package to meteor, it wouldn’t work. Add it to meteor like so:
mrt add mixpanel
##DONE!