Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

lucaorio/sketch-plugin-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sketch Plugin Boilerplate

An ultra-minimal skpm template

Contents

Rationale

I simply needed a skpm template to scaffold, and spin up a Sketch plugin on the fly.

  • This is not a Sketch plugin. It's a boilerplate to quickly build one
  • The template includes my personal name, and contacts. If you're not me... Make sure to edit them! 🙃
  • This project could not necessarily address, nor fit all your needs
  • This uses yarn only, no npm

Features

Requirements

yarn global add skpm
yarn add eslint
yarn add babel-eslint
yarn add prettier

Install the proper plugins (ESLint, Prettier, EditorConfig) to lint and format the code directly in your text-editor (optional).

Installation

skpm create <project-name> --name "<Project Name>" --template=lucaorio/sketch-plugin-boilerplate --install false
cd <project-name>
yarn install

Usage

# build with hot reload
yarn watch

# lint
yarn lint

# lint and build
yarn build

# lint, build, and symlink the plugin
yarn symlink

License

https://github.com/lucaorio/sketch-plugin-boilerplate/blob/master/license


Contacts

Releases

No releases published

Packages

No packages published