@aotu/fs v1.2.0
š¦š @aotu/fs
Useful file system utilities.
ā An experimental project applying several cool stuffs, a boilerplate for writing new NPM packages.
ā Auto-release with semantic-release
ā Fast Unit Tests with ava
ā Coverage with nyc
ā Automated Code reviews with codacy
ā Elegant documents via jsdoc-to-markdown along with gitbook
ā Scoped NPM package
ā Publish gh-pages automatically via travis-ci
ā Semantic git commits via semantic-git-commit-cli
Unit Tests
npm test
// Or the watching mode
npm run test1
Debug
- Write a debug file at
test/debugs/your.debug.js
Run the debug command
node --inspect-brk test/debugs/your.debug.js
Open the Chrome inspector interface
chrome://inspect/
You will see the files listed for inspcecting.
Add the
fs
folder to the chrome-devtools's workspace
Docs
The documents are generated by jsdoc(jsdoc-to-markdown) along with gitbook(gitbook-cli) following this guide.
Initial build
npm run docs
Incremental build
npm run docs:build
Watching Mode
npm run docs:serve
Clean the generated docs
npm run docs:clean
Release
The module will be released automatically by semantic-release