Revert "Update redux-typed to use TS 2.0 and @types"

This reverts commit c33b227331.
This commit is contained in:
SteveSandersonMS
2016-10-21 10:30:56 +01:00
parent 0615578d9a
commit 973668289b
4 changed files with 22 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
/typings/
/node_modules/
/*.js
/*.d.ts

View File

@@ -5,7 +5,7 @@
"main": "main.js",
"typings": "main.d.ts",
"scripts": {
"prepublish": "rimraf *.d.ts && tsc && echo 'Finished building NPM package \"redux-typed\"'",
"prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Microsoft",
@@ -18,10 +18,7 @@
"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": "^2.0.0"
"typescript": "^1.8.10"
}
}

View File

@@ -4,12 +4,8 @@
"module": "commonjs",
"target": "es5",
"declaration": true,
"outDir": ".",
"lib": ["es2015", "dom"]
"outDir": "."
},
"files": [
"src/main.ts"
],
"exclude": [
"node_modules"
]

View File

@@ -0,0 +1,18 @@
{
"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"
}
}
}