GithubHelp home page GithubHelp logo

peteralbert / typescript-webpack-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nobrainr/typescript-webpack-starter

0.0 1.0 0.0 57 KB

๐Ÿš€ A damn simple ES6 and Typescript Starter kit using webpack for packaging. Perfect for bootstraping your javascript project / module regardless any framework.

HTML 18.96% TypeScript 6.77% JavaScript 74.28%

typescript-webpack-starter's Introduction

Typescript Webpack Starter

Build Status

A damn simple ES6 and Typescript Starter kit using webpack for packaging. Perfect for bootstraping your javascript project regardless any framework.

Built upon

Getting started

Clone Typescript Webpack Starter

git clone https://github.com/emyann/typescript-webpack-starter.git
cd typescript-webpack-starter
# Install the dependencies
npm install

Run

Start a Webpack dev server

npm start

And go to this URL: http://localhost:3000 - ๐ŸŽ‰

Start a Webpack server with the production configuration

npm run server:prod

Build Only

Build a development release

npm run build

Build a production release

npm run build:prod

After build phase, 3 files are generated into the dist folder:

  • app.bundle.js - contains the core of the application. From the entry point src/index.ts
  • vendor.bundle.js - contains the vendor dependencies
  • index.html - html page with references to the 2 files above

TODO

  • Add TODO example
  • Setup VSCode debug to match webpack-dev-server
  • Setup a webpack common configuration and use webpack-merge
  • Setup unit tests with Jasmine / Karma

typescript-webpack-starter's People

Contributors

cslecours avatar emyann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.