Gathering detailed insights and metrics for grunt-simple-concat
Gathering detailed insights and metrics for grunt-simple-concat
Gathering detailed insights and metrics for grunt-simple-concat
Gathering detailed insights and metrics for grunt-simple-concat
Replace referenced JS file paths with one single JS in your HTML
npm install grunt-simple-concat
Typescript
Module System
Node Version
NPM Version
JavaScript (95.78%)
HTML (4.22%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
23 Commits
2 Watchers
6 Branches
1 Contributors
Updated on May 02, 2020
Latest Version
2.0.4
Package Id
grunt-simple-concat@2.0.4
Unpacked Size
5.51 MB
Size
1.53 MB
File Count
1,970
NPM Version
6.4.1
Node Version
10.13.0
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
simpleConcat: {
main: {
src: 'app/index.html',
cwd: './', // working dir relative(or absolute) path,
scriptsDir: 'scripts', // directory in dest path that should contain script files; optional
dest: 'dist'
}
}
simple
tags with target name after :
in your html. And enclose your script tags inside simple
tags.Example-
<!-- simple:vendor -->
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/angular/angular.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.js"></script>
<script src="node_modules/angular-ui-bootstrap/dist/ui-bootstrap-tpls.js"></script>
<script src="node_modules/angular-animate/angular-animate.js"></script>
<script src="node_modules/angular-cookies/angular-cookies.js"></script>
<script src="node_modules/angular-messages/angular-messages.js"></script>
<script src="node_modules/angular-resource/angular-resource.js"></script>
<script src="node_modules/angular-route/angular-route.js"></script>
<script src="node_modules/angular-sanitize/angular-sanitize.js"></script>
<script src="node_modules/angular-touch/angular-touch.js"></script>
<script src="node_modules/jquery-ui-dist/jquery-ui.js"></script>
<script src="node_modules/ng-file-upload/dist/ng-file-upload.js"></script>
<script src="node_modules/adal-angular/lib/adal.js"></script>
<script src="node_modules/adal-angular/lib/adal-angular.js"></script>
<script src="node_modules/moment/moment.js"></script>
<script src="node_modules/underscore/underscore.js"></script>
<script src="node_modules/ng-idle/angular-idle.js"></script>
<script src="node_modules/ui-select/dist/select.js"></script>
<script src="node_modules/select2/dist/js/select2.js"></script>
<script src="node_modules/validate.js/validate.js"></script>
<script src="node_modules/angular-ui-sortable/dist/sortable.js"></script>
<script src="node_modules/chart.js/dist/Chart.js"></script>
<script src="node_modules/jquery-tokeninput/dist/js/jquery-tokeninput.min.js"></script>
<!-- endsimple -->
vendor.js
file in specified dest
folder and your html will have all these replaced with single script
tag with path for vendor.js
A sample task config and setup is added in testing/
folder. Simply create an index.html
with similar kind of content as index.example.html
as given in app
folder. Then run npm i
to install the dependencies and finally run grunt
Don't forget to hit a star, if this saved your life by working in your legacy project!
Also, switch to webpack
asap!
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/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
Reason
20 existing vulnerabilities detected
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