Files
flipper/js/js-flipper/package.json
Andrey Goncharov 9a47f41056 Implement JS flipper client
Summary:
Standardize WS implementation for JS environments.

Why do we need a separate server implementation for browsers?
Browser targets cannot authenticate via the default certificate exchange flow. We need a dedicated client for them that works over an insecure channel (without the cert exchange).

Major changes:
1. Renamed `flipper-js-client-sdk` to `js-flipper` for consistency with `react-native-flipper`
2. Updated `js-flipper` implementation to match our other existing clients

Documentation will be updated in a separate subsequent PR.

https://fb.quip.com/2mboA0xbgoxl

Reviewed By: mweststrate

Differential Revision: D31688105

fbshipit-source-id: 418aa80e0fd86361c089cf54b0d44a8b4f748efa
2021-10-21 04:28:21 -07:00

61 lines
1.8 KiB
JSON

{
"name": "js-flipper",
"title": "JS Flipper Bindings for Web-Socket based clients",
"version": "0.0.4",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"description": "Flipper bindings for Node.js and web",
"scripts": {
"reset": "rimraf index.js *.tsbuildinfo",
"build": "tsc -b",
"fix": "eslint . --fix --ext .js,.ts,.tsx",
"lint:tsc": "tsc --noemit",
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
"lint": "yarn lint:eslint && yarn lint:tsc",
"test": "cross-env TZ=Pacific/Pohnpei jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/flipper.git",
"baseUrl": "https://github.com/facebook/flipper/tree/main/js/js-flipper"
},
"keywords": [
"flipper"
],
"author": {
"name": "Facebook Inc"
},
"license": "MIT",
"licenseFilename": "LICENSE",
"readmeFilename": "README.md",
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^16.10.9",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"ansi-to-html": "^0.7.2",
"babel-eslint": "^10.0.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-fbjs": "^3.1.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^5.10.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"ts-jest": "^27.0.7",
"typescript": "^4.4.2",
"ws": "^8.2.3"
},
"dependencies": {}
}