Added angulartics for google analytics tracking. Reformated json and xml files for new VS default (2 space indenting)

This commit is contained in:
Kyle Spearrin 2016-08-11 18:05:33 -04:00
parent 670e427800
commit d2605c328f
8 changed files with 133 additions and 121 deletions

View File

@ -1,27 +1,27 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:4001/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Web": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "http://localhost:5001",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:4001/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Web": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "http://localhost:5001",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

View File

@ -158,6 +158,13 @@ gulp.task('lib', ['clean:lib'], function () {
{
src: paths.npmDir + 'clipboard/dist/clipboard*.js',
dest: paths.libDir + 'clipboard'
},
{
src: [
paths.npmDir + 'angulartics-google-analytics/lib/angulartics*.js',
paths.npmDir + 'angulartics/src/angulartics.js'
],
dest: paths.libDir + 'angulartics'
}
];

View File

@ -1,43 +1,45 @@
{
"name": "bitwarden",
"version": "0.0.1",
"devDependencies": {
"connect": "3.4.1",
"lodash": "4.13.1",
"gulp": "3.9.1",
"gulp-concat": "2.6.0",
"gulp-cssmin": "0.1.7",
"gulp-less": "3.1.0",
"gulp-rename": "1.2.2",
"gulp-uglify": "1.5.3",
"gulp-gh-pages": "0.5.4",
"gulp-preprocess": "2.0.0",
"gulp-ng-annotate": "2.0.0",
"gulp-ng-config": "1.3.1",
"jshint": "2.9.2",
"gulp-jshint": "2.0.1",
"rimraf": "2.5.2",
"run-sequence": "1.2.1",
"merge-stream": "1.0.0",
"jquery": "2.2.4",
"font-awesome": "4.6.3",
"bootstrap": "3.3.6",
"sjcl": "1.0.3",
"angular": "1.5.6",
"angular-resource": "1.5.6",
"angular-bootstrap-npm": "0.14.3",
"angular-ui-router": "0.3.1",
"angular-jwt": "0.0.9",
"angular-cookies": "1.5.6",
"admin-lte": "2.3.5",
"angular-md5": "0.1.10",
"angular-toastr": "1.7.0",
"angular-bootstrap-show-errors": "2.3.0",
"angular-messages": "1.5.6",
"ngstorage": "0.3.10",
"papaparse": "4.1.2",
"toastr": "2.1.2",
"clipboard": "1.5.12",
"ngclipboard": "1.1.1"
}
"name": "bitwarden",
"version": "0.0.1",
"devDependencies": {
"connect": "3.4.1",
"lodash": "4.13.1",
"gulp": "3.9.1",
"gulp-concat": "2.6.0",
"gulp-cssmin": "0.1.7",
"gulp-less": "3.1.0",
"gulp-rename": "1.2.2",
"gulp-uglify": "1.5.3",
"gulp-gh-pages": "0.5.4",
"gulp-preprocess": "2.0.0",
"gulp-ng-annotate": "2.0.0",
"gulp-ng-config": "1.3.1",
"jshint": "2.9.2",
"gulp-jshint": "2.0.1",
"rimraf": "2.5.2",
"run-sequence": "1.2.1",
"merge-stream": "1.0.0",
"jquery": "2.2.4",
"font-awesome": "4.6.3",
"bootstrap": "3.3.6",
"sjcl": "1.0.3",
"angular": "1.5.6",
"angular-resource": "1.5.6",
"angular-bootstrap-npm": "0.14.3",
"angular-ui-router": "0.3.1",
"angular-jwt": "0.0.9",
"angular-cookies": "1.5.6",
"admin-lte": "2.3.5",
"angular-md5": "0.1.10",
"angular-toastr": "1.7.0",
"angular-bootstrap-show-errors": "2.3.0",
"angular-messages": "1.5.6",
"ngstorage": "0.3.10",
"papaparse": "4.1.2",
"toastr": "2.1.2",
"clipboard": "1.5.12",
"ngclipboard": "1.1.1",
"angulartics": "1.1.2",
"angulartics-google-analytics": "0.2.1"
}
}

View File

@ -1,56 +1,56 @@
{
"version": "0.0.1",
"environment": "Development",
"version": "0.0.1",
"environment": "Development",
"dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
"Microsoft.AspNetCore.StaticFiles": "1.0.0"
},
"dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
"Microsoft.AspNetCore.StaticFiles": "1.0.0"
},
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-preview2-final",
"imports": "portable-net45+win8+dnxcore50"
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-preview2-final",
"imports": "portable-net45+win8+dnxcore50"
}
},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0",
"type": "platform"
}
},
}
}
},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0",
"type": "platform"
}
}
}
},
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
"runtimeOptions": {
"gcServer": false,
"gcConcurrent": true
},
"runtimeOptions": {
"gcServer": false,
"gcConcurrent": true
},
"publishOptions": {
"include": [
"wwwroot",
"Views",
"settings.json",
"settings.Development.json",
"settings.Production.json",
"settings.Staging.json",
"web.config"
]
},
"publishOptions": {
"include": [
"wwwroot",
"Views",
"settings.json",
"settings.Development.json",
"settings.Production.json",
"settings.Staging.json",
"web.config"
]
},
"scripts": {
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
},
"scripts": {
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
},
"userSecretsId": "aspnet-Vault-20160519103145"
"userSecretsId": "aspnet-Vault-20160519103145"
}

View File

@ -1,5 +1,5 @@
{
"appSettings": {
"rememberdEmailCookieName": "bit.rememberedEmail"
}
"appSettings": {
"rememberdEmailCookieName": "bit.rememberedEmail"
}
}

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
</system.webServer>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
</system.webServer>
</configuration>

View File

@ -6,6 +6,8 @@
'angular-md5',
'ui.bootstrap.showErrors',
'toastr',
'angulartics',
'angulartics.google.analytics',
'bit.directives',
'bit.services',

View File

@ -48,7 +48,6 @@
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-81915606-4', 'auto');
ga('send', 'pageview');
</script>
<!-- @endif -->
<!-- @exclude -->
@ -75,6 +74,8 @@
<script src="lib/angular-bootstrap-show-errors/showErrors.js"></script>
<script src="lib/ngstorage/ngStorage.js"></script>
<script src="lib/ngclipboard/ngclipboard.js"></script>
<script src="lib/angulartics/angulartics.js"></script>
<script src="lib/angulartics/angulartics-ga.js"></script>
<script src="app/app.js"></script>
<script src="app/settings.js"></script>