Skip to content

Commit

Permalink
Replace typings with node_modules/@types
Browse files Browse the repository at this point in the history
  • Loading branch information
platosha committed Nov 30, 2016
1 parent df6fa30 commit a76d94a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 19 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,3 @@ bower_components
.bower-cache
.bower-registry
.bower-tmp


### Typings ###
## Ignore downloaded typings
typings
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
"main": "index.js",
"scripts": {
"test": "tsc && concurrently \"npm run tsc:w\" \"live-server --open=tests.html\"",
"typings": "typings",
"tsc": "tsc",
"tsc:w": "tsc -w",
"prepublish": "typings install && tsc"
"prepublish": "tsc"
},
"files": [
"index.d.ts",
Expand All @@ -33,12 +32,16 @@
"@angular/compiler": "^2.0.0",
"@angular/platform-browser-dynamic": "^2.0.0",
"concurrently": "^2.2.0",
"es6-shim": "^0.35.1",
"core-js": "^2.4.1",
"jasmine-core": "2.4.1",
"live-server": "1.0.0",
"reflect-metadata": "^0.1.3",
"systemjs": "^0.19.27",
"typescript": "^2.0.2",
"typings": "^1.3.2"

"@types/core-js": "^0.9.34",
"@types/node": "^6.0.46",
"@types/jasmine": "^2.5.36",
"@types/selenium-webdriver": "^2.53.33"
}
}
9 changes: 5 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false,
"suppressImplicitAnyIndexErrors": true
"suppressImplicitAnyIndexErrors": true,
"typeRoots": [
"./node_modules/@types/"
]
},
"exclude": [
"bower_components",
"node_modules",
"typings/main",
"typings/main.d.ts"
"node_modules"
]
}
6 changes: 0 additions & 6 deletions typings.json

This file was deleted.

0 comments on commit a76d94a

Please sign in to comment.