Update to Typescript 2.0 (#71)
* Switches to Typescript 2.0 and removes typings You should remove typings folder to remove typing errors. Closes #64
This commit is contained in:
committed by
József Farkas
parent
7691c88b95
commit
094060d8db
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,5 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
typings
|
||||
.vscode
|
||||
build
|
||||
bundle
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
"stylelint": "^7.0.3",
|
||||
"ts-loader": "^0.8.2",
|
||||
"tslint": "^3.14.0",
|
||||
"typings": "^1.3.2",
|
||||
"webpack": "^1.13.1",
|
||||
"webpack-dev-server": "^1.14.1",
|
||||
"webpack-stream": "^3.2.0",
|
||||
@@ -34,6 +33,9 @@
|
||||
"@angular/platform-browser": "2.0.0-rc.5",
|
||||
"@angular/platform-browser-dynamic": "2.0.0-rc.5",
|
||||
"@angular/router": "^3.0.0-rc.1",
|
||||
"@types/es6-shim": "0.0.29",
|
||||
"@types/jquery": "1.10.29",
|
||||
"@types/node": "6.0.33",
|
||||
"bootstrap": "^3.3.7",
|
||||
"browser-stdout": "^1.3.0",
|
||||
"es6-shim": "^0.35.1",
|
||||
@@ -46,16 +48,14 @@
|
||||
"rxjs": "5.0.0-beta.6",
|
||||
"select2": "^4.0.3",
|
||||
"sortablejs": "^1.4.2",
|
||||
"typescript": "1.9.0-dev.20160626-1.0",
|
||||
"typescript": "2.0.0",
|
||||
"xml-loader": "^1.1.0",
|
||||
"zone.js": "^0.6.12"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "typings install",
|
||||
"tslint": "tslint \"src/**/*.ts\" \"config-serializer/**/*.ts\"",
|
||||
"stylelint": "stylelint \"src/**/*.scss\" \"sass/**/*.scss\" --syntax scss",
|
||||
"lint": "run-s -scn tslint stylelint",
|
||||
"typings": "typings",
|
||||
"build": "gulp",
|
||||
"build:test": "webpack --config \"config-serializer/webpack.config.js\"",
|
||||
"webpack": "webpack",
|
||||
|
||||
@@ -8,12 +8,17 @@
|
||||
"experimentalDecorators": true,
|
||||
"removeComments": false,
|
||||
"noImplicitAny": true,
|
||||
"suppressImplicitAnyIndexErrors": true
|
||||
"suppressImplicitAnyIndexErrors": true,
|
||||
"baseUrl": "./src",
|
||||
"types": [
|
||||
"node",
|
||||
"jquery",
|
||||
"es6-shim",
|
||||
"select2"
|
||||
]
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"typings/main",
|
||||
"typings/main.d.ts",
|
||||
"config-serializer"
|
||||
]
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"globalDependencies": {
|
||||
"es6-shim": "registry:dt/es6-shim#0.31.2+20160602141504",
|
||||
"jquery": "registry:dt/jquery#1.10.0+20160704162008",
|
||||
"node": "registry:dt/node#6.0.0+20160728152422"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user