Updated package.js and made new rules for dev, publish, and package.