Skip to content

foreverglory/OneNoteApi

 
 

Repository files navigation

OneNoteApi

JavaScript library to make calling the OneNote API easier.

Setup

2. Install gulp globally:

$ npm install --global gulp

(Note: on windows, you also need to add "%appdata%\npm" to your PATH)

3. Install the OneNoteApi packages

From the root of this project, run:

$ npm install

4. Setup the other dependencies

From the root of this project, run:

$ gulp setup

5. Build and Test

Now just run:

$ gulp

Congratulations!

At this point you should see the tests passing, and see the packaged code in the target folder

Other Gulp shortcuts

Gulp clean

$ gulp clean

Removes all of the generated files from build, and uninstalls anything done in setup

Gulp setup

$ gulp setup

Installs the d.ts files

Gulp build

$ 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

$ gulp runTests

Run all of the unit tests on the command line

About

JavaScript library to make calling the OneNote API easier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.1%
  • JavaScript 39.3%
  • HTML 0.6%