Summary: "flipper-pkg" added ~2MB to Flipper disttributive size, because of heavy dependencies which are only required for CLI functionality. See size warning in diff D21068373 in this stack where I added pkg as dependency to flipper. Here I'm splitting it into library and CLI packages, so Flipper app will only reference the library. Reviewed By: passy Differential Revision: D21087336 fbshipit-source-id: d9d62f1e75a835d1c0fa78ff1addb0d9a761a9c7
42 lines
1003 B
JSON
42 lines
1003 B
JSON
{
|
|
"name": "flipper-pkg-lib",
|
|
"version": "0.37.0",
|
|
"description": "Library for building and publishing Flipper plugins",
|
|
"repository": "facebook/flipper",
|
|
"main": "lib/index.js",
|
|
"flipper:source": "src",
|
|
"types": "lib/index.d.ts",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/facebook/flipper/issues",
|
|
"dependencies": {
|
|
"@types/fs-extra": "^8.1.0",
|
|
"@types/node": "^13.7.5",
|
|
"fs-extra": "^8.1.0",
|
|
"flipper-babel-transformer": "0.37.0",
|
|
"metro": "^0.59.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^25.1.0",
|
|
"globby": "^10",
|
|
"jest": "^25.1.0",
|
|
"prettier": "^2.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^25.2.1",
|
|
"ts-node": "^8",
|
|
"typescript": "^3.7.2"
|
|
},
|
|
"scripts": {
|
|
"reset": "rimraf lib *.tsbuildinfo",
|
|
"build": "tsc -b",
|
|
"prepack": "yarn reset && yarn build"
|
|
},
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"homepage": "https://github.com/facebook/flipper",
|
|
"keywords": [
|
|
"Flipper"
|
|
],
|
|
"author": "Facebook, Inc"
|
|
}
|