mirror of
https://github.com/facebook/react.git
synced 2026-02-24 20:53:03 +00:00
* Move build/packages/* to build/node_modules/* This fixes Node resolution in that folder and lets us require() packages in it in Node shell for manual testing. * Link fixtures to packages/node_modules This updates the location and also uses link: instead of file: to avoid Yarn caching the folder contents.
13 lines
324 B
JSON
13 lines
324 B
JSON
{
|
|
"private": true,
|
|
"name": "browserify-dev-fixture",
|
|
"dependencies": {
|
|
"browserify": "^13.3.0",
|
|
"react": "link:../../../../build/node_modules/react",
|
|
"react-dom": "link:../../../../build/node_modules/react-dom"
|
|
},
|
|
"scripts": {
|
|
"build": "rm -f output.js && browserify ./input.js -o output.js"
|
|
}
|
|
}
|