Added angulartics for google analytics tracking. Reformated json and xml files for new VS default (2 space indenting)
This commit is contained in:
parent
670e427800
commit
d2605c328f
|
@ -1,27 +1,27 @@
|
||||||
{
|
{
|
||||||
"iisSettings": {
|
"iisSettings": {
|
||||||
"windowsAuthentication": false,
|
"windowsAuthentication": false,
|
||||||
"anonymousAuthentication": true,
|
"anonymousAuthentication": true,
|
||||||
"iisExpress": {
|
"iisExpress": {
|
||||||
"applicationUrl": "http://localhost:4001/",
|
"applicationUrl": "http://localhost:4001/",
|
||||||
"sslPort": 0
|
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"profiles": {
|
||||||
|
"IIS Express": {
|
||||||
|
"commandName": "IISExpress",
|
||||||
|
"launchBrowser": true,
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Web": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"launchBrowser": true,
|
||||||
|
"launchUrl": "http://localhost:5001",
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,6 +158,13 @@ gulp.task('lib', ['clean:lib'], function () {
|
||||||
{
|
{
|
||||||
src: paths.npmDir + 'clipboard/dist/clipboard*.js',
|
src: paths.npmDir + 'clipboard/dist/clipboard*.js',
|
||||||
dest: paths.libDir + 'clipboard'
|
dest: paths.libDir + 'clipboard'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: [
|
||||||
|
paths.npmDir + 'angulartics-google-analytics/lib/angulartics*.js',
|
||||||
|
paths.npmDir + 'angulartics/src/angulartics.js'
|
||||||
|
],
|
||||||
|
dest: paths.libDir + 'angulartics'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,43 +1,45 @@
|
||||||
{
|
{
|
||||||
"name": "bitwarden",
|
"name": "bitwarden",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"connect": "3.4.1",
|
"connect": "3.4.1",
|
||||||
"lodash": "4.13.1",
|
"lodash": "4.13.1",
|
||||||
"gulp": "3.9.1",
|
"gulp": "3.9.1",
|
||||||
"gulp-concat": "2.6.0",
|
"gulp-concat": "2.6.0",
|
||||||
"gulp-cssmin": "0.1.7",
|
"gulp-cssmin": "0.1.7",
|
||||||
"gulp-less": "3.1.0",
|
"gulp-less": "3.1.0",
|
||||||
"gulp-rename": "1.2.2",
|
"gulp-rename": "1.2.2",
|
||||||
"gulp-uglify": "1.5.3",
|
"gulp-uglify": "1.5.3",
|
||||||
"gulp-gh-pages": "0.5.4",
|
"gulp-gh-pages": "0.5.4",
|
||||||
"gulp-preprocess": "2.0.0",
|
"gulp-preprocess": "2.0.0",
|
||||||
"gulp-ng-annotate": "2.0.0",
|
"gulp-ng-annotate": "2.0.0",
|
||||||
"gulp-ng-config": "1.3.1",
|
"gulp-ng-config": "1.3.1",
|
||||||
"jshint": "2.9.2",
|
"jshint": "2.9.2",
|
||||||
"gulp-jshint": "2.0.1",
|
"gulp-jshint": "2.0.1",
|
||||||
"rimraf": "2.5.2",
|
"rimraf": "2.5.2",
|
||||||
"run-sequence": "1.2.1",
|
"run-sequence": "1.2.1",
|
||||||
"merge-stream": "1.0.0",
|
"merge-stream": "1.0.0",
|
||||||
"jquery": "2.2.4",
|
"jquery": "2.2.4",
|
||||||
"font-awesome": "4.6.3",
|
"font-awesome": "4.6.3",
|
||||||
"bootstrap": "3.3.6",
|
"bootstrap": "3.3.6",
|
||||||
"sjcl": "1.0.3",
|
"sjcl": "1.0.3",
|
||||||
"angular": "1.5.6",
|
"angular": "1.5.6",
|
||||||
"angular-resource": "1.5.6",
|
"angular-resource": "1.5.6",
|
||||||
"angular-bootstrap-npm": "0.14.3",
|
"angular-bootstrap-npm": "0.14.3",
|
||||||
"angular-ui-router": "0.3.1",
|
"angular-ui-router": "0.3.1",
|
||||||
"angular-jwt": "0.0.9",
|
"angular-jwt": "0.0.9",
|
||||||
"angular-cookies": "1.5.6",
|
"angular-cookies": "1.5.6",
|
||||||
"admin-lte": "2.3.5",
|
"admin-lte": "2.3.5",
|
||||||
"angular-md5": "0.1.10",
|
"angular-md5": "0.1.10",
|
||||||
"angular-toastr": "1.7.0",
|
"angular-toastr": "1.7.0",
|
||||||
"angular-bootstrap-show-errors": "2.3.0",
|
"angular-bootstrap-show-errors": "2.3.0",
|
||||||
"angular-messages": "1.5.6",
|
"angular-messages": "1.5.6",
|
||||||
"ngstorage": "0.3.10",
|
"ngstorage": "0.3.10",
|
||||||
"papaparse": "4.1.2",
|
"papaparse": "4.1.2",
|
||||||
"toastr": "2.1.2",
|
"toastr": "2.1.2",
|
||||||
"clipboard": "1.5.12",
|
"clipboard": "1.5.12",
|
||||||
"ngclipboard": "1.1.1"
|
"ngclipboard": "1.1.1",
|
||||||
}
|
"angulartics": "1.1.2",
|
||||||
|
"angulartics-google-analytics": "0.2.1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,56 +1,56 @@
|
||||||
{
|
{
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"environment": "Development",
|
"environment": "Development",
|
||||||
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
|
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
|
||||||
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
|
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
|
||||||
"Microsoft.AspNetCore.StaticFiles": "1.0.0"
|
"Microsoft.AspNetCore.StaticFiles": "1.0.0"
|
||||||
},
|
},
|
||||||
|
|
||||||
"tools": {
|
"tools": {
|
||||||
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
|
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
|
||||||
"version": "1.0.0-preview2-final",
|
"version": "1.0.0-preview2-final",
|
||||||
"imports": "portable-net45+win8+dnxcore50"
|
"imports": "portable-net45+win8+dnxcore50"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"frameworks": {
|
||||||
|
"netcoreapp1.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"type": "platform"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"buildOptions": {
|
||||||
"netcoreapp1.0": {
|
"emitEntryPoint": true,
|
||||||
"dependencies": {
|
"preserveCompilationContext": true
|
||||||
"Microsoft.NETCore.App": {
|
},
|
||||||
"version": "1.0.0",
|
|
||||||
"type": "platform"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"buildOptions": {
|
"runtimeOptions": {
|
||||||
"emitEntryPoint": true,
|
"gcServer": false,
|
||||||
"preserveCompilationContext": true
|
"gcConcurrent": true
|
||||||
},
|
},
|
||||||
|
|
||||||
"runtimeOptions": {
|
"publishOptions": {
|
||||||
"gcServer": false,
|
"include": [
|
||||||
"gcConcurrent": true
|
"wwwroot",
|
||||||
},
|
"Views",
|
||||||
|
"settings.json",
|
||||||
|
"settings.Development.json",
|
||||||
|
"settings.Production.json",
|
||||||
|
"settings.Staging.json",
|
||||||
|
"web.config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
"publishOptions": {
|
"scripts": {
|
||||||
"include": [
|
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
|
||||||
"wwwroot",
|
},
|
||||||
"Views",
|
|
||||||
"settings.json",
|
|
||||||
"settings.Development.json",
|
|
||||||
"settings.Production.json",
|
|
||||||
"settings.Staging.json",
|
|
||||||
"web.config"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
"scripts": {
|
"userSecretsId": "aspnet-Vault-20160519103145"
|
||||||
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
|
|
||||||
},
|
|
||||||
|
|
||||||
"userSecretsId": "aspnet-Vault-20160519103145"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"appSettings": {
|
"appSettings": {
|
||||||
"rememberdEmailCookieName": "bit.rememberedEmail"
|
"rememberdEmailCookieName": "bit.rememberedEmail"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<handlers>
|
<handlers>
|
||||||
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
|
||||||
</handlers>
|
</handlers>
|
||||||
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
|
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
'angular-md5',
|
'angular-md5',
|
||||||
'ui.bootstrap.showErrors',
|
'ui.bootstrap.showErrors',
|
||||||
'toastr',
|
'toastr',
|
||||||
|
'angulartics',
|
||||||
|
'angulartics.google.analytics',
|
||||||
|
|
||||||
'bit.directives',
|
'bit.directives',
|
||||||
'bit.services',
|
'bit.services',
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', 'UA-81915606-4', 'auto');
|
ga('create', 'UA-81915606-4', 'auto');
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
</script>
|
||||||
<!-- @endif -->
|
<!-- @endif -->
|
||||||
<!-- @exclude -->
|
<!-- @exclude -->
|
||||||
|
@ -75,6 +74,8 @@
|
||||||
<script src="lib/angular-bootstrap-show-errors/showErrors.js"></script>
|
<script src="lib/angular-bootstrap-show-errors/showErrors.js"></script>
|
||||||
<script src="lib/ngstorage/ngStorage.js"></script>
|
<script src="lib/ngstorage/ngStorage.js"></script>
|
||||||
<script src="lib/ngclipboard/ngclipboard.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/app.js"></script>
|
||||||
<script src="app/settings.js"></script>
|
<script src="app/settings.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue