Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
npm install
, this will install the coffee-script compiler inthe node_modules folder
npm run build
. This will create TextLayer.js, which is whatgets shipped
npm publish