GithubHelp home page GithubHelp logo

shraklor / angular2-seed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pablodenadai/angular2-seed-project

0.0 2.0 0.0 14 KB

:zap::sparkles: Light-weight and easy to use seed project for Angular 2 app development. :sparkles::zap:

JavaScript 79.42% TypeScript 14.99% HTML 5.03% CSS 0.55%

angular2-seed's Introduction

Angular 2 - Seed Project

Light-weight and easy to use seed project for Angular 2 app development.

Angular 2 is still in alpha and it shouldn't be used in production.

Stack

  • Angular 2
  • TypeScript
  • Gulp 4
  • Unit Testing: Karma -> Jasmine
  • E2E Testing: Protractor

Features

  • Fully automated development workflow using Gulp.
  • Modular project structure.
  • Unit and E2E test samples.
  • Code-coverage with TypeScript mapping.
  • TypeScript support - Code linting, sourcemaps and transpilation to JS ES5.
  • LESS support - Code linting, sourcemaps and transpilation to CSS.
  • Watcher and live-reload support.
  • TypeDoc documentation generator.
  • Development and production environment targets.

Install

$ npm install
$ gulp build serve

Usage

Tasks

  • $ gulp clean: Remove generated folders - build, docs and coverage.
  • $ gulp unit: Run Karma against all test/unit/*.spec.js files. The project must have been previously built as test are ran against the .js transpiled files.
  • $ gulp e2e: Run Protractor against all test/e2e/*.e2e.js files. The project must be being served before running end-to-end tests.
  • $ gulp build: Create distribution package. See environment targets below.
  • $ gulp serve: Starts webserver and live-reload. See environment targets below.

Targets

Use --dev and --prod modifiers for development and production targets where --dev is the default modifier.

  • $ gulp build serve is equivalent to $ gulp build serve --dev.
  • $ gulp build serve --prod.
  • $ gulp unit is equivalent to $ gulp unit --dev.
  • $ gulp unit --prod.

angular2-seed's People

Contributors

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