bt-data v1.0.0-alpha.1.0.1
WhiteAndGray JavaScript Data Library
A JavaScript data library.
Installing
Currently, the easiest and only documented way to install this library is through jspm, so you must first install that tool globally by executing
npm install -g jspmThen run
jspm install npm:bt-dataBuilding The Code
The source code of this library is written in TypeScript. To build this library from source code, follow these steps:
Clone the library repository or download the source code from here.
Then make sure you have NodeJS installed. This is the de facto platform for working with JavaScript projects.
Open a terminal, change the directory to the project root directory and execute the following instruction
npm installMake sure that Gulp is installed. If you do not have it, run the following command in a terminal:
npm install -g gulpBuild the code executing
gulp buildBy configuration, the output is placed in the
dist/directory, available in the form of AMD modules, or as configured in thetsconfig.jsonfile.
Running The Tests
The unit tests are run in Karma, so you need that platform to execute them. Therefore, you have to
Ensure that the Karma is installed in your system. To install it, run
npm install -g karma-clijspm installRun the tests with the command
karma start
10 years ago
10 years ago
10 years ago
10 years ago