Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Latest commit

 

History

History
63 lines (41 loc) · 928 Bytes

README.md

File metadata and controls

63 lines (41 loc) · 928 Bytes

Install Browserify

npm install -g browserify

Fetch dependencies

npm install

Compile .ts files

Either enter the following command

node node_modules/typescript/bin/tsc.js

or use the tsc script from our package.json with

npm run tsc

Run Browserify

Either enter the following command

browserify src/app.js -o bundle.js -s app

or use the browserify script from our package.json with

npm run browserify

Start http-server

Either enter the following command

node node_modules/http-server/bin/http-server -o

or use the listen script from our package.json with

npm run listen

By default http-server listens on port 8080. If this port is taken, use '-p ####' to specify a free port, where #### is the available port.

Shortcut for running all steps in a batch

npm run all