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 javascript without package manager docs #560
Comments
@markmhx I've put this up as good first task in case a contributor wants to pick it up. But it is labeled docs so also on my todo. |
@moxiegirl @markmhx I've setup a AWS CodeBuild trigger which gets master and compiles a .min.js every hour. The result can be found at https://s3.amazonaws.com/minifyjs/blockstack/blockstack.min.js |
Hey @JeremiGendron! Thanks for the changes you're suggesting. I think a better solution would be that we during our build process we publish a minified version to NPM, and then suggest people use a service like https://unpkg.com/#/ to get access to that. It has the advantage of mirroring npm and also is most likely a service that won't go down. |
@aulneau Ok, I'll check it out |
@JeremiGendron Thanks for taking the initiative here! |
@markmhx Thank you! I have some questions about the scripts which would be appropriate. Currently, I have it setup so the |
https://unpkg.com/demo-blockstack-dist is my attempt. I can still customize the package.json scripts if you want something more modular. |
@JeremiGendron I'm not familiar with the scripts that have been set up for this repo, but at a glance, it appears that the @aulneau Thoughts on @JeremiGendron's unkpg build above? |
@JeremiGendron Apologies for the slow reply. This slipped through my email. I'll take a look at this and see if we can't move it along. Thank you so much for the PR |
Same here, no worries!
…On Mon, Jan 14, 2019, 12:24 PM Moxiegirl ***@***.*** wrote:
@JeremiGendron <https://github.com/JeremiGendron> Apologies for the slow
reply. This slipped through my email. I'll take a look at this and see if
we can't move it along.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#560 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWfqZfDxDp2tjGG0NlH9zViLZdvwI3erks5vDL1igaJpZM4YGbif>
.
|
This is done and live. |
@markmhx wrote on Slack:
I didn't even realize this was possible through our own documentation, had to google search to find the forum post where someone asked https://forum.blockstack.org/t/how-can-i-import-blockstack-js-as-a-script-without-using-a-package-manager/5881/3
Blockstack Forum
How can I import blockstack.js as a script without using a package manager?
Yes! You can download blockstack.js from the dist folder and use it without npm! https://github.com/blockstack/blockstack.js/tree/master/dist This is how we use it in both our ruby blockstack omniauth strategy and blockstack-android libraries. I added an issue to update our readme and make this more clear! Thank you for the feedback!!! #517
Aug 2nd
But my sense is that letting someone play around with blockstack via a web-based code editor like CodePen (already prepopulated with some starter code?) could be very potent
The text was updated successfully, but these errors were encountered: