一个小工具,可帮助您在 ES6 中编写 bl.ocks
Scaffold and serve html, specifically focused on bl.ocks. Go from idea to block from the comfort of your own text editor.
bl.ocks is a great tool! But using the Gist site as a text editor is no fun. This little tool helps you make blocks just a tiny bit faster:
blockup, scaffolds and serves a new blockblockup checkblockup publishThat's it for now. It probably won't grow beyond this. But if you have an idea, I'd like to hear it!
script.js! - now you can do this in blockup:import draw from './draw.js'
...Usage: blockup
Commands:
new scaffold and serve a new block (default if directory is empty)
serve serve current block (default if directory is not empty)
check check if any expected files are missing
publish publish this block as a gist via gistup
Options:
-h, --help Show help [boolean]
--version Show version number [boolean]Yes! You can use the built-in command blockup publish for most use cases. If you need something more configurable, you can also try using gistup directly.
npm install -g blockup
Great! Add your error to https://github.com/gabrielflorit/blockup/issues so we can improve this tiny tool.
暂无开放 Issues,或尚未同步最近议题。