1.0.2 • Published 6 years ago
peanut-js v1.0.2
peanuts
Project setup
npm installCompiles and hot-reloads for development
npm run buildnpm 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 publishbuild 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 docstest
Use Jest to do test. Jest document
npm run test