GithubHelp home page GithubHelp logo

srogers909 / angularjs-webpack-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frederikprijck/angularjs-webpack-starter

1.0 2.0 0.0 100 KB

:rocket: A modern frontend setup for AngularJS projects using NPM, TypeScript and Webpack.

JavaScript 27.36% TypeScript 67.29% HTML 3.81% CSS 1.54%

angularjs-webpack-starter's Introduction

angularjs-webpack-starter

Greenkeeper badge Build Status Dependencies DepDependencies Coverage Status

The goal of this repository is to demonstrate a modern frontend setup for AngularJS projects, in such a way that it gets closer to how things are done with Angular. This project is using NPM as package manager, TypeScript and Webpack as module loader.

This is, by no means, ment to be used blindly in production.

Features

  • TypeScript 2
  • TSLint
  • @types
  • Webpack 4 + Webpack dev server
  • Karma + Jasmine
  • Protractor
  • Styling using SASS
  • NPM
  • Code Coverage
  • AngularJS 1.6
  • UI Router 1+
  • Strict DI using ngAnnotate
  • Production build containing chunks

Usage

To use this starter you can simply clone it to your prefered location by using

 git clone https://github.com/frederikprijck/angularjs-webpack-starter.git <directory_name> --depth=1
 cd <directory_name>

and install the dependencies

 npm install

Once the repository has been cloned locally, you can use the following CLI commands:

npm start
npm run build
npm run test
npm run test:coverage

To run the production build, use:

npm run build:prd

If you would like to test the production build by running http-server, use

npm run serve:prd

Contributions

Feel free to open an issue or create a PR.

angularjs-webpack-starter's People

Contributors

frederikprijck avatar greenkeeper[bot] avatar tommck avatar

Stargazers

 avatar

Watchers

 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.