Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pshev committed Apr 11, 2017
0 parents commit e0154f7
Show file tree
Hide file tree
Showing 7 changed files with 438 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.idea
node_modules
/index.js
/connect.js
/provider.js
npm-debug.log
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea
src
.npmignore
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Uses a version of `connect` prior to major 5.0 updates, so no `connectAdvanced` API.<br/>
Uses a very simplified version of `Provider` that simply puts the given store on the context.<br/>
Will add about 1.6KB to your webpack bundle.
45 changes: 45 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "@petershev/preact-redux",
"version": "1.0.0",
"description": "simple preact-redux bindings",
"main": "index.js",
"scripts": {
"build": "babel --out-dir . --ignore *.test.js src"
},
"repository": {
"type": "git",
"url": "https://github.com/pshev/preact-redux.git"
},
"author": "Peter Shev <[email protected]> (http://petershev.com/)",
"license": "MIT",
"devDependencies": {
"babel-cli": "6.24.0",
"babel-plugin-transform-object-rest-spread": "6.23.0",
"babel-preset-es2015": "6.24.0",
"babel-preset-react": "6.23.0",
"babel-preset-stage-2": "6.22.0"
},
"babel": {
"presets": [
"es2015",
"stage-2",
"react"
],
"plugins": [
"transform-object-rest-spread",
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"dependencies": {
"fbjs": "0.8.12",
"hoist-non-react-statics": "1.2.0",
"is-plain-object": "2.0.1",
"preact": "8.1.0",
"redux": "3.6.0"
}
}
Loading

0 comments on commit e0154f7

Please sign in to comment.