mirror of
https://github.com/facebook/react.git
synced 2026-02-24 20:53:03 +00:00
* Eject CRA from Flight We need to eject because we're going to add a custom Webpack Plugin. We can undo this once the plugin has upstreamed into CRA. * Add Webpack plugin build I call this entry point "webpack-plugin" instead of "plugin" even though this is a webpack specific package. That's because there will also be a Node.js plugin to do the server transform. * Add Flight Webpack plugin to fixture * Rm UMD builds * Transform classes * Rename webpack-plugin to plugin This avoids the double webpack name. We're going to reuse this for both server and client.
51 lines
1022 B
JSON
51 lines
1022 B
JSON
{
|
|
"name": "react-flight-dom-webpack",
|
|
"description": "React Flight bindings for DOM using Webpack.",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"keywords": [
|
|
"react"
|
|
],
|
|
"homepage": "https://reactjs.org/",
|
|
"bugs": "https://github.com/facebook/react/issues",
|
|
"license": "MIT",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"index.js",
|
|
"plugin.js",
|
|
"server.js",
|
|
"server.browser.js",
|
|
"server.node.js",
|
|
"server-runtime.js",
|
|
"cjs/",
|
|
"umd/"
|
|
],
|
|
"browser": {
|
|
"./server.js": "./server.browser.js"
|
|
},
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type" : "git",
|
|
"url" : "https://github.com/facebook/react.git",
|
|
"directory": "packages/react-flight-dom-webpack"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.0.0",
|
|
"react-dom": "^16.0.0",
|
|
"webpack": "^4.41.2"
|
|
},
|
|
"dependencies": {
|
|
"loose-envify": "^1.1.0",
|
|
"object-assign": "^4.1.1"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
}
|
|
}
|