Skip to content

Commit

Permalink
install by npm
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrant committed Oct 18, 2018
1 parent 68f6ba9 commit a98975e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/templates/app/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
{% if isAnalyticsEnabled %}
<script type="text/javascript" src="{% static 'app/scripts/analytics.js' %}" async></script>
{% endif%}
<script async type="text/javascript" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=USDA&subagency=ARS-NAL" id="_fed_an_ua_tag"></script>
</head>

<body class="padtop {% block bodyclass %}{% endblock %}">
Expand Down
1 change: 1 addition & 0 deletions i5k/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@
'app/scripts/respond.src.js',
'app/scripts/underscore.js',
'app/scripts/error.js',
'app/scripts/Universal-Federated-Analytics-Min.js',
),
'output_filename': 'app/scripts/app-layout.min.js',
},
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
"underscore": "^1.7.0",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.1"
"Universal-Federated-Analytics-Min.js": "https://github.com/digital-analytics-program/gov-wide-code.git"
}
}
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const appScriptConfig = {
{ from: path.join(nodeModules, '/bootstrap/dist/js/bootstrap.js'), to: appScripts},
{ from: path.join(nodeModules, '/underscore/underscore.js'), to: appScripts},
{ from: path.join(nodeModules, '/Respond.js/dest/respond.src.js'), to: appScripts},
{ from: path.join(nodeModules, '/gov-wide-code-master/Universal-Federated-Analytics-Min.js'), to: appScripts},
{ from: path.join(nodeModules, '/bootstrap/dist/css/bootstrap.css'), to: appStyles},
{ from: path.join(nodeModules, '/bootstrap/dist/css/bootstrap.css.map'), to: appStyles},
{ from: path.join(nodeModules, '/bootstrap/dist/fonts/glyphicons-halflings-regular.eot'), to: appFonts},
Expand Down

0 comments on commit a98975e

Please sign in to comment.