Skip to content

MADLinsen/OneNotePicker-JS

 
 

Repository files navigation

OneNotePicker-JS

A JavaScript UI component that allows a user to choose one of their Notebook Sections For example, this is consumed in https://github.com/OneNoteDev/WebClipper

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 OneNotePicker 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 and links the non-published npm packages

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

A JavaScript UI component that allows a user to choose a section from a list of their notebooks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.4%
  • TypeScript 43.2%
  • CSS 2.8%
  • HTML 0.6%