upgrade deps, add yarn lockfile

This commit is contained in:
Boris Cherny
2017-09-26 11:26:05 -07:00
parent 3f51627407
commit 47ff21f922
4 changed files with 2930 additions and 10 deletions
+4
View File
@@ -7,6 +7,10 @@
## Installation ## Installation
```sh ```sh
# Using Yarn:
yarn add react2angular react react-dom prop-types
# Or, using NPM:
npm install react2angular react react-dom prop-types --save npm install react2angular react react-dom prop-types --save
``` ```
+1 -1
View File
@@ -25,7 +25,7 @@ export function react2angular<Props>(
return { return {
bindings: fromPairs(names.map(_ => [_, '<'])), bindings: fromPairs(names.map(_ => [_, '<'])),
controller: ['$element', class extends NgComponent<Props, void> { controller: ['$element', class extends NgComponent<Props> {
constructor(private $element: IAugmentedJQuery) { constructor(private $element: IAugmentedJQuery) {
super() super()
} }
+9 -9
View File
@@ -1,6 +1,6 @@
{ {
"name": "react2angular", "name": "react2angular",
"version": "2.0.0", "version": "2.0.1",
"description": "The easiest way to embed React components in Angular 1 apps!", "description": "The easiest way to embed React components in Angular 1 apps!",
"main": "index.js", "main": "index.js",
"main:esnext": "index.es2015.js", "main:esnext": "index.es2015.js",
@@ -32,11 +32,11 @@
"react-dom": ">=15" "react-dom": ">=15"
}, },
"devDependencies": { "devDependencies": {
"@types/angular-mocks": "^1.5.10", "@types/angular-mocks": ">=1.5",
"@types/jasmine": "^2.5.53", "@types/jasmine": "^2.5.53",
"@types/jquery": "^3.2.10", "@types/jquery": "^3.2.10",
"angular-mocks": "^1.6.5", "angular-mocks": ">=1.5",
"jasmine": "^2.7.0", "jasmine": "^2.8.0",
"karma": "^1.7.0", "karma": "^1.7.0",
"karma-browserify": "^5.1.1", "karma-browserify": "^5.1.1",
"karma-chrome-launcher": "^2.2.0", "karma-chrome-launcher": "^2.2.0",
@@ -49,17 +49,17 @@
"react": "^15.6.1", "react": "^15.6.1",
"react-dom": "^15.6.1", "react-dom": "^15.6.1",
"rollupify": "^0.4.0", "rollupify": "^0.4.0",
"tslint": "^5.5.0", "tslint": "^5.7.0",
"typescript": "^2.4.2", "typescript": "^2.5.2",
"watchify": "^3.9.0" "watchify": "^3.9.0"
}, },
"dependencies": { "dependencies": {
"@types/angular": "^1.6.28", "@types/angular": ">=1.5",
"@types/lodash.frompairs": "^4.0.2", "@types/lodash.frompairs": "^4.0.3",
"@types/react": "^16.0.0", "@types/react": "^16.0.0",
"@types/react-dom": "^15.5.1", "@types/react-dom": "^15.5.1",
"angular": ">=1.5.11", "angular": ">=1.5.11",
"lodash.frompairs": "^4.0.1", "lodash.frompairs": "^4.0.1",
"ngcomponent": "^3.0.2" "ngcomponent": "^4.0.1"
} }
} }
+2916
View File
File diff suppressed because it is too large Load Diff