0.2.3 • Published 9 years ago
pcapi v0.2.3
pcapi.js
A javascript library for the PCAPI. Check PCAPI's documenation
Running tests
First thing you need to do is to install all the dependencies:
npm installFor running tests you need to run either:
npm run testFor running systests you need to create a config.js inside the js folder that will follow the config.example.js logic. You need a url of where the PCAPI is installed and then run the systetsts like this:
node_modules/phantomjs/bin/phantomjs tests/sysindex.htmlBuilding library
For releasing the library
npm run releaseAnswer with all the default options, apart from the last one which is about publishing it which it should be yes.