An skpm template for developing for Sketch with CoffeeScript
skpm create my-plugin --template izuchukwu/skpm-with-coffee
This will:
- Create your Sketch plugin with the
skpm-with-coffee
template - Install
skpm
,npm-run-all
(for parallel script execution),nodemon
(for watching for updates), andcoffeescript
as dependencies - Initialize a git repo if there isn't one (disable with
--git false
) - Build the plugin & link it to Sketch's plugin folder, ready to go
After creating, consider adding author
, license
, description
, and repository
fields to your package.json
.
Once you're done, rather than call coffee
or skpm
directly, check out the included scripts:
# compile, build, & watch for changes
yarn watch
# watch the logs
yarn log
# build only
yarn build
or npm run
instead of yarn
.
✌️