Files
flipper/static/package.json
Arthur Kushka d2f9697deb Fixed PATH env variable for production bundle
Summary:
In my last plugin for React VR I used spawn heavily to call adb and python2. It worked out well, but after Flipper released, I noticed that all my spawn commands were broken.

I found that Electron start in different way when bundled as production bundle, and because of it, it does not inherit process.env.PATH in a same way as it do this for development mode. (only linux/mac issue)

In this diff I used npm package which detects linux/mac and executes bash command which returns all the env variables from the system. After it, it takes PATH and merge it with process.env.PATH.

Reviewed By: passy

Differential Revision: D16457847

fbshipit-source-id: 60226f2d7977f1dfec49de6e889f3115d8688991
2019-07-24 06:25:40 -07:00

29 lines
801 B
JSON

{
"name": "flipper-static",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.4.0",
"@babel/generator": "^7.4.0",
"@babel/parser": "^7.4.2",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-object-rest-spread": "^7.4.0",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-transform-flow-strip-types": "^7.4.0",
"@babel/plugin-transform-modules-commonjs": "^7.4.0",
"@babel/preset-react": "^7.0.0",
"expand-tilde": "^2.0.2",
"fix-path": "^2.1.0",
"metro": "^0.55.0",
"mkdirp": "^0.5.1",
"recursive-readdir": "2.2.2",
"ws": "7.0.0",
"xdg-basedir": "^3.0.0"
},
"devDependencies": {},
"resolutions": {
"metro/temp": "0.9.0"
}
}