
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
JavaScripts your Embedded CoffeeScript Templates
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');
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/
.
This grunt plugin is based on and heavily inspired by grunt-coffee. Thanks @avalade
Copyright (c) 2012 Gregor Martynus Licensed under the MIT license.
FAQs
Compiles embedded CoffeeScript templates
The npm package grunt-eco receives a total of 2 weekly downloads. As such, grunt-eco popularity was classified as not popular.
We found that grunt-eco demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.