To publish with npm, use the following command (once you have configured npm):

npm publish <package path>