/minimalist-typescript-webpack-starter

Minimalist TypeScript webpack Starter

Primary LanguageJavaScriptThe UnlicenseUnlicense

Minimalist TypeScript webpack Starter

This is a bare minimum starter kit to get you going with your TypeScript and webpack experiments.

It includes the setup needed to compile your TypeScript code and enable live reloads and nothing else. The goal is to get you as close to File -> New -> write your code -> F5 (or whatever your editor of choice does) as possible. And that's it. No fancy plugins, no linting, no unit testing... Just start coding in seconds and graduate to a more advanced setup or discard the project when you are done.

Prerequisites

All you need to get started is Node.js and npm.

Install

Just download the source or clone this repository

git clone https://github.com/ailon/minimalist-typescript-webpack-starter.git .

(you may want to delete the .git directory to remove the association with this repo)

Then install dependencies:

npm install

Run

npm start

Edit

Edit src/index.ts and add other TypeScript files the way you see fit. Edit src/assets/template.html to change the HTML used by webpack.

License

This package is released under Unlicense meaning you can do pretty much anything you want with it.

Contribute

The goal is to keep this as simple as possible, so no features should be added. Having said that, if you feel that something is missing for the basic purpose of TypeScript experimentation, feel free to submit a pull request.