react-pixi-fiber 1.0.0-beta.13 → 1.0.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,6 +15,22 @@ For React <16.0.0 see [`react-pixi`].
15
15
  See [Rotating Bunny](https://codesandbox.io/s/q7oj1p0jo6) demo.
16
16
 
17
17
 
18
+
19
+
20
+ ## Installing
21
+
22
+ The current version assumes [React] >16.0.0 and [PixiJS] >4.4.0
23
+
24
+ yarn add react-pixi-fiber prop-types pixi.js
25
+
26
+ or
27
+
28
+ npm install react-pixi-fiber prop-types pixi.js --save
29
+
30
+ Refer to next sections to see usage examples.
31
+
32
+ This package works flawlessly with [Create React App](https://github.com/facebookincubator/create-react-app) – see examples below, they already use it.
33
+
18
34
  ## Usage
19
35
 
20
36
  ### With ReactDOM
@@ -73,19 +89,6 @@ This example will render [`PIXI.Text`] object into a [Root Container] of PIXI Ap
73
89
  4. Wait few seconds and browse examples that will open in new browser window.
74
90
 
75
91
 
76
- ## Installing
77
-
78
- The current version assumes [React] >16.0.0 and [PixiJS] >4.4.0
79
-
80
- yarn add react-pixi-fiber
81
-
82
- or
83
-
84
- npm install react-pixi-fiber --save
85
-
86
- This package works flawlessly with [Create React App](https://github.com/facebookincubator/create-react-app) – see examples above, they already use it.
87
-
88
-
89
92
  ## Migrating from [`react-pixi`]
90
93
 
91
94
  It is possible to use React Pixi Fiber as a drop-in replacement for `react-pixi`.
@@ -496,7 +499,7 @@ Yes! Awesome!
496
499
 
497
500
  ### What version of PixiJS I can use?
498
501
 
499
- Both PixiJS v4 and v5 are supported.
502
+ PixiJS v4, v5 and v6 are supported.
500
503
 
501
504
  ### Can I use already existing [`PIXI.Application`]?
502
505
 
package/index.es.js ADDED
@@ -0,0 +1,5 @@
1
+ if (process.env.NODE_ENV === "production") {
2
+ module.exports = require("./es/react-pixi-fiber.production.min.js");
3
+ } else {
4
+ module.exports = require("./es/react-pixi-fiber.development.js");
5
+ }
package/index.umd.js ADDED
@@ -0,0 +1,5 @@
1
+ if (process.env.NODE_ENV === "production") {
2
+ module.exports = require("./umd/react-pixi-fiber.production.min.js");
3
+ } else {
4
+ module.exports = require("./umd/react-pixi-fiber.development.js");
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-pixi-fiber",
3
- "version": "1.0.0-beta.13",
3
+ "version": "1.0.0-beta.14",
4
4
  "description": "React Fiber renderer for PixiJS",
5
5
  "main": "index.js",
6
6
  "umd:main": "index.umd.js",
@@ -14,7 +14,9 @@
14
14
  "LICENSE",
15
15
  "README.md",
16
16
  "index.d.ts",
17
+ "index.es.js",
17
18
  "index.js",
19
+ "index.umd.js",
18
20
  "react-pixi-alias.js",
19
21
  "cjs/",
20
22
  "umd/",