diff --git a/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/.gitignore b/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/.gitignore index a1df9a5..025755a 100644 --- a/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/.gitignore +++ b/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/.gitignore @@ -1,4 +1,3 @@ -/typings/ /node_modules/ /*.js /*.d.ts diff --git a/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/package.json b/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/package.json index d93742f..d5413a1 100644 --- a/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/package.json +++ b/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/package.json @@ -5,7 +5,7 @@ "main": "main.js", "typings": "main.d.ts", "scripts": { - "prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'", + "prepublish": "rimraf *.d.ts && tsc && echo 'Finished building NPM package \"redux-typed\"'", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Microsoft", @@ -18,7 +18,10 @@ "url": "https://github.com/aspnet/JavaScriptServices.git" }, "devDependencies": { + "@types/react": "^0.14.38", + "@types/react-redux": "^4.4.32", + "@types/redux": "^3.5.30", "rimraf": "^2.5.4", - "typescript": "^1.8.10" + "typescript": "^2.0.0" } } diff --git a/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsconfig.json b/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsconfig.json index de676e9..0617341 100644 --- a/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsconfig.json +++ b/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsconfig.json @@ -4,8 +4,12 @@ "module": "commonjs", "target": "es5", "declaration": true, - "outDir": "." + "outDir": ".", + "lib": ["es2015", "dom"] }, + "files": [ + "src/main.ts" + ], "exclude": [ "node_modules" ] diff --git a/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsd.json b/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsd.json deleted file mode 100644 index f37a7f8..0000000 --- a/src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsd.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": "v4", - "repo": "borisyankov/DefinitelyTyped", - "ref": "master", - "path": "typings", - "bundle": "typings/tsd.d.ts", - "installed": { - "react/react.d.ts": { - "commit": "f4b1797c1201b6c575668f5d7ea12d9b1ab21846" - }, - "react-redux/react-redux.d.ts": { - "commit": "f4b1797c1201b6c575668f5d7ea12d9b1ab21846" - }, - "redux/redux.d.ts": { - "commit": "f4b1797c1201b6c575668f5d7ea12d9b1ab21846" - } - } -}