a normal js plugin template
Clone me, to create a new js plugin!
ENV
export MY_GITHUB_ORG=zhangsan
export MY_PLUGIN_NAME=js-plugin-SOMETHING
git clone git@github.com:niexq/what-plugin-template.git
mv what-plugin-template $MY_PLUGIN_NAME
cd $MY_PLUGIN_NAME
git remote rm origin
git remote add origin "git@github.com:$MY_GITHUB_ORG/$MY_PLUGIN_NAME.git"
yarn install && yarn link
cd example && yarn install && yarn link $MY_PLUGIN_NAME
cd .. && yarn run start-dev
npm install --save what-plugin-template
or
yarn add what-plugin-template
MIT