Skip to content

Commit 58263be

Browse files
added all packages to npm but signalr
1 parent 5f58bee commit 58263be

15 files changed

+168
-150
lines changed

AspNetCoreAngular2.sln

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E44E1DEB-3EC1-49B3-BAEF-7195C1FA7F16}"
99
ProjectSection(SolutionItems) = preProject
1010
global.json = global.json
11+
README.md = README.md
1112
EndProjectSection
1213
EndProject
1314
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.SignalR.Messaging", "src\Microsoft.AspNet.SignalR.Messaging\Microsoft.AspNet.SignalR.Messaging.xproj", "{1A8EEF26-BA42-496D-9CAE-722581F9777C}"

src/AspNetCoreAngular2/bower.json

+21-22
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "aspnet5angular2demo",
3-
"description": "",
4-
"main": "wwwroot/index.html",
5-
"authors": [
6-
"Fabian Gosebrink",
7-
"DamienBod"
8-
],
9-
"license": "ISC",
10-
"moduleType": [ ],
11-
"homepage": "",
12-
"private": true,
13-
"ignore": [
14-
"**/.*",
15-
"node_modules",
16-
"bower_components",
17-
"test",
18-
"tests"
19-
],
20-
"dependencies": {
21-
"bootstrap": "~3.3.6",
22-
"signalr": "~2.2.0"
23-
}
2+
"name": "aspnet5angular2demo",
3+
"description": "",
4+
"main": "wwwroot/index.html",
5+
"authors": [
6+
"Fabian Gosebrink",
7+
"DamienBod"
8+
],
9+
"license": "ISC",
10+
"moduleType": [],
11+
"homepage": "",
12+
"private": true,
13+
"ignore": [
14+
"**/.*",
15+
"node_modules",
16+
"bower_components",
17+
"test",
18+
"tests"
19+
],
20+
"dependencies": {
21+
"signalr": "~2.2.0"
22+
}
2423
}

src/AspNetCoreAngular2/gulp.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ module.exports = {
3535
vendorJsFiles: [
3636
"node_modules/angular2/bundles/angular2-polyfills.js",
3737
"node_modules/angular2/bundles/angular2.dev.js",
38-
"bower_components/bootstrap/dist/js/bootstrap.js",
38+
"node_modules/bootstrap/dist/js/bootstrap.js",
3939
"node_modules/es6-shim/es6-shim.min.js",
4040
"node_modules/angular2/bundles/http.dev.js",
41-
"bower_components/jquery/dist/jquery.js",
41+
"node_modules/jquery/dist/jquery.js",
4242
"bower_components/signalr/jquery.signalR.js",
4343
"node_modules/angular2/bundles/router.dev.js",
4444
"node_modules/angular2/es6/dev/src/testing/shims_for_IE.js",

src/AspNetCoreAngular2/gulpfile.js

+17
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ var symdest = require('gulp-symdest');
55
var del = require('del');
66
var NwBuilder = require('nw-builder');
77
var taskListing = require('gulp-task-listing');
8+
var concat = require('gulp-concat');
89

910
gulp.task('default', ['help']);
1011
gulp.task('help', taskListing.withFilters(/-/));
@@ -36,6 +37,22 @@ gulp.task('copy:vendor:js:to:wwwroot', function(done){
3637
done);
3738
});
3839

40+
gulp.task('test', function () {
41+
42+
return gulp.src(
43+
["./wwwroot/app/boot.js",
44+
"./wwwroot/app/app.component.js",
45+
"./wwwroot/app/**/*.js"])
46+
.pipe(concat("hallelujah.js"))
47+
.pipe(gulp.dest("./wwwroot/"));
48+
49+
/*
50+
return gulp.src(allSources)
51+
.pipe(concat(targetFileName))
52+
.pipe(uglify())
53+
.pipe(gulp.dest(path.join(prodFolder, 'js')));*/
54+
});
55+
3956
gulp.task('copy-vendor-js-to-wwwroot', function () {
4057
return gulp.src(buildConfig.config.vendorJsFiles)
4158
.pipe(gulp.dest(buildConfig.config.rootJsFolder))

src/AspNetCoreAngular2/package.json

+39-37
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
{
2-
"name": "aspnet5angular2demo",
3-
"version": "1.0.0",
4-
"description": "",
5-
"main": "wwwroot/index.html",
6-
"author": "",
7-
"license": "ISC",
8-
"dependencies": {
9-
"angular2": "2.0.0-beta.7",
10-
"systemjs": "0.19.20",
11-
"es6-promise": "^3.0.2",
12-
"es6-shim": "^0.33.3",
13-
"reflect-metadata": "0.1.2",
14-
"rxjs": "5.0.0-beta.2",
15-
"zone.js": "0.5.15"
16-
},
17-
"devDependencies": {
18-
"del": "^2.2.0",
19-
"electron-prebuilt": "^0.36.7",
20-
"gulp": "^3.9.0",
21-
"gulp-atom-electron": "^1.4.0",
22-
"gulp-concat": "^2.6.0",
23-
"gulp-inject": "^3.0.0",
24-
"gulp-symdest": "^1.0.0",
25-
"gulp-task-listing": "^1.0.1",
26-
"nw-builder": "^2.2.0",
27-
"run-sequence": "^1.1.5",
28-
"tslint": "^3.3.0",
29-
"typescript": "^1.7.5",
30-
"typings": "^0.6.8"
31-
},
32-
"scripts": {
33-
"postinstall": "bower install && npm run typings install && gulp copy:vendor:js:to:wwwroot",
34-
"tsc": "tsc",
35-
"tsc:w": "tsc -w",
36-
"typings": "typings"
37-
}
38-
}
2+
"name": "aspnet5angular2demo",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "wwwroot/index.html",
6+
"author": "",
7+
"license": "ISC",
8+
"dependencies": {
9+
"angular2": "2.0.0-beta.7",
10+
"bootstrap": "^3.3.6",
11+
"es6-promise": "^3.0.2",
12+
"es6-shim": "^0.33.3",
13+
"jquery": "^2.2.1",
14+
"reflect-metadata": "0.1.2",
15+
"rxjs": "5.0.0-beta.2",
16+
"systemjs": "0.19.20",
17+
"zone.js": "0.5.15"
18+
},
19+
"devDependencies": {
20+
"del": "^2.2.0",
21+
"electron-prebuilt": "^0.36.7",
22+
"gulp": "^3.9.0",
23+
"gulp-atom-electron": "^1.4.0",
24+
"gulp-concat": "^2.6.0",
25+
"gulp-inject": "^3.0.0",
26+
"gulp-symdest": "^1.0.0",
27+
"gulp-task-listing": "^1.0.1",
28+
"nw-builder": "^2.2.0",
29+
"run-sequence": "^1.1.5",
30+
"tslint": "^3.3.0",
31+
"typescript": "^1.7.5",
32+
"typings": "^0.6.8"
33+
},
34+
"scripts": {
35+
"postinstall": "bower install && npm run typings install && gulp copy:vendor:js:to:wwwroot",
36+
"tsc": "tsc",
37+
"tsc:w": "tsc -w",
38+
"typings": "typings"
39+
}
40+
}

src/AspNetCoreAngular2/tslint.json

+67-67
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,69 @@
11
{
2-
"rules": {
3-
"class-name": true,
4-
"comment-format": [true, "check-space"],
5-
"curly": true,
6-
"eofline": true,
7-
"forin": true,
8-
"indent": [true, "spaces"],
9-
"label-position": true,
10-
"label-undefined": true,
11-
"max-line-length": [true, 140],
12-
"member-access": true,
13-
"no-arg": true,
14-
"no-bitwise": true,
15-
"no-console": [true,
16-
"debug",
17-
"info",
18-
"time",
19-
"timeEnd",
20-
"trace"
21-
],
22-
"no-construct": true,
23-
"no-debugger": true,
24-
"no-duplicate-key": true,
25-
"no-duplicate-variable": true,
26-
"no-empty": true,
27-
"no-eval": true,
28-
"no-inferrable-types": true,
29-
"no-shadowed-variable": true,
30-
"no-string-literal": true,
31-
"no-switch-case-fall-through": true,
32-
"no-trailing-whitespace": true,
33-
"no-unused-expression": true,
34-
"no-unused-variable": true,
35-
"no-unreachable": true,
36-
"no-use-before-declare": true,
37-
"no-var-keyword": false,
38-
"object-literal-sort-keys": false,
39-
"one-line": [true,
40-
"check-open-brace",
41-
"check-catch",
42-
"check-else",
43-
"check-whitespace"
44-
],
45-
"quotemark": [true, "single", "avoid-escape"],
46-
"radix": true,
47-
"semicolon": true,
48-
"trailing-comma": [true, {
49-
"singleline": "never",
50-
"multiline": "always"
51-
}],
52-
"triple-equals": [true, "allow-null-check"],
53-
"typedef-whitespace": [true, {
54-
"call-signature": "nospace",
55-
"index-signature": "nospace",
56-
"parameter": "nospace",
57-
"property-declaration": "nospace",
58-
"variable-declaration": "nospace"
59-
}],
60-
"variable-name": false,
61-
"whitespace": [true,
62-
"check-branch",
63-
"check-decl",
64-
"check-operator",
65-
"check-separator",
66-
"check-type"
67-
]
68-
}
2+
"rules": {
3+
"class-name": true,
4+
"curly": true,
5+
"forin": true,
6+
"indent": [
7+
true,
8+
4
9+
],
10+
"label-position": true,
11+
"label-undefined": true,
12+
"max-line-length": [
13+
true,
14+
140
15+
],
16+
"no-arg": true,
17+
"no-bitwise": true,
18+
"no-console": [
19+
true,
20+
"debug",
21+
"info",
22+
"time",
23+
"timeEnd",
24+
"trace"
25+
],
26+
"no-construct": true,
27+
"no-debugger": true,
28+
"no-duplicate-key": true,
29+
"no-duplicate-variable": true,
30+
"no-empty": true,
31+
"no-eval": true,
32+
"no-string-literal": true,
33+
"no-trailing-whitespace": true,
34+
"no-unreachable": true,
35+
"one-line": [
36+
true,
37+
"check-open-brace",
38+
"check-catch",
39+
"check-else",
40+
"check-whitespace"
41+
],
42+
"quotemark": [
43+
true,
44+
"single"
45+
],
46+
"radix": true,
47+
"semicolon": true,
48+
"triple-equals": [
49+
true,
50+
"allow-null-check"
51+
],
52+
"typedef": [
53+
true,
54+
"call-signature",
55+
"parameter",
56+
"property-declaration",
57+
"variable-declaration"
58+
],
59+
"variable-name": false,
60+
"whitespace": [
61+
true,
62+
"check-branch",
63+
"check-decl",
64+
"check-operator",
65+
"check-separator",
66+
"check-type"
67+
]
68+
}
6969
}

src/AspNetCoreAngular2/wwwroot/app/about/about.component.js

+1-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AspNetCoreAngular2/wwwroot/app/about/about.component.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AspNetCoreAngular2/wwwroot/app/chat/chatComponent.js

+6-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AspNetCoreAngular2/wwwroot/app/chat/chatComponent.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AspNetCoreAngular2/wwwroot/app/food/foodcomponent.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)