{ "author": { "email": "n/a", "name": "Facebook Inc", "url": "https://github.com/facebook" }, "build": { "appId": "flipper", "artifactName": "Flipper-${os}.${ext}", "asar": true, "asarUnpack": [ "PortForwardingMacApp.app/**/*", "defaultPlugins/**/*" ], "dmg": { "background": "dmgBackground.png", "contents": [ { "x": 123, "y": 172 }, { "path": "/Applications", "type": "link", "x": 539, "y": 168 } ], "icon": "icon.icns", "iconSize": 155, "window": { "height": 400, "width": 660 } }, "fileAssociations": [ { "ext": [ ".flipper" ], "icon": "document-icons/document.icns", "name": "Flipper Data", "role": "Viewer" } ], "linux": { "category": "Development" }, "mac": { "category": "public.app-category.developer-tools", "extendInfo": { "NSUserNotificationAlertStyle": "alert" } }, "productName": "Flipper", "protocols": { "name": "flipper", "schemes": [ "flipper" ] }, "win": { "publisherName": "Facebook, Inc.", "sign": null } }, "category": "facebook-intern", "description": "Mobile development tool", "devDependencies": { "@babel/eslint-parser": "^7.17.0", "@jest-runner/electron": "^3.0.1", "@types/jest": "^26.0.24", "@typescript-eslint/eslint-plugin": "^5.22.0", "@typescript-eslint/parser": "^5.22.0", "babel-eslint": "^10.1.0", "cross-env": "^7.0.3", "electron": "18.2.0", "eslint": "^7.32.0", "eslint-config-fbjs": "^3.1.1", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-typescript": "^2.7.1", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-communist-spelling": "^1.0.0", "eslint-plugin-flipper": "0.0.0", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.29.4", "eslint-plugin-react-hooks": "^4.5.0", "eslint-plugin-rulesdir": "^0.2.1", "jest": "^26.6.3", "jest-environment-jsdom-sixteen": "^2.0.0", "jest-fetch-mock": "^3.0.3", "less": "^4.1.2", "patch-package": "^6.4.7", "prettier": "^2.6.2", "pretty-format": "^27.5.0", "rimraf": "^3.0.2", "ts-jest": "^26.5.6", "ts-node": "^9.1.1", "typescript": "^4.6.4" }, "homepage": "https://fbflipper.com/", "icon": "icon.png", "name": "flipper-project", "optionalDependencies": { "7zip-bin-mac": "^1.0.1" }, "private": true, "privileged": true, "productName": "Flipper", "resolutions": { "@jest-runner/electron/electron": "18.2.0", "adbkit-logcat": "^2.0.1", "minimist": "1.2.6", "node-forge": "^1.0.6" }, "scripts": { "build": "cross-env NODE_ENV=production ./ts-node scripts/build-release.tsx $@", "build-plugin": "./ts-node scripts/build-plugin.tsx", "build:dev": "cross-env NODE_ENV=development ./ts-node scripts/build-release.tsx $@", "build:eslint": "cd eslint-plugin-flipper && yarn build", "build:flipper-server": "yarn build:tsc && ./ts-node scripts/build-flipper-server-release.tsx", "build:themes": "lessc --js themes/light.less static/themes/light.css && lessc --js themes/dark.less static/themes/dark.css", "build:tsc": "tsc -b tsc-root/tsconfig.json && ./ts-node ./scripts/compute-package-checksum.tsx -d ./babel-transformer -o ./lib/checksum.txt", "bump-versions": "./ts-node scripts/bump-versions.tsx", "bundle-all-plugins": "./ts-node scripts/bundle-all-plugins.tsx", "dev-server": "cross-env NODE_ENV=development ./ts-node scripts/start-dev-server.tsx", "docs": "cd ../website && yarn start", "fix": "eslint . --fix --ext .js,.ts,.tsx", "flipper-server": "cross-env NODE_ENV=development ./ts-node scripts/start-flipper-server-dev.tsx", "lint": "yarn lint:eslint && yarn lint:tsc && yarn tsc-plugins", "lint:eslint": "eslint . --ext .js,.ts,.tsx", "lint:tsc": "tsc && tsc -p tsc-root/tsconfig.json --noemit", "list-plugins": "./ts-node scripts/list-plugins.tsx", "open-dist": "open ../dist/mac/Flipper.app --args --launcher=false --inspect=9229", "postinstall": "patch-package && yarn --cwd plugins install --mutex network:30331 && yarn tsc -b pkg-lib/tsconfig.json && ./ts-node scripts/generate-plugin-entry-points.tsx && yarn build:tsc && yarn build:themes", "prebuild": "yarn build:tsc && yarn rm-dist && yarn build:themes", "predev-server": "yarn build:tsc", "preflipper-server": "yarn build:tsc", "preinstall": "node scripts/prepare-watchman-config.js && yarn config set ignore-engines", "prelint:eslint": "yarn build:eslint", "pretest": "yarn build:tsc", "publish-packages": "./ts-node scripts/publish-packages.tsx", "get-electron-cache-directory": "./ts-node scripts/get-electron-cache-directory.tsx", "reset": "yarn rm-dist && yarn rm-temp && yarn rm-metro-cache && yarn cache clean && yarn rm-bundle && yarn rm-modules", "resolve-plugin-dir": "./ts-node scripts/resolve-plugin-dir.tsx", "rm-bundle": "rimraf static/main.bundle.* **/dist/bundle.* **/lib **/*.tsbuildinfo", "rm-dist": "rimraf ../dist", "rm-metro-cache": "rimraf $TMPDIR/metro-cache*", "rm-modules": "rimraf **/*/node_modules node_modules", "rm-temp": "rimraf $TMPDIR/jest* $TMPDIR/react-native-packager*", "rm-watches": "watchman watch-del-all", "start": "yarn dev-server --inspect=9229", "start:break": "yarn dev-server --inspect-brk=9229", "start:no-bundled-plugins": "yarn start --no-bundled-plugins", "test": "cross-env TZ=Pacific/Pohnpei jest", "test:debug": "yarn build:tsc && cross-env TZ=Pacific/Pohnpei node --inspect node_modules/.bin/jest --runInBand", "tsc-plugins": "./ts-node scripts/tsc-plugins.tsx", "watch": "cross-env TZ=Pacific/Pohnpei node --expose-gc --stack-trace-limit=40 ./node_modules/.bin/jest --watch" }, "engines": { "node": ">=16", "npm": "use yarn instead", "yarn": "^1.16" }, "version": "0.149.0", "workspaces": { "packages": [ "scripts", "app", "app/src/fb/*", "babel-transformer", "doctor", "pkg", "pkg-lib", "flipper-common", "flipper-frontend-core", "flipper-plugin", "flipper-server-companion", "flipper-server-core", "flipper-ui-core", "flipper-ui-browser", "flipper-server", "flipper-dump", "static", "e2e", "plugin-lib", "test-utils", "eslint-plugin-flipper", "types", "examples/*" ] }, "dependencies": { "js-flipper": "^0.146.1" } }