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

generator-durandal

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-durandal

Complete Yeoman generator for Durandal with subgenerators

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

generator-durandal Build Status NPM version

Complete Yeoman generator for Durandal with subgenerators.

Getting Started

Install Yeoman

This generator need Yeoman to be installed.

$ npm install -g yo

Install Generator

To install generator-durandal from npm, run:

$ npm install -g generator-durandal

Then, initiate the generator:

$ yo durandal

Application is ready. Start development using a little HTTP server and live reload:

$ grunt serve

Getting To Know Yeoman

Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

Development

Build Configurations

Some build configurations are already defined using Grunt.

build

Use build configuration to build your application to production. It concatenates and minify your javascript, css, html and reduces your images' size.

$ grunt build
test

Use test configuration to test your application before building. It tests your application using jasmine and phantomjs.

$ grunt test
serve

Use serve configuration to develop your application and test it into browser. It host your application in a mini HTTP server with live reloading of your assets.

$ grunt serve
serve-build

Use serve configuration to develop your application and test it into browser. It host your application in a mini HTTP server with live reloading of your assets.

$ grunt serve-build
default

Use default configuration to build and test your application. It lints, builds and tests your application.

$ grunt

Sub Generators

ViewModel

You can create a viewmodel using a yeoman subgenerator. It allows to create a viewmodel, its view and append it to router.

$ yo durandal:viewmodel

License

MIT License

Keywords

FAQs

Package last updated on 30 Jun 2014

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