Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-angular-typescript-gulp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-angular-typescript-gulp

A no-fluff yeoman generator for AngularJS/Typescript apps, uses Gulp instead of Grunt

  • 0.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

generator-angular-typescript-gulp NPM version

A no-fluff yeoman generator for AngularJS/Typescript apps, uses Gulp instead of Grunt

What you get

Once you've run the generator, you'll have:

  • A demo page, injected with bower dependencies plus wired to compile and inject your own src files
  • Gulp tasks for transpiling, concatenating and minifying TS -> JS
  • Gulp tasks for compiling, concatenating and minifying SASS -> CSS
  • Gulp tasks for compiling and injecting your directives with angular template cache
  • Gulp tasks to watch (nodemon) and serve files with express
  • A shell Angular-TypeScript app, with TypeScript Definitions hooked up ready to go

Installation

First, install Yeoman and generator-angular-typescript-gulp using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-angular-typescript-gulp

Then generate your new project:

yo angular-typescript-gulp

Then build and serve (oh yeah, you'll also need tsd installed):

tsd install
gulp

App scaffold

project/
│   README.md
│   bower.json
│   gulpfile.js
│   package.json
│   server.js
│   tsd.json   
└───node_modules/
│
│
└───typings/
│       tsd.d.ts
│    
└───public/
    │   index.html   
    │
    ├───dist/ 
    │
    │   
    ├───lib/ (aka bower_components)    
    │  
    │
    └───src/ (add your own components in here)
        │    
        └───app/
            │   app.ts   
            │
            demo/ (example component)    
    

Just write and add your own src files (.ts, .html, .scss) to tidy little component folders under public/src (example: public/src/demo folder), and they'll be gulped and served.

Project framework options

(ok a little fluff)

  • Front-end framework: Bootstrap, Foundation
  • Icon font: Font Awesome (or Bootstrap comes with Glyphs)

License

Apache-2.0 © Daniel Wild

Keywords

FAQs

Package last updated on 15 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc