Summary: If a plugin was registered beyond the initial start command, this didn't show up in the Flipper UI. The reason for this is that the client map is updated, but since that object is mutable, components won't detect nor reflect the change. This diff changes to make sure a new plugin map is created if it is changed. Reviewed By: passy Differential Revision: D19345464 fbshipit-source-id: 3aa343e1739caf124a015c88680a94973b87f701
221 lines
6.9 KiB
JSON
221 lines
6.9 KiB
JSON
{
|
|
"name": "flipper",
|
|
"version": "0.30.1",
|
|
"versionDate": "2018-4-12",
|
|
"description": "Mobile development tool",
|
|
"productName": "Flipper",
|
|
"author": "Facebook Inc",
|
|
"main": "src/index.tsx",
|
|
"icon": "icon.png",
|
|
"category": "facebook-intern",
|
|
"privileged": true,
|
|
"build": {
|
|
"appId": "flipper",
|
|
"productName": "Flipper",
|
|
"artifactName": "Flipper-${os}.${ext}",
|
|
"protocols": {
|
|
"name": "flipper",
|
|
"schemes": [
|
|
"flipper"
|
|
]
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"extendInfo": {
|
|
"NSUserNotificationAlertStyle": "alert"
|
|
}
|
|
},
|
|
"win": {
|
|
"publisherName": "Facebook, Inc.",
|
|
"sign": null
|
|
},
|
|
"asar": false,
|
|
"fileAssociations": [
|
|
{
|
|
"ext": [
|
|
".flipper"
|
|
],
|
|
"name": "Flipper Data",
|
|
"role": "Viewer",
|
|
"icon": "document-icons/document.icns"
|
|
}
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"@jest-runner/electron/electron": "7.1.2",
|
|
"adbkit/adbkit-logcat": "2",
|
|
"@types/react": "16.9.15",
|
|
"@types/react-dom": "^16.9.4"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.*__tests__/.*\\.tsx?$": "ts-jest",
|
|
"\\.(js|tsx?)$": "<rootDir>/static/transforms/index.js"
|
|
},
|
|
"setupFiles": [
|
|
"<rootDir>/static/globalTestSetup.js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^flipper$": "<rootDir>/src/index.tsx"
|
|
},
|
|
"clearMocks": true
|
|
},
|
|
"devDependencies": {
|
|
"@jest-runner/electron": "^2.0.2",
|
|
"@testing-library/react": "^9.3.0",
|
|
"@types/algoliasearch": "^3.30.19",
|
|
"@types/deep-equal": "^1.0.1",
|
|
"@types/expand-tilde": "^2.0.0",
|
|
"@types/fb-watchman": "^2.0.0",
|
|
"@types/fs-extra": "^8.0.0",
|
|
"@types/invariant": "^2.2.30",
|
|
"@types/jest": "^24.0.16",
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
"@types/lodash.isequal": "^4.5.5",
|
|
"@types/node": "^12.12.20",
|
|
"@types/react": "^16.9.15",
|
|
"@types/react-dom": "^16.9.4",
|
|
"@types/react-redux": "^7.1.5",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.0",
|
|
"@types/react-window": "^1.8.1",
|
|
"@types/redux-persist": "^4.3.1",
|
|
"@types/requestidlecallback": "^0.3.1",
|
|
"@types/rsocket-core": "^0.0.3",
|
|
"@types/testing-library__react": "^9.1.2",
|
|
"@types/tmp": "^0.1.0",
|
|
"@types/uuid": "^3.4.5",
|
|
"@typescript-eslint/eslint-plugin": "^2.1.1-alpha.4",
|
|
"@typescript-eslint/parser": "^2.1.1-alpha.4",
|
|
"babel-code-frame": "^6.26.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"electron": "7.1.2",
|
|
"electron-builder": "^21.2.0",
|
|
"eslint": "^6.7.0",
|
|
"eslint-config-fbjs": "^3.1.1",
|
|
"eslint-plugin-babel": "^5.3.0",
|
|
"eslint-plugin-flowtype": "^4.3.0",
|
|
"eslint-plugin-header": "^3.0.0",
|
|
"eslint-plugin-import": "^2.19.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-prettier": "^3.1.1",
|
|
"eslint-plugin-react": "^7.16.0",
|
|
"eslint-plugin-relay": "^1.4.1",
|
|
"flow-bin": "0.115.0",
|
|
"glob": "^7.1.2",
|
|
"jest": "^24.7.1",
|
|
"jest-fetch-mock": "^3.0.0",
|
|
"prettier": "^1.19.1",
|
|
"react-async": "^10.0.0",
|
|
"redux-mock-store": "^1.5.3",
|
|
"ts-jest": "^24.1.0",
|
|
"typescript": "^3.7.2"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/core": "^10.0.22",
|
|
"@emotion/styled": "^10.0.23",
|
|
"@iarna/toml": "^2.2.3",
|
|
"@types/promise-retry": "^1.1.3",
|
|
"@types/react-color": "^3.0.1",
|
|
"@types/react-test-renderer": "^16.9.1",
|
|
"@types/react-transition-group": "^4.2.2",
|
|
"@types/react-virtualized": "^9.21.4",
|
|
"@types/redux-devtools-extension": "^2.13.2",
|
|
"@types/redux-mock-store": "^1.0.1",
|
|
"@types/rsocket-tcp-server": "^0.0.2",
|
|
"@types/which": "^1.3.2",
|
|
"JSONStream": "^1.3.1",
|
|
"adbkit": "^2.11.1",
|
|
"adbkit-logcat": "^2.0.1",
|
|
"algoliasearch": "^3.34.0",
|
|
"ansi-to-html": "^0.6.3",
|
|
"async-mutex": "^0.1.3",
|
|
"chalk": "^3.0.0",
|
|
"child-process-es6-promise": "^1.2.1",
|
|
"codemirror": "^5.25.0",
|
|
"cross-env": "^6.0.3",
|
|
"dashify": "^2.0.0",
|
|
"deep-equal": "^2.0.1",
|
|
"detect-port": "^1.1.1",
|
|
"electron-devtools-installer": "^2.2.0",
|
|
"emotion": "^10.0.23",
|
|
"expand-tilde": "^2.0.2",
|
|
"express": "^4.15.2",
|
|
"fb-watchman": "^2.0.0",
|
|
"flipper-doctor": "^0.6.0",
|
|
"fs-extra": "^8.0.1",
|
|
"immer": "^5.2.1",
|
|
"immutable": "^4.0.0-rc.12",
|
|
"invariant": "^2.2.2",
|
|
"line-replace": "^1.0.2",
|
|
"live-plugin-manager": "^0.14.0",
|
|
"lodash.debounce": "^4.0.8",
|
|
"lodash.isequal": "^4.5.0",
|
|
"mkdirp": "^0.5.1",
|
|
"node-fetch": "^2.3.0",
|
|
"npm-api": "^1.0.0",
|
|
"open": "^7.0.0",
|
|
"openssl-wrapper": "^0.3.4",
|
|
"p-map": "^3.0.0",
|
|
"patch-package": "^6.2.0",
|
|
"pkg": "^4.4.1",
|
|
"promise-retry": "^1.1.1",
|
|
"promisify-child-process": "^3.1.3",
|
|
"prop-types": "^15.6.0",
|
|
"query-string": "^6.2.0",
|
|
"react": "16.12.0",
|
|
"react-color": "^2.11.7",
|
|
"react-debounce-render": "^5.0.0",
|
|
"react-devtools-core": "^4.0.6",
|
|
"react-dom": "^16.12.0",
|
|
"react-markdown": "^4.2.2",
|
|
"react-player": "^1.14.1",
|
|
"react-redux": "^7.1.1",
|
|
"react-test-renderer": "^16.12.0",
|
|
"react-transition-group": "^4.3.0",
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
|
"react-window": "^1.3.1",
|
|
"redux": "^4.0.0",
|
|
"redux-persist": "^6.0.0",
|
|
"remote-redux-devtools": "^0.5.16",
|
|
"rsocket-core": "^0.0.18",
|
|
"rsocket-tcp-server": "^0.0.18",
|
|
"socket.io": "^2.0.4",
|
|
"string-natural-compare": "^3.0.0",
|
|
"tmp": "0.0.33",
|
|
"uuid": "^3.3.2",
|
|
"websocket": "^1.0.31",
|
|
"which": "^2.0.1",
|
|
"ws": "^7.2.0",
|
|
"xdg-basedir": "^4.0.0",
|
|
"xml2js": "^0.4.19",
|
|
"yargs": "^15.0.1",
|
|
"yazl": "^2.5.1"
|
|
},
|
|
"greenkeeper": {
|
|
"ignore": [
|
|
"tmp",
|
|
"flipper-doctor"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"preinstall": "yarn config set ignore-engines",
|
|
"postinstall": "node scripts/yarn-install.js && patch-package",
|
|
"rm-dist": "rimraf dist",
|
|
"rm-modules": "rimraf node_modules static/node_modules",
|
|
"rm-temp": "rimraf $TMPDIR/jest* $TMPDIR/react-native-packager*",
|
|
"reset": "yarn rm-dist && yarn rm-temp && yarn cache clean && yarn rm-modules",
|
|
"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 $@",
|
|
"build-headless": "yarn rm-dist && mkdir dist && cross-env NODE_ENV=production node scripts/build-headless.js $@",
|
|
"fix": "eslint . --fix --ext .js,.tsx",
|
|
"test": "jest --testPathPattern=\"node\\.(js|tsx)$\" --no-cache",
|
|
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
|
|
"test-electron": "jest --testPathPattern=\"electron\\.(js|tsx)$\" --testEnvironment=@jest-runner/electron/environment --runner=@jest-runner/electron --no-cache",
|
|
"test-with-device": "USE_ELECTRON_STUBS=1 jest --testPathPattern=\"device\\.(js|tsx)$\" --detectOpenHandles --no-cache",
|
|
"lint": "eslint . --ext .js,.tsx && flow check && tsc --noemit"
|
|
},
|
|
"optionalDependencies": {
|
|
"7zip-bin-mac": "^1.0.1"
|
|
}
|
|
}
|