/WebClipper

The OneNote Web Clipper extension

Primary LanguageTypeScriptMIT LicenseMIT

WebClipper

Setup

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

2. Install the WebClipper packages

From the root of this project, run:

$ npm install

3. Build and Test

The default command to build and test:

$ npm run build
or
$ npm run build -- --<arg>
  • Compiles LESS and TypeScript into /build
  • Bundles the JavaScript modules together into /build/bundles
  • Exports all the needed files to /target

Congratulations!

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

Other useful commands

Clean

$ npm run clean

Removes all of the generated files from build

Watch

$ npm run watch

Automatically rebuilds the project when files are saved