Summary: Upgrading to TypeScript 3.9 so that we can use `// ts-expect-error`, that allows us to basically write unit tests for typings. Fixed the typescript path in `settings.json`, because otherwise VSCode kept picking the built-in version (3.8.3 atm) of ts when opening the `sonar` folder as workspace. Reviewed By: passy Differential Revision: D22255818 fbshipit-source-id: ae54aedb237445f32f1797b4290656dbfb0e528f
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "flipper-pkg-lib",
|
|
"version": "0.49.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.49.0",
|
|
"fs-extra": "^8.1.0",
|
|
"metro": "^0.59.0",
|
|
"metro-minify-terser": "^0.59.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/fs-extra": "^8.1.0",
|
|
"@types/jest": "^26",
|
|
"@types/node": "^13.7.5",
|
|
"flipper-test-utils": "0.49.0",
|
|
"globby": "^10",
|
|
"mock-fs": "^4.12.0",
|
|
"jest": "^26",
|
|
"prettier": "^2.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^26.0.0",
|
|
"ts-node": "^8",
|
|
"typescript": "^3.9.5"
|
|
},
|
|
"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"
|
|
}
|