twpage / rotjs-bare-bones

a bare bones implementation of rot.js utilizing webpack and typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM Setup

npm init -y

npm install --save-dev typescript rot-js webpack webpack-cli ts-loader http-server npm-run-all

Edit Scripts

Edit 'scripts' in package.json:

"scripts": {
    "build": "webpack",
    "watch": "webpack --watch",
    "serve": "http-server --port=8085"
  },

Build & Run Server

npx npm-run-all --parallel watch serve

Thanks

Inspired by https://github.com/Mizar999/rotjs-typescript-basics

About

a bare bones implementation of rot.js utilizing webpack and typescript


Languages

Language:TypeScript 67.4%Language:JavaScript 17.7%Language:HTML 14.9%