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

grunt-eco

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-eco

JavaScripts your Embedded CoffeeScript Templates

  • 0.0.2
  • Source
  • npm
  • Socket score

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

grunt-eco

JavaScripts your Embedded CoffeeScript Templates

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-eco

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-eco');

Documentation

You'll need to install grunt-eco first:

npm install grunt-eco

Then modify your grunt.js file by adding the following line:

grunt.loadNpmTasks('grunt-eco');

Then add some configuration for the plugin like so:

grunt.initConfig({
    ...
    eco: {
      app: {
        src: ['path/to/eco/files/*.eco'],
        dest: 'where/you/want/your/js/files'
      }
    },
    ...
});

Then just run grunt eco and enjoy!

If you have dest path and want to preserve the directory structure of your eco files, pass the preserve_dirs option.

options: {
    preserve_dirs: true
}

Also, if you just want to preserve the directory structure, starting from a base path, pass the base_path option.

options: {
    preserve_dirs: true,
    base_path: 'path/to'
}

This will create the files under where/you/want/your/js/files/eco/files/.

Acknowledgment

This grunt plugin is based on and heavily inspired by grunt-coffee. Thanks @avalade

Todo

  • add specs

License

Copyright (c) 2012 Gregor Martynus Licensed under the MIT license.

Keywords

FAQs

Package last updated on 04 Mar 2013

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