Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for npm distribution #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WestonThayer
Copy link

@WestonThayer WestonThayer commented Oct 10, 2015

Hi Andreas! I've been working on adding npm-support to popular Framer.js modules. TextLayer happens to be a favorite :). This PR is all ready to go, you just need an npm account to publish. Feel free to reach out to me directly at me@westonthayer.com. We're pushing npm as a superior package management system to copy/paste. I'll be writing on the FramerJs Facebook group and blogging more in the coming days, so no rush. This was just one of the first. If you want to play with how it works, replace "framer-textlayer" in the README.md instructions with "@westonthayer/framer-textlayer". This is a scoped npm package that I published to test it out.

Here's how you'd distribute:

  1. Run npm install, this will install the coffee-script compiler in
    the node_modules folder
  2. Run npm run build. This will create TextLayer.js, which is what
    gets shipped
  3. Run npm publish

Here's how you'd distribute:

1. Run `npm install`, this will install the coffee-script compiler in
the node_modules folder
2. Run `npm run build`. This will create TextLayer.js, which is what
gets shipped
3. Run `npm publish`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant