This is a demo application for world-map-gen
wasm package built with
TypeScript and webpack.
Snapshot of the built application is put in ../docs
directory and served on
gh-pages.
Install all dependencies by npm install
before development.
Webpack provides a development server with live reload. Please run following command and open
http://localhost:8080
.
npm run start
Following command compiles all TypeScript sources, bundles the result into one JavaScript source and
copy all assets (wasm binary, HTML, styles, images...). Built application is put in dist
directory.
npm run build
tslint is used for linting TypeScript sources. And stylelint is used for linting CSS.
Following command runs linters in parallel.
npm run lint