Skip to content
A javascript library for the PCAPI.
JavaScript HTML
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
dist Release 0.1.9
docs add docs and main on package.json
js
scripts move scripts to scripts folder
tests add missing exportRecord function: edina/fieldtrip-cobweb-project#111
.gitignore IssueID#10: tests are exported to format TEST-pcapijs-<timestamp>.xml
.jshintrc IssueID #6: added promises, unitests, tasks for testing building, rel…
.release.json
.travis.yml Fix the travis cmd for running tests
LICENSE Update LICENSE
README.md Update README.md
bower.json
gulpfile.js IssueID#10: tests are exported to format TEST-pcapijs-<timestamp>.xml
package.json Release 0.1.9

README.md

pcapi.js

A javascript library for the PCAPI. Check PCAPI's documenation

Build Status

Running tests

First thing you need to do is to install all the dependencies:

npm install

For running tests you need to run either:

npm run test

For 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.html

Building library

For releasing the library

npm run release

Answer with all the default options, apart from the last one which is about publishing it which it should be yes.

Something went wrong with that request. Please try again.