The OneNote Web Clipper extension
Pull request Compare This branch is 147 commits behind OneNoteDev:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
lib
src
.gitattributes
.gitignore
CHANGELOG.md
LICENSE
README.md
THIRD-PARTY-NOTICES.txt
WebClipper.csproj
WebClipper.sln
WebClipper.sln.DotSettings
WebClipper.vssettings
chutzpah.json
gulpfile.js
package.json
tsconfig.json

README.md

WebClipper

Setup

1. Install npm -- https://nodejs.org/en/download/

(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
  • 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