peanuts
Project setup
npm install
Compiles and hot-reloads for development
npm run build
npm publish
# login your own account
npm login
# you have to modify the library name in package.json if the package exits on npmjs.com
npm publish
build your own libs
write your code in folder src, and build by wepback
docs
Use jsdoc for this libaray docs, and theme is docdash. How you can config docdash, please visit docdash Git Repo. Here is more template for docjs.
// to update docs
npm run docs
test
Use Jest to do test. Jest document
npm run test