Skip to content

Commit c33b227

Browse files
Update redux-typed to use TS 2.0 and @types
1 parent 02315b4 commit c33b227

File tree

4 files changed

+10
-22
lines changed

4 files changed

+10
-22
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/typings/
21
/node_modules/
32
/*.js
43
/*.d.ts

src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "main.js",
66
"typings": "main.d.ts",
77
"scripts": {
8-
"prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'",
8+
"prepublish": "rimraf *.d.ts && tsc && echo 'Finished building NPM package \"redux-typed\"'",
99
"test": "echo \"Error: no test specified\" && exit 1"
1010
},
1111
"author": "Microsoft",
@@ -18,7 +18,10 @@
1818
"url": "https://github.com/aspnet/JavaScriptServices.git"
1919
},
2020
"devDependencies": {
21+
"@types/react": "^0.14.38",
22+
"@types/react-redux": "^4.4.32",
23+
"@types/redux": "^3.5.30",
2124
"rimraf": "^2.5.4",
22-
"typescript": "^1.8.10"
25+
"typescript": "^2.0.0"
2326
}
2427
}

src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
"module": "commonjs",
55
"target": "es5",
66
"declaration": true,
7-
"outDir": "."
7+
"outDir": ".",
8+
"lib": ["es2015", "dom"]
89
},
10+
"files": [
11+
"src/main.ts"
12+
],
913
"exclude": [
1014
"node_modules"
1115
]

src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsd.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)