New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-angularjs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-angularjs

A generator for AngularJS apps

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

A Yeoman generator for Angular apps with built in support for AMD, r.js and Karma

Features:

  • Angular AMD support
  • Single require.js app/tests config
  • Require.js optimization support (r.js)
  • Karma test runner support
  • Mocha/Chai support

1. Generating a new app

npm install -g yo generator-generator
npm install -g generator-angularjs

yo angularjs

2. Grunt tasks

2.1. Running the app in dev mode
grunt express:dev
http://localhost:9000
2.2. Running the app in prod mode
grunt requirejs
grunt express:prod
http://localhost:9000

Note: If r.js raises a bad syntax error, use the following command:

grunt requirejs --force
2.3. Running unit tests
grunt karma:unit

Keywords

FAQs

Package last updated on 01 Feb 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