Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
grunt-durandal
Advanced tools
Grunt Durandal Builder - Build durandal project using a custom require config and a custom almond
Grunt task to build Durandal projects using a custom require config with a custom almond
Install this grunt plugin next to your project's gruntfile with: npm install grunt-durandal --save-dev
Then add this line to your project's Gruntfile.js
:
grunt.loadNpmTasks("grunt-durandal");
Then specify your config: (more informations)
grunt.initConfig({
durandal: {
dist: {
src: [
"app/**/*.*",
"scripts/durandal/**/*.*"
],
options: {
baseUrl: "app/",
mainPath: "app/main.js",
out: "app/main-built.js",
uglify2: {
compress: {
global_defs: {
DEBUG: false
}
}
}
}
}
}
});
Using the configuration above, consider the following app structure :
After running the grunt task, a main-built file will be created in your app folder. This file contains a custom almond, and all your modules inlined (views included as text!...)
FAQs
Grunt Durandal Builder - Build durandal project using a custom require config and a custom almond
We found that grunt-durandal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.