npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

angular2-sample-app

v0.0.0

Published

Extended seed for Angular 2 apps

Downloads

4

Readme

WARNING

This project is no longer maintained. For Angular 2 starter take a look at the angular2-seed, that this project is based on.

Introduction

Sample application based upon mgechev/ angular2-seed.

Join the chat at https://gitter.im/mgechev/angular2-seed Dependency Status devDependency Status

Note: Angular 2.0 is not production ready yet! This project is perfect for playing around with the latest versions but do not start new projects with it since a lot of new changes are going to be introduced until the framework is officially released.

Features

  • Component styling
  • Custom Directive
  • Router module (implementing child routes*)
  • Http module
  • Form module (using template driven form approach)

How to start

Note that this seed project requires node v0.12.x or higher and npm 3.x.x.

npm install
# dev
npm run serve.dev

Does not rely on any global dependencies.

Directory Structure

.
├── app
│   ├── components
│   │   ├── about
│   │   │   ├── about.html
│   │   │   ├── about.ts
│   │   │   └── about_spec.ts
│   │   └── home
│   │       ├── home.css
│   │       ├── home.html
│   │       ├── home.ts
│   │       └── home_spec.ts
│   ├── services
│   │   ├── name_list.ts
│   │   └── name_list_spec.ts
│   ├── typings
│   ├── app.css
│   ├── app.html
│   ├── app.ts
│   ├── index.html
│   └── init.ts
├── dist
│   ├── dev
│   └── prod
├── tools
│   ├── tasks
│   ├── utils.js
│   └── workflow.config.js
├── tsd_typings
├── gulpfile.js
├── karma.conf.js
├── package.json
├── test-main.js
├── tsconfig.json
└── tsd.json

Configuration

Default application server configuration

var PORT             = 5555;
var LIVE_RELOAD_PORT = 4002;
var APP_BASE         = '/';

Configure at runtime

npm run serve.dev -- --port 8080 --reload-port 4000 --base /my-app/

Now to extend?

If you want to use your custom libraries:

npm install my-library --save
vim gulpfile.js

Add reference to the installed library in PATH.src.lib into ./tools/workflow.config.js.

Running test

# In a single bash window
npm run test

# Debug - In two bash windows
npm run karma      # 1st window
npm run test.dev   # 2nd window

Contributors

| | | | | | :---: |:---: |:---: |:---: |:---: |:---: | mgechev |ludohenin |NathanWalker |tarlepp |aboeglin |jerryorta-dev |

| | | | | | :---: |:---: |:---: |:---: |:---: |:---: | TuiKiken |ryzy |ultrasonicsoft |mjwwit |natarajanmca11 |philipooo |

| | | | :---: |:---: |:---: |:---: | redian |robertpenner |jgolla |dstockhammer |

Change Log

You can follow the Angular 2 change log here.

License

MIT