Install Browserify
npm install -g browserifyFetch dependencies
npm installCompile .ts files
Either enter the following command
node node_modules/typescript/bin/tsc.jsor use the tsc script from our package.json with
npm run tscRun Browserify
Either enter the following command
browserify src/app.js -o bundle.js -s appor 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 -oor 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