Skip to content

Building

Adam Fraser-Kruck edited this page Nov 24, 2017 · 3 revisions

Read Contributing First

Setting up development environment

  • install node.js: https://nodejs.org/en/download/
  • from project root directory, run npm install to automatically install development dependencies.
  • (optional) install Visual Studio Code (vscode) which is a totally free and awesome IDE.

Build

Compile typescript to js

  • The easiest way is to open the project in vscode then:
    • press CTRL+SHIFT+B
    • select tsc: watch (or tsc: build if you prefer to only build once)
    • press enter or select Continue without scanning the build output.
  • You could alternatively look up how to use the typescript complier (tsc) from the command line.

Building UncrapCore.js

  • I prefer to open the project in vscode then:
    • press CTRL+SHIFT+B
    • select npm: watch
    • press enter or select Continue without scanning the build output.
  • You can alternatively run npm run watch from a terminal in the root project directory.
Clone this wiki locally