react-gateway2
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "react-gateway2", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Render React DOM into a new context", | ||
@@ -9,6 +9,7 @@ "main": "lib/index.js", | ||
"example": "esbuild example/browser.js --bundle --outfile=example/bundle.js --loader:.js=jsx && babel-node example/server.js", | ||
"format": "npm run lint -- --fix", | ||
"format": "yarn lint --fix", | ||
"lint": "eslint src/ test/", | ||
"prepublish": "npm run build", | ||
"test": "karma start" | ||
"prepublish": "yarn build", | ||
"test": "jest", | ||
"ci": "yarn install && yar test && yarn lint && npm run prepublish" | ||
}, | ||
@@ -37,3 +38,2 @@ "lint-staged": { | ||
"prop-types": "^15.5.7", | ||
"react-prop-types": "^0.4.0", | ||
"zustand": "^3.5.1" | ||
@@ -48,6 +48,3 @@ }, | ||
"@babel/preset-react": "7.13.13", | ||
"babelify": "10.0.0", | ||
"browserify-istanbul": "3.0.1", | ||
"chai": "^3.4.1", | ||
"defined": "^1.0.0", | ||
"@babel/eslint-parser": "7.13.14", | ||
"esbuild": "0.11.20", | ||
@@ -61,22 +58,9 @@ "eslint": "^7.14.0", | ||
"eslint-plugin-simple-import-sort": "^6.0.1", | ||
"eslint-plugin-jest": "24.3.6", | ||
"husky": "^4.3.0", | ||
"lint-staged": "^10.5.3", | ||
"express": "^4.13.3", | ||
"jsfmt": "^0.5.2", | ||
"karma": "^0.13.15", | ||
"karma-beep-reporter": "^0.1.4", | ||
"karma-browserify": "^4.4.0", | ||
"karma-chrome-launcher": "^0.2.1", | ||
"karma-coverage": "^0.5.3", | ||
"karma-firefox-launcher": "^0.1.6", | ||
"karma-mocha": "^0.2.0", | ||
"karma-mocha-reporter": "^1.1.1", | ||
"karma-safari-launcher": "^0.1.1", | ||
"karma-sauce-launcher": "^0.3.0", | ||
"karma-tape-reporter": "^1.0.3", | ||
"minimist": "^1.2.0", | ||
"mocha": "^2.3.3", | ||
"react": "^16.8.0", | ||
"react-addons-test-utils": "^15.0.0-0", | ||
"react-dom": "^16.8.0" | ||
"react-dom": "^16.8.0", | ||
"jest": "26.6.3" | ||
}, | ||
@@ -83,0 +67,0 @@ "peerDependencies": { |
@@ -15,3 +15,3 @@ # React Gateway | ||
```sh | ||
$ npm install --save react-gateway | ||
$ npm install --save react-gateway2 | ||
``` | ||
@@ -27,3 +27,3 @@ | ||
GatewayProvider | ||
} from 'react-gateway'; | ||
} from 'react-gateway2'; | ||
@@ -82,3 +82,3 @@ export default class Application extends React.Component { | ||
+ GatewayProvider | ||
+ } from 'react-gateway'; | ||
+ } from 'react-gateway2'; | ||
@@ -106,3 +106,3 @@ export default class Application extends React.Component { | ||
+ GatewayDest | ||
} from 'react-gateway'; | ||
} from 'react-gateway2'; | ||
@@ -128,3 +128,3 @@ export default class Application extends React.Component { | ||
import React from 'react'; | ||
+ import {Gateway} from 'react-gateway'; | ||
+ import {Gateway} from 'react-gateway2'; | ||
@@ -196,3 +196,3 @@ export default class MyComponent extends React.Component { | ||
GatewayProvider | ||
} from 'react-gateway'; | ||
} from 'react-gateway2'; | ||
@@ -199,0 +199,0 @@ export default class Application extends React.Component { |
Sorry, the diff of this file is not supported yet
4
22
22159
231
- Removedreact-prop-types@^0.4.0
- Removedreact-prop-types@0.4.0(transitive)
- Removedwarning@3.0.0(transitive)