...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
@@ -4,21 +4,30 @@ | |||
| 4 | "keywords": [ | 4 | "keywords": [ |
| 5 | "react" | 5 | "react" |
| 6 | ], | 6 | ], |
| 7 | "version": "17.0.2", | 7 | "version": "18.0.0", |
| 8 | "homepage": "https://reactjs.org/", | 8 | "homepage": "https://reactjs.org/", |
| 9 | "bugs": "https://github.com/facebook/react/issues", | 9 | "bugs": "https://github.com/facebook/react/issues", |
| 10 | "license": "MIT", | 10 | "license": "MIT", |
| 11 | "files": [ | 11 | "files": [ |
| 12 | "LICENSE", | 12 | "LICENSE", |
| 13 | "README.md", | 13 | "README.md", |
| 14 | "build-info.json", | ||
| 15 | "index.js", | 14 | "index.js", |
| 16 | "cjs/", | 15 | "cjs/", |
| 17 | "umd/", | 16 | "umd/", |
| 18 | "jsx-runtime.js", | 17 | "jsx-runtime.js", |
| 19 | "jsx-dev-runtime.js" | 18 | "jsx-dev-runtime.js", |
| 19 | "react.shared-subset.js" | ||
| 20 | ], | 20 | ], |
| 21 | "main": "index.js", | 21 | "main": "index.js", |
| 22 | "exports": { | ||
| 23 | ".": { | ||
| 24 | "react-server": "./react.shared-subset.js", | ||
| 25 | "default": "./index.js" | ||
| 26 | }, | ||
| 27 | "./package.json": "./package.json", | ||
| 28 | "./jsx-runtime": "./jsx-runtime.js", | ||
| 29 | "./jsx-dev-runtime": "./jsx-dev-runtime.js" | ||
| 30 | }, | ||
| 22 | "repository": { | 31 | "repository": { |
| 23 | "type": "git", | 32 | "type": "git", |
| 24 | "url": "https://github.com/facebook/react.git", | 33 | "url": "https://github.com/facebook/react.git", |
@@ -28,12 +37,11 @@ | |||
| 28 | "node": ">=0.10.0" | 37 | "node": ">=0.10.0" |
| 29 | }, | 38 | }, |
| 30 | "dependencies": { | 39 | "dependencies": { |
| 31 | "loose-envify": "^1.1.0", | ||
| 32 | "object-assign": "^4.1.1" | 40 | "loose-envify": "^1.1.0" |
| 33 | }, | 41 | }, |
| 34 | "browserify": { | 42 | "browserify": { |
| 35 | "transform": [ | 43 | "transform": [ |
| 36 | "loose-envify" | 44 | "loose-envify" |
| 37 | ] | 45 | ] |
| 38 | } | 46 | } |
| 39 | } | 47 | } |
@@ -0,0 +1,20 @@ | |
| 1 | /** |
| 2 | * @license React |
| 3 | * react.shared-subset.development.js |
| 4 | * |
| 5 | * Copyright (c) Facebook, Inc. and its affiliates. |
| 6 | * |
| 7 | * This source code is licensed under the MIT license found in the |
| 8 | * LICENSE file in the root directory of this source tree. |
| 9 | */ |
| 10 | |
| 11 | 'use strict'; |
| 12 | |
| 13 | if (process.env.NODE_ENV !== "production") { |
| 14 | (function() { |
| 15 | 'use strict'; |
| 16 | |
| 17 | // eslint-disable-next-line react-internal/prod-error-codes |
| 18 | throw new Error('This entry point is not yet supported outside of experimental channels'); |
| 19 | })(); |
| 20 | } |
Publish
Install