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
67 lines
1.6 KiB
JSON
67 lines
1.6 KiB
JSON
{
|
|
"name": "flipper-pkg",
|
|
"version": "0.37.0",
|
|
"description": "Utility for building and publishing Flipper plugins",
|
|
"repository": "facebook/flipper",
|
|
"main": "lib/index.js",
|
|
"flipper:source": "src",
|
|
"types": "lib/index.d.ts",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"flipper-pkg": "./bin/run"
|
|
},
|
|
"bugs": "https://github.com/facebook/flipper/issues",
|
|
"dependencies": {
|
|
"@oclif/command": "^1",
|
|
"@oclif/config": "^1",
|
|
"@oclif/plugin-help": "^2",
|
|
"@types/fs-extra": "^8.1.0",
|
|
"@types/inquirer": "^6.5.0",
|
|
"@types/node": "^13.7.5",
|
|
"cli-ux": "^5.4.5",
|
|
"fs-extra": "^8.1.0",
|
|
"flipper-pkg-lib": "0.37.0",
|
|
"inquirer": "^7.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@oclif/dev-cli": "^1",
|
|
"@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",
|
|
"postpack": "rimraf oclif.manifest.json",
|
|
"prepack": "yarn reset && yarn build && oclif-dev manifest && oclif-dev readme",
|
|
"run": "yarn build && bin/run",
|
|
"version": "oclif-dev readme && hg add README.md"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
},
|
|
"files": [
|
|
"/bin",
|
|
"/npm-shrinkwrap.json",
|
|
"/oclif.manifest.json",
|
|
"lib/**/*"
|
|
],
|
|
"homepage": "https://github.com/facebook/flipper",
|
|
"keywords": [
|
|
"Flipper"
|
|
],
|
|
"author": "Facebook, Inc",
|
|
"oclif": {
|
|
"commands": "./lib/commands",
|
|
"bin": "flipper-pkg",
|
|
"plugins": [
|
|
"@oclif/plugin-help"
|
|
]
|
|
}
|
|
}
|