-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added visual dependencies + Application Insights via Local SDK
- Loading branch information
1 parent
dc5e0d2
commit 47044b5
Showing
17 changed files
with
58,969 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/// <binding AfterBuild='externals-update' /> | ||
/* Ease of access routes */ | ||
var nodeRoot = './node_modules/'; | ||
var targetPath = './wwwroot/lib/'; | ||
var jqueryTargetPath = './wwwroot/lib/jquery/dist'; | ||
|
||
module.exports = function (grunt) { | ||
grunt.initConfig({ | ||
clean: [ | ||
targetPath + 'material-components/*', targetPath + 'jquery/*', | ||
targetPath + 'jquery-validation/*', targetPath + 'jquery-validation-unobtrusive/*' | ||
], | ||
copy: { | ||
external: { | ||
files: [ | ||
// jQuery Library | ||
{ | ||
src: nodeRoot + "jquery/dist/*", | ||
dest: jqueryTargetPath, | ||
expand: true, | ||
filter: "isFile", | ||
flatten: true | ||
}, | ||
// Material Components CSS | ||
{ | ||
src: nodeRoot + "material-components-web/dist/*.css", | ||
dest: targetPath + "material-components/css/", | ||
expand: true, | ||
filter: "isFile", | ||
flatten: true | ||
}, | ||
// Material Components JS | ||
{ | ||
src: nodeRoot + "material-components-web/dist/*.js", | ||
dest: targetPath + "material-components/js/", | ||
expand: true, | ||
filter: "isFile", | ||
flatten: true | ||
} | ||
] | ||
} | ||
} | ||
}); | ||
|
||
/** | ||
* Grunt NPM Tasks | ||
*/ | ||
grunt.loadNpmTasks("grunt-contrib-clean"); | ||
grunt.loadNpmTasks("grunt-contrib-copy"); | ||
grunt.loadNpmTasks("grunt-contrib-jshint"); | ||
grunt.loadNpmTasks("grunt-contrib-uglify"); | ||
grunt.loadNpmTasks("grunt-contrib-watch"); | ||
/** | ||
* Grunt Unified Tasks | ||
*/ | ||
grunt.registerTask("externals-update", ["clean", "copy"]); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"dependencies": { | ||
"appInsights1": { | ||
"type": "appInsights", | ||
"connectionId": null | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"dependencies": { | ||
"appInsights1": { | ||
"resourceId": null, | ||
"type": "appInsights.sdk", | ||
"connectionId": null, | ||
"secretStore": null | ||
} | ||
} | ||
} |
Oops, something went wrong.