Socket
Socket
Sign inDemoInstall

gruntfile-convention-angular

Package Overview
Dependencies
4
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gruntfile-convention-angular

Grunt convetions over configuration angular app


Version published
Weekly downloads
21
increased by950%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

An easier way to build with grunt.

With convention over configuration you don't need a large Gruntfile and package.json.

You will get the following for "free":

  1. Testing with jasmine and PhantomJS
  2. Bower installation and inclusion
  3. LESS
  4. JSHint
  5. HTML validation
  6. angular templtes to js
  7. ng annotations
  8. js minification
  9. css minification
  10. html minification
  11. cache busting

Firstly

npm install

Run tests

grunt test

Run http server:

grunt run

Build distribution

grunt dist

File structure convention

  • src
  • assets
  • js
  • less
  • templates (angular templates end in .tmpl)
  • test
  • package.json
  • gruntfile.js
  • bower.json

Keywords

FAQs

Last updated on 31 Mar 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc