It turns out that jQuery isn't very easy to use on Node.js. I simply wanted to run some tests there. Here is how I got it working.
Create a test
folder. Save the tsconfig.json
& jquery-tests.ts
to it. Install the dependencies.
tsc -p test
mocha .\test\jquery-tests.js