Comparing version 1.2.5 to 1.3.0
{ | ||
"name": "repatch", | ||
"version": "1.2.5", | ||
"version": "1.3.0", | ||
"description": "Dispatch reducers", | ||
"main": "lib/store", | ||
"browser": "dist/repatch.js", | ||
"typings": "lib/store", | ||
"scripts": { | ||
"build": "rimraf lib && node_modules/.bin/tsc", | ||
"build": "npm run build:node && npm run build:umd", | ||
"build:node": "rimraf lib && node_modules/.bin/tsc", | ||
"build:umd": "rimraf dist && node_modules/.bin/rollup -c rollup.config.js && node_modules/.bin/rollup -c rollup.config.prod.js", | ||
"build:w": "node_modules/.bin/tsc -w", | ||
"pretest": "npm run build", | ||
"pretest": "npm run build:node", | ||
"test": "node_modules/.bin/mocha lib/**/*.spec.js -c" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"repository": { | ||
@@ -40,4 +46,7 @@ "type": "git", | ||
"rimraf": "^2.6.1", | ||
"rollup": "^0.48.2", | ||
"rollup-plugin-typescript2": "^0.5.2", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"typescript": "^2.2.0" | ||
} | ||
} |
@@ -55,2 +55,8 @@ # <a href="https://www.npmjs.com/package/repatch"><img alt="Repatch" src="http://jaystack.com/wp-content/uploads/2017/08/repatch-logo.png" height="50px"></a> | ||
In the browser you should use: | ||
```javascript | ||
var Store = Repatch.default; | ||
``` | ||
Repatch's interface is very similar to Redux, therefore you can use with [react-redux](https://www.npmjs.com/package/react-redux). | ||
@@ -222,2 +228,2 @@ | ||
[](http://jaystack.com/) | ||
[](http://jaystack.com/) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20837
228
8
11
121
1