Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1761 Plugin installed logic is quite complex and heavily relies on file system. So I added integration tests which uses in-memory file system. Here I've covered complex functions added in the previous diff of this stack. Reviewed By: mweststrate Differential Revision: D25393473 fbshipit-source-id: a823eb7d6707152a1c3717a6da25b6beee85801d
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "flipper-pkg-lib",
|
|
"version": "0.0.0",
|
|
"description": "Library for building and publishing Flipper plugins",
|
|
"repository": "facebook/flipper",
|
|
"main": "lib/index.js",
|
|
"flipperBundlerEntry": "src",
|
|
"types": "lib/index.d.ts",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/facebook/flipper/issues",
|
|
"dependencies": {
|
|
"flipper-babel-transformer": "0.0.0",
|
|
"fs-extra": "^9.0.1",
|
|
"metro": "^0.63.0",
|
|
"metro-minify-terser": "^0.63.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/fs-extra": "^9.0.1",
|
|
"@types/jest": "^26",
|
|
"@types/node": "^14.14.10",
|
|
"flipper-test-utils": "0.0.0",
|
|
"globby": "^11",
|
|
"jest": "^26",
|
|
"mock-fs": "^4.13.0",
|
|
"prettier": "^2.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^26.0.0",
|
|
"ts-node": "^8",
|
|
"typescript": "^4.1.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"
|
|
}
|