Skip to content
This repository was archived by the owner on Mar 25, 2023. It is now read-only.

Commit f76f8e1

Browse files
author
Peter Fry
committed
moving up a version to fix things
1 parent e3f058f commit f76f8e1

File tree

4 files changed

+25
-38
lines changed

4 files changed

+25
-38
lines changed

package.json

+24-23
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,46 @@
55
"scripts": {
66
"ng": "ng",
77
"start": "ng serve",
8-
"build": "ng build",
8+
"build": "ng build --prod",
99
"test": "ng test",
1010
"lint": "ng lint",
1111
"e2e": "ng e2e"
1212
},
1313
"private": true,
1414
"dependencies": {
15-
"@angular/animations": "5.1.3",
16-
"@angular/common": "5.1.3",
17-
"@angular/compiler": "5.1.3",
18-
"@angular/core": "5.1.3",
19-
"@angular/forms": "5.1.3",
20-
"@angular/http": "5.1.3",
21-
"@angular/platform-browser": "5.1.3",
22-
"@angular/platform-browser-dynamic": "5.1.3",
23-
"@angular/router": "5.1.3",
15+
"@angular/animations": "^5.2.0",
16+
"@angular/common": "^5.2.0",
17+
"@angular/compiler": "^5.2.0",
18+
"@angular/core": "^5.2.0",
19+
"@angular/forms": "^5.2.0",
20+
"@angular/http": "^5.2.0",
21+
"@angular/platform-browser": "^5.2.0",
22+
"@angular/platform-browser-dynamic": "^5.2.0",
23+
"@angular/router": "^5.2.0",
24+
"classlist.js": "^1.1.20150312",
2425
"core-js": "^2.4.1",
25-
"rxjs": "^5.5.2",
26-
"zone.js": "^0.8.14"
26+
"rxjs": "^5.5.6",
27+
"zone.js": "^0.8.19"
2728
},
2829
"devDependencies": {
29-
"@angular/cli": "1.6.0",
30-
"@angular/compiler-cli": "5.1.3",
31-
"@angular/language-service": "5.1.3",
32-
"@types/jasmine": "~2.5.53",
30+
"@angular/cli": "1.6.5",
31+
"@angular/compiler-cli": "^5.2.0",
32+
"@angular/language-service": "^5.2.0",
33+
"@types/jasmine": "~2.8.3",
3334
"@types/jasminewd2": "~2.0.2",
3435
"@types/node": "~6.0.60",
3536
"codelyzer": "^4.0.1",
36-
"jasmine-core": "~2.6.2",
37-
"jasmine-spec-reporter": "~4.1.0",
38-
"karma": "~1.7.0",
39-
"karma-chrome-launcher": "~2.1.1",
37+
"jasmine-core": "~2.8.0",
38+
"jasmine-spec-reporter": "~4.2.1",
39+
"karma": "~2.0.0",
40+
"karma-chrome-launcher": "~2.2.0",
4041
"karma-cli": "~1.0.1",
4142
"karma-coverage-istanbul-reporter": "^1.2.1",
4243
"karma-jasmine": "~1.1.0",
4344
"karma-jasmine-html-reporter": "^0.2.2",
4445
"protractor": "~5.1.2",
45-
"ts-node": "~3.2.0",
46-
"tslint": "~5.7.0",
47-
"typescript": "~2.4.2"
46+
"ts-node": "~4.1.0",
47+
"tslint": "~5.9.1",
48+
"typescript": "~2.5.3"
4849
}
4950
}

src/test.ts

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
11
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
22

3-
import 'zone.js/dist/long-stack-trace-zone';
4-
import 'zone.js/dist/proxy.js';
5-
import 'zone.js/dist/sync-test';
6-
import 'zone.js/dist/jasmine-patch';
7-
import 'zone.js/dist/async-test';
8-
import 'zone.js/dist/fake-async-test';
3+
import 'zone.js/dist/zone-testing';
94
import { getTestBed } from '@angular/core/testing';
105
import {
116
BrowserDynamicTestingModule,
127
platformBrowserDynamicTesting
138
} from '@angular/platform-browser-dynamic/testing';
149

15-
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
16-
declare const __karma__: any;
1710
declare const require: any;
1811

19-
// Prevent Karma from running prematurely.
20-
__karma__.loaded = function () {};
21-
2212
// First, initialize the Angular testing environment.
2313
getTestBed().initTestEnvironment(
2414
BrowserDynamicTestingModule,
@@ -28,5 +18,3 @@ getTestBed().initTestEnvironment(
2818
const context = require.context('./', true, /\.spec\.ts$/);
2919
// And load the modules.
3020
context.keys().map(context);
31-
// Finally, start Karma to run the tests.
32-
__karma__.start();

src/tsconfig.spec.json

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"outDir": "../out-tsc/spec",
55
"baseUrl": "./",
66
"module": "commonjs",
7-
"target": "es5",
87
"types": [
98
"jasmine",
109
"node"

tslint.json

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
"variable-declaration": "nospace"
108108
}
109109
],
110-
"typeof-compare": true,
111110
"unified-signatures": true,
112111
"variable-name": false,
113112
"whitespace": [

0 commit comments

Comments
 (0)