Hi (future) collaborator!
Have a fix or a new feature? Search for corresponding issues first then create a new one.
To run this project, you will need:
- Node.js >= v8.7.0, use nvm - install instructions
- Yarn
yarn run build
will build all files in ./dist
. This includes regular and
minified files for <script>
inclusion, as well as classes for import
ing.
The command itself is split into yarn run build:js
and yarn run build:css
if
you want to build a subset.
You can have all this files served on localhost, along with live-reload, with
the yarn run serve
command.
You can run all tests with yarn run test
, and yarn run test:watch
will run
them with auto-reload.
The documentation lives in the ./docs
folder. You should start by installing
its dependencies with cd ./docs && yarn install
. Then:
yarn docs:build
will build the docs website in./docs/dist
.yarn docs:serve
will do the same, but with live-reload enabledyarn docs:deploy
will deploy the doc website manually
Refer to ./docs/README.md
for more information
npm run release
will guide you through the release process. Note that you have
to use npm
and not yarn
for this one otherwise it won't deploy to npm.