Giter Club home page Giter Club logo

ng-typescript-webpack-starter's Introduction

Angular/TypeScript/Webpack Starter

This is the initial version of our starter project using Angular 1.x, TypeScript and Webpack to tie it all together.

Commands

  • npm install: install npm dependencies specified in package.json as well as typings specified in tsd.json (typings will be put into app/__typings folder which is also git ignored).
  • npm run build: bundle all of the application including js/css/html files, with index.html generated according to a template specified in app/index.html (Everything will be put into app/__build folder).
  • npm start: will start webpack's development server (with live reloading) on localhost:8080. Note that in this case the bundle will be generated in memory and your bundle in app/__build might get out of sync.
  • npm run clean: removes the bundle generated in app/__build directory
  • npm test: will run the unit tests for the project as specified in karma.conf.js (everything ending in .test.ts will ge picked up, refer to app/src/tests.entry.ts if other extensions should be used).
  • npm run e2e: will run the e2e suite for this project located in app/e2e (refer to wdio.conf.js and gulpfile.js for more info, this is the only gulp dependency).
  • npm run typings: removes existing typings located in app/__typings directory, reinstalls them based on tsd.json, and linkes whatever is available in node_modules (using tsd link).

Improvements

This is an initial version of this setup and will be expanded in the future. Refer to the issues section to see what need to be done, or create a new one.

If something doesn't work

Refer to the issues section to see if this has already been logged. Otherwise create a new issue.

Example Application

At the moment, a modified fork of ngcourse-next application is in the repository. The purpose of it is to set some code structure conventions, as well as to provide a test best for css bundling, unit test setup, e2e tests setup etc. etc.

ng-typescript-webpack-starter's People

Watchers

 avatar  avatar  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.