
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.