mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Update redux-typed to use TS 2.0 and @types
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
/typings/
|
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/*.js
|
/*.js
|
||||||
/*.d.ts
|
/*.d.ts
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"typings": "main.d.ts",
|
"typings": "main.d.ts",
|
||||||
"scripts": {
|
"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"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"author": "Microsoft",
|
"author": "Microsoft",
|
||||||
@@ -18,7 +18,10 @@
|
|||||||
"url": "https://github.com/aspnet/JavaScriptServices.git"
|
"url": "https://github.com/aspnet/JavaScriptServices.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@types/react": "^0.14.38",
|
||||||
|
"@types/react-redux": "^4.4.32",
|
||||||
|
"@types/redux": "^3.5.30",
|
||||||
"rimraf": "^2.5.4",
|
"rimraf": "^2.5.4",
|
||||||
"typescript": "^1.8.10"
|
"typescript": "^2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,8 +4,12 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"outDir": "."
|
"outDir": ".",
|
||||||
|
"lib": ["es2015", "dom"]
|
||||||
},
|
},
|
||||||
|
"files": [
|
||||||
|
"src/main.ts"
|
||||||
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules"
|
"node_modules"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user