Summary: Plugins need to be self-contained. The can not require any dependency from Flipper's main app. This was a soft requirement before, but with the new version of metro, we now make this a hard requirement. This speeds up plugin compile times, because only the files in the plugin's folder are watched and not all of Flipper's files. Moreover, this ensures "plugins" are real plugins and can be added and removed and are not mixed with the apps core. Reviewed By: passy Differential Revision: D9940735 fbshipit-source-id: 47e120429fc3c4c985731478ffa35c3359ff78f9
99 lines
2.9 KiB
JSON
99 lines
2.9 KiB
JSON
{
|
|
"name": "flipper",
|
|
"private": true,
|
|
"version": "0.7.2",
|
|
"versionDate": "2018-4-12",
|
|
"description": "Mobile development tool",
|
|
"productName": "Flipper",
|
|
"author": "Facebook Inc",
|
|
"main": "src/index.js",
|
|
"icon": "icon.png",
|
|
"category": "facebook-intern",
|
|
"privileged": true,
|
|
"build": {
|
|
"appId": "flipper",
|
|
"productName": "Flipper",
|
|
"artifactName": "Flipper-${os}.${ext}",
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools"
|
|
},
|
|
"win": {
|
|
"publisherName": "Facebook, Inc."
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "8.2.1",
|
|
"electron": "^3.0.0-beta.4",
|
|
"electron-builder": "^19.49.0",
|
|
"eslint": "^4.15.0",
|
|
"eslint-config-fbjs": "^2.0.1",
|
|
"eslint-plugin-babel": "^4.1.2",
|
|
"eslint-plugin-flowtype": "^2.41.0",
|
|
"eslint-plugin-header": "^1.2.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-prettier": "^2.4.0",
|
|
"eslint-plugin-react": "^7.5.1",
|
|
"eslint-plugin-relay": "^0.0.20",
|
|
"flow-bin": "^0.76.0",
|
|
"glob": "^7.1.2",
|
|
"prettier": "1.13.6"
|
|
},
|
|
"dependencies": {
|
|
"JSONStream": "^1.3.1",
|
|
"adbkit-fb": "2.10.1",
|
|
"ansi-to-html": "^0.6.3",
|
|
"chalk": "^2.3.0",
|
|
"codemirror": "^5.25.0",
|
|
"cross-env": "^5.2.0",
|
|
"dashify": "^1.0.0",
|
|
"deep-equal": "^1.0.1",
|
|
"detect-port": "^1.1.1",
|
|
"electron-devtools-installer": "^2.2.0",
|
|
"emotion": "^9.2.6",
|
|
"express": "^4.15.2",
|
|
"fs-extra": "^5.0.0",
|
|
"invariant": "^2.2.2",
|
|
"jest": "^22.2.1",
|
|
"lodash.debounce": "^4.0.8",
|
|
"mkdirp": "^0.5.1",
|
|
"openssl-wrapper": "^0.3.4",
|
|
"prop-types": "^15.6.0",
|
|
"react": "16",
|
|
"react-color": "^2.11.7",
|
|
"react-debounce-render": "^4.0.3",
|
|
"react-devtools-core": "3.1.0",
|
|
"react-dom": "16",
|
|
"react-emotion": "^9.2.6",
|
|
"react-redux": "^5.0.7",
|
|
"react-test-renderer": "^16",
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
|
"react-window": "^1.1.1",
|
|
"redux": "^4.0.0",
|
|
"redux-persist": "^5.10.0",
|
|
"redux-persist-transform-filter": "^0.0.18",
|
|
"rsocket-core": "^0.0.6",
|
|
"rsocket-tcp-server": "^0.0.6",
|
|
"socket.io": "^2.0.4",
|
|
"string-natural-compare": "^2.0.2",
|
|
"tmp": "^0.0.33",
|
|
"websocket": "^1.0.24",
|
|
"ws": "^4.0.0",
|
|
"xml2js": "^0.4.19",
|
|
"yargs": "^11.0.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "node scripts/yarn-install.js",
|
|
"rm-dist": "rm -rf dist",
|
|
"rm-modules": "rm -rf node_modules static/node_modules",
|
|
"rm-temp": "rm -rf $TMPDIR/jest* $TMPDIR/react-native-packager*",
|
|
"reset": "yarn cache clean && yarn rm-dist && yarn rm-modules && yarn rm-temp",
|
|
"start": "cross-env NODE_ENV=development node scripts/start-dev-server.js",
|
|
"build": "yarn rm-dist && cross-env NODE_ENV=production node scripts/build-release.js $@",
|
|
"fix": "eslint . --fix",
|
|
"lint": "eslint . && flow check"
|
|
},
|
|
"optionalDependencies": {
|
|
"7zip-bin-mac": "^1.0.1"
|
|
}
|
|
}
|