Live reload (dev server) with TypeScript
support, built with Webpack
, linted with Prettier
, and basic obs-disp
starter setup (with its API initialized and ready to use).
Technologies:
- obs-disp
- Webpack
- TypeScript
- prettier
To run and develop on the dev server
npm install
npm start
Then open localhost:9000
in your browser.
To build for production
npm run build
This will output minified dist/index.js
Both start
and build
commands will output to dist
folder.
obs-disp
is a thin wrapper for writing straight-to-the-point JavaScript.
Modify the webpack.config.js
at your convenience. For example, change the port of the dev server there.
Currently target
is set to
Currently target
is set to es6
which should be good for all modern browsers.
Modify the tsconfig.json
at your convenience