Giter Site home page Giter Site logo

kanefreeman / angular2-dgeni-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webintensive/angular2-dgeni-starter

0.0 2.0 0.0 13 KB

An angular2 dgeni starter with webpack and typescript. NOTE: this repo is work in-progress.

License: MIT License

JavaScript 81.76% HTML 5.72% CSS 0.52% TypeScript 11.99%

angular2-dgeni-starter's Introduction

Angular 2/TypeScript/Dgeni/Webpack Starter

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

Quickstart

To run a development server run the following command. The initial site will only show an angular 2 button component.

Dev

$ npm run dev

How to generate documentation

To populate the starter site with documentation, a repo with files containing jsdocs must be placed at the same root directory as this project. It's name must also be specified in dgeni-templates/dgeni-package.js.

Building partial templates for angular 2 components

$ npm run docs

If this command is not called, the starter site will have no content, but its app shell will still be visible.

npm scripts

To see all available scripts:

$ npm run

This runs a development mode server with live reload etc.

Open http://localhost:8080 in your browser.

Production

$ npm install
$ npm start

This runs a production-ready express server that serves up a bundled and minified version of the client.

Open http://localhost:8080 in your browser.

Tests

Single Run (with linting and coverage)

$ npm test
# or
$ npm t

Watch Files

$ npm run test:watch

Coverage

$ npm run cover

angular2-dgeni-starter's People

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.