Summary: This diff refactors `js/react-flipper-example` to React & ReactDOM `18.2.0` and bumps all deps to the `latest`. - Also, specifies the `js-flipper` dep version as `*` which is taken care of by the `relative-deps` script. - Deletes `logo.svg` from `src/` ### Scope: `js/react-flipper-example` ## Changelog [General][Changed] - [Refactor] `js/react-flipper-example` Switch to React `18.2.0` & bump deps. Pull Request resolved: https://github.com/facebook/flipper/pull/4901 Test Plan: - Should pass `js-flipper / build-react-example (pull_request)` workflow. Reviewed By: antonk52 Differential Revision: D47868448 Pulled By: passy fbshipit-source-id: edc67ebe3f205d32ec6198b7130ded287997fe50
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "react-flipper-example",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@types/jest": "^29.5.2",
|
|
"@types/node": "^20.3.2",
|
|
"@types/react": "^18.2.14",
|
|
"@types/react-dom": "^18.2.6",
|
|
"js-flipper": "*",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-scripts": "^5.0.1",
|
|
"typescript": "^5.1.6",
|
|
"web-vitals": "^3.3.2"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"prepare": "relative-deps"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"relative-deps": "^1.0.7"
|
|
},
|
|
"relativeDependencies": {
|
|
"js-flipper": "../js-flipper"
|
|
}
|
|
}
|