what-plugin-template
v1.0.4
Published
a normal js plugin template
Downloads
4
Maintainers
Readme
what-plugin-template
a normal js plugin template
Use
Clone me, to create a new js plugin!
ENV
export MY_GITHUB_ORG=zhangsan
export MY_PLUGIN_NAME=js-plugin-SOMETHING
git clone [email protected]:niexq/what-plugin-template.git
mv what-plugin-template $MY_PLUGIN_NAME
cd $MY_PLUGIN_NAME
git remote rm origin
git remote add origin "[email protected]:$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
Install
npm install --save what-plugin-template
or
yarn add what-plugin-template
License
MIT