1.0.0 • Published 6 years ago
@qneyraud/q-io v1.0.0
Library starter
npm library starter with documentation, example, linting and build ready
Usage
# clone repo
git clone git@github.com:quentinneyraud/library-starter.git __your_library_name__
cd __your_library_name__
# install dependencies
yarnReplace all occurences of MYLIB in these files : package.json, rollup.config.js, docs/index.html, docs/README.md, example/index.html, example/index.js
Write your library
npm run devWrite your library in src folder and test it with livereload on localhost:1234
Write documentation
npm run docsWrite documentation in docs folder and see it with livereload on localhost:3000
Build
npm run buildPublish on npm
npm version [patch | minor | major]
npm publishPublish documentation
Set up GitHub Pages to use
/docsfoldergit push
Or use other Deploy
Other links
1.0.0
6 years ago