Skip to content

Commit

Permalink
chore(typings): removed typings and installed via @types
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlautier committed Sep 26, 2016
1 parent a7c5663 commit a93892e
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 1,201 deletions.
2 changes: 1 addition & 1 deletion build/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fs = require("fs");

const pkg = JSON.parse(fs.readFileSync("./package.json", "utf-8"));
const srcRoot = "src";
const typings = "typings/index.d.ts";
const typings = "node_modules/@types/**/*.d.ts";

module.exports = {
output: {
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = function (config) {
files: [
"node_modules/systemjs/dist/system.src.js",

"node_modules/es6-shim/es6-shim.js",
"node_modules/core-js/client/shim.js",

"node_modules/reflect-metadata/Reflect.js",
"node_modules/zone.js/dist/zone.js",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@
"@angular/core": "^2.0.1",
"@angular/platform-browser": "^2.0.1",
"@angular/platform-browser-dynamic": "^2.0.1",
"@types/core-js": "^0.9.34",
"@types/jasmine": "^2.2.34",
"core-js": "^2.4.1",
"del": "^2.2.2",
"es6-module-loader": "^0.17.11",
"es6-shim": "^0.35.1",
"gulp": "^3.9.1",
"gulp-bump": "^2.4.0",
"gulp-conventional-changelog": "^1.1.0",
Expand Down
5 changes: 4 additions & 1 deletion test/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { TestBed } from "@angular/core/testing";
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from "@angular/platform-browser-dynamic/testing";

TestBed.initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
TestBed.initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"noFallthroughCasesInSwitch": true,
"noEmitOnError": true
},
"exclude": [
"node_modules",
"wwwroot",
"dist"
"include": [
"src/**/*",
"test/**/*",
"node_modules/@types/**/*.d.ts"
]
}
10 changes: 0 additions & 10 deletions typings.json

This file was deleted.

Loading

0 comments on commit a93892e

Please sign in to comment.