JavaScript library to make calling the OneNote API easier.
1. Install npm -- https://nodejs.org/en/download/
$ npm install --global gulp
(Note: on windows, you also need to add "%appdata%\npm" to your PATH)
From the root of this project, run:
$ npm install
From the root of this project, run:
$ gulp setup
Now just run:
$ gulp
At this point you should see the tests passing, and see the packaged code in the target
folder
$ gulp clean
Removes all of the generated files from build
, and uninstalls anything done in setup
$ gulp setup
Installs the d.ts files
$ gulp build
(Note: this is currently the default command when you run gulp
)
The command you will use the most often when making code changes:
- Compiles LESS and TypeScript into /build
- Bundles the JavaScript modules together into /bundle
- Exports all the needed files to /target
$ gulp runTests
Run all of the unit tests on the command line