Hi all,
I know that jam is the place for focusing on browser specific packages. But if you are looking to make your js run in all the places, you might want to use one of the umd templates.
My favoriate currently is :
It wraps your code so that it will run as a browser global (boo), in commonjs and in an amd environment. There are other patterns in that repo, but just making you aware of some ways to package your js to run everywhere.
Ryan