Update aspnet-webpack-react to use TS 2.0 and @types

This commit is contained in:
SteveSandersonMS
2016-10-05 14:12:01 +01:00
parent 5c0505440d
commit 7f257e86e3
4 changed files with 13 additions and 24 deletions

View File

@@ -4,7 +4,7 @@
"description": "Helpers for using Webpack with React in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.",
"main": "index.js",
"scripts": {
"prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"aspnet-webpack-react\"'",
"prepublish": "rimraf *.d.ts && tsc && echo 'Finished building NPM package \"aspnet-webpack-react\"'",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Microsoft",
@@ -23,11 +23,15 @@
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"react": "^15.0.0",
"react-transform-hmr": "^1.0.4",
"webpack": "^1.12.14"
"react-transform-hmr": "^1.0.4"
},
"devDependencies": {
"@types/webpack": "^1.12.34",
"rimraf": "^2.5.4",
"typescript": "^1.8.10"
"typescript": "^2.0.0",
"webpack": "^1.12.14"
},
"peerDependencies": {
"webpack": "^1.12.14"
}
}