mirror of
https://github.com/facebook/react.git
synced 2026-02-26 02:54:59 +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.
16 lines
412 B
JSON
16 lines
412 B
JSON
{
|
|
"private": true,
|
|
"name": "browserify-prod-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 -g [envify --NODE_ENV 'production'] -o output.js"
|
|
},
|
|
"devDependencies": {
|
|
"envify": "^4.0.0"
|
|
}
|
|
}
|