1.0.4 • Published 3 years ago

what-plugin-template v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

what-plugin-template

a normal js plugin template

NPM JavaScript Style Guide

Use

npm.io

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

Install

npm install --save what-plugin-template

or

yarn add what-plugin-template

License

MIT