# Creating plugins
# Creating plugin in own repository
Clone a sample plugin and install dependencies.
git clone https://github.com/easepick/sample-plugin.git
cd sample-plugin
npm install
Rename plugin and add your features.
# Adding plugin in main repository
- Create a folder in
packages
folder. (Eg.: myawesome-plugin) - Add
package.json
andtsconfig.json
tomyawesome-plugin
folder. (Copy and edit from existing plugins) - Create
src
folder inmyawesome-plugin
folder. - Create
index.ts
andindex.scss
- Create symlink to
myawesome-plugin
folder innode_modules/@easepick
folder. - Add plugin references in
~/tsconfig.json
. - Add plugin in
rollup.config.js
file.