Gathering detailed insights and metrics for grunt-glue-js
Gathering detailed insights and metrics for grunt-glue-js
Gathering detailed insights and metrics for grunt-glue-js
Gathering detailed insights and metrics for grunt-glue-js
npm install grunt-glue-js
Typescript
Module System
Min. Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5 Stars
26 Commits
2 Forks
2 Watchers
3 Branches
2 Contributors
Updated on May 09, 2021
Latest Version
0.0.5
Package Id
grunt-glue-js@0.0.5
Size
4.21 kB
NPM Version
1.4.28
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
5
Grunt task to build CommonJS modules for the browser using gluejs.
This plugin requires Grunt ~0.4.0
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
1npm install grunt-glue-js --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
1grunt.loadNpmTasks('grunt-glue-js');
Run this task with the grunt gluejs
command.
This task is designed to package CommonJS modules into one file for the browser. It directly depends on gluejs.
Type: String
Default:
The name of the global variable the package is exported to.
Setting it to App
will exports the package as window.App
.
In this example, grunt gluejs
(or more verbosely, grunt gluejs:app
) will package recursively every file in the directory public/scripts
to one single file: public/app.js
. The package will be available in a browser environement under one single global variable: App
.
1// Project configuration. 2grunt.initConfig({ 3 gluejs: { 4 app: { 5 options: { 6 export: 'App', 7 main: 'public/scripts/index.js' 8 }, 9 src: 'public/scripts/**/*.js', 10 dest: 'public/app.js' 11 } 12 } 13});
In this example, we use coffeeify
to package our CoffeeScript app. We also showcase some more options.
1// Project configuration. 2grunt.initConfig({ 3 gluejs: { 4 app: { 5 options: { 6 export: 'App', 7 report: true, 8 debug: true, 9 transform: 'coffeeify', 10 replace: { 11 jQuery: 'window.jQuery' 12 }, 13 main: 'public/scripts/index.coffee' 14 }, 15 src: 'public/scripts/**/*.coffee', 16 dest: 'public/app.js' 17 } 18 } 19});
gluejs
v2 (2.3.7).gluejs
as an npm
dep as requested fixes are now released.basepath
and main
options support.Task submitted by "ngryman" Nicolas Gryman
This file was generated on Sun Apr 28 2013 14:28:22.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 1/21 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More