mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
f7c41baf2e
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.34.0` -> `8.38.0`](https://renovatebot.com/diffs/npm/eslint/8.34.0/8.38.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.38.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.38.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.38.0/compatibility-slim/8.34.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.38.0/confidence-slim/8.34.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>eslint/eslint</summary> ### [`v8.38.0`](https://togithub.com/eslint/eslint/releases/tag/v8.38.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.37.0...v8.38.0) #### Features - [`a1d561d`](a1d561d18e
) feat: Move getDeclaredVariables and getAncestors to SourceCode ([#​17059](https://togithub.com/eslint/eslint/issues/17059)) (Nicholas C. Zakas) #### Bug Fixes - [`1c1ece2`](1c1ece26d1
) fix: do not report on `RegExp(...args)` in `require-unicode-regexp` ([#​17037](https://togithub.com/eslint/eslint/issues/17037)) (Francesco Trotta) #### Documentation - [`7162d34`](7162d34df9
) docs: Mention new config system is complete ([#​17068](https://togithub.com/eslint/eslint/issues/17068)) (Nicholas C. Zakas) - [`0fd6bb2`](0fd6bb213a
) docs: Update README (GitHub Actions Bot) - [`c83531c`](c83531c1a6
) docs: Update/remove external links, eg. point to `eslint-community` ([#​17061](https://togithub.com/eslint/eslint/issues/17061)) (Pelle Wessman) - [`a3aa6f5`](a3aa6f5f14
) docs: Clarify `no-div-regex` rule docs ([#​17051](https://togithub.com/eslint/eslint/issues/17051)) (Francesco Trotta) - [`b0f11cf`](b0f11cf977
) docs: Update README (GitHub Actions Bot) - [`da8d52a`](da8d52a9d4
) docs: Update the second object instance for the "no-new" rule ([#​17020](https://togithub.com/eslint/eslint/issues/17020)) (Ahmadou Waly NDIAYE) - [`518130a`](518130ae79
) docs: switch language based on current path ([#​16687](https://togithub.com/eslint/eslint/issues/16687)) (Percy Ma) - [`24206c4`](24206c49a1
) docs: Update README (GitHub Actions Bot) #### Chores - [`59ed060`](59ed06041d
) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).38.0 ([#​17069](https://togithub.com/eslint/eslint/issues/17069)) (Milos Djermanovic) - [`88c0898`](88c08984ec
) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`cf682d2`](cf682d249f
) refactor: simplify new-parens rule schema ([#​17060](https://togithub.com/eslint/eslint/issues/17060)) (MHO) - [`0dde022`](0dde022112
) ci: bump actions/add-to-project from 0.4.1 to 0.5.0 ([#​17055](https://togithub.com/eslint/eslint/issues/17055)) (dependabot\[bot]) ### [`v8.37.0`](https://togithub.com/eslint/eslint/releases/tag/v8.37.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.36.0...v8.37.0) #### Features - [`b6ab8b2`](b6ab8b2a2c
) feat: `require-unicode-regexp` add suggestions ([#​17007](https://togithub.com/eslint/eslint/issues/17007)) (Josh Goldberg) - [`10022b1`](10022b1f4b
) feat: Copy getScope() to SourceCode ([#​17004](https://togithub.com/eslint/eslint/issues/17004)) (Nicholas C. Zakas) - [`1665c02`](1665c029ac
) feat: Use plugin metadata for flat config serialization ([#​16992](https://togithub.com/eslint/eslint/issues/16992)) (Nicholas C. Zakas) - [`b3634f6`](b3634f695d
) feat: docs license ([#​17010](https://togithub.com/eslint/eslint/issues/17010)) (Samuel Roldan) - [`892e6e5`](892e6e58c5
) feat: languageOptions.parser must be an object. ([#​16985](https://togithub.com/eslint/eslint/issues/16985)) (Nicholas C. Zakas) #### Bug Fixes - [`619f3fd`](619f3fd173
) fix: correctly handle `null` default config in `RuleTester` ([#​17023](https://togithub.com/eslint/eslint/issues/17023)) (Brad Zacher) - [`1fbf118`](1fbf1184fe
) fix: `getFirstToken`/`getLastToken` on comment-only node ([#​16889](https://togithub.com/eslint/eslint/issues/16889)) (Francesco Trotta) - [`129e252`](129e252132
) fix: Fix typo in `logical-assignment-operators` rule description ([#​17000](https://togithub.com/eslint/eslint/issues/17000)) (Francesco Trotta) #### Documentation - [`75339df`](75339df994
) docs: fix typos and missing info in id-match docs ([#​17029](https://togithub.com/eslint/eslint/issues/17029)) (Ed Lucas) - [`ec2d830`](ec2d830785
) docs: Fix typos in the `semi` rule docs ([#​17012](https://togithub.com/eslint/eslint/issues/17012)) (Andrii Lundiak) - [`e39f28d`](e39f28d857
) docs: add back to top button ([#​16979](https://togithub.com/eslint/eslint/issues/16979)) (Tanuj Kanti) - [`721c717`](721c71782a
) docs: Custom Processors cleanup and expansion ([#​16838](https://togithub.com/eslint/eslint/issues/16838)) (Ben Perlmutter) - [`d049f97`](d049f97410
) docs: 'How ESLint is Maintained' page ([#​16961](https://togithub.com/eslint/eslint/issues/16961)) (Ben Perlmutter) - [`5251a92`](5251a92186
) docs: Describe guard options for guard-for-in ([#​16986](https://togithub.com/eslint/eslint/issues/16986)) (alope107) - [`6157d81`](6157d813e1
) docs: Add example to guard-for-in docs. ([#​16983](https://togithub.com/eslint/eslint/issues/16983)) (alope107) - [`fd47998`](fd47998af6
) docs: update `Array.prototype.toSorted` specification link ([#​16982](https://togithub.com/eslint/eslint/issues/16982)) (Milos Djermanovic) - [`3e1cf6b`](3e1cf6bfc5
) docs: Copy edits on Maintain ESLint docs ([#​16939](https://togithub.com/eslint/eslint/issues/16939)) (Ben Perlmutter) #### Chores - [`c67f299`](c67f2992a7
) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).37.0 ([#​17033](https://togithub.com/eslint/eslint/issues/17033)) (Milos Djermanovic) - [`ee9ddbd`](ee9ddbd63e
) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`dddb475`](dddb475288
) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.2 ([#​17032](https://togithub.com/eslint/eslint/issues/17032)) (Milos Djermanovic) - [`522431e`](522431e520
) chore: upgrade espree@9.5.1 ([#​17031](https://togithub.com/eslint/eslint/issues/17031)) (Milos Djermanovic) - [`f5f9a88`](f5f9a88c79
) chore: upgrade eslint-visitor-keys@3.4.0 ([#​17030](https://togithub.com/eslint/eslint/issues/17030)) (Milos Djermanovic) - [`4dd8d52`](4dd8d524e0
) ci: bump actions/stale from 7 to 8 ([#​17026](https://togithub.com/eslint/eslint/issues/17026)) (dependabot\[bot]) - [`ad9dd6a`](ad9dd6a933
) chore: remove duplicate scss, ([#​17005](https://togithub.com/eslint/eslint/issues/17005)) (Strek) - [`ada6a3e`](ada6a3e6e3
) ci: unpin Node 19 ([#​16993](https://togithub.com/eslint/eslint/issues/16993)) (Milos Djermanovic) - [`c3da975`](c3da975e69
) chore: Remove triage label from template ([#​16990](https://togithub.com/eslint/eslint/issues/16990)) (Nicholas C. Zakas) - [`69bc0e2`](69bc0e2f44
) ci: pin Node 19 to 19.7.0 ([#​16987](https://togithub.com/eslint/eslint/issues/16987)) (Milos Djermanovic) ### [`v8.36.0`](https://togithub.com/eslint/eslint/releases/tag/v8.36.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.35.0...v8.36.0) #### Features - [`c89a485`](c89a485c49
) feat: Add `checkJSDoc` option to multiline-comment-style ([#​16807](https://togithub.com/eslint/eslint/issues/16807)) (Laurent Cozic) - [`f5f5e11`](f5f5e11bd5
) feat: Serialize parsers/processors in flat config ([#​16944](https://togithub.com/eslint/eslint/issues/16944)) (Nicholas C. Zakas) - [`4799297`](4799297ea5
) feat: use [@​eslint-community](https://togithub.com/eslint-community) dependencies ([#​16784](https://togithub.com/eslint/eslint/issues/16784)) (Michaël De Boey) #### Bug Fixes - [`92c1943`](92c1943ba7
) fix: correctly iterate files matched by glob patterns ([#​16831](https://togithub.com/eslint/eslint/issues/16831)) (Nitin Kumar) #### Documentation - [`b98fdd4`](b98fdd413a
) docs: Update README (GitHub Actions Bot) - [`caf08ce`](caf08ce0cc
) docs: fix estree link in custom formatters docs ([#​16967](https://togithub.com/eslint/eslint/issues/16967)) (Milos Djermanovic) - [`3398431`](3398431574
) docs: Custom Parsers cleanup/expansion ([#​16887](https://togithub.com/eslint/eslint/issues/16887)) (Ben Perlmutter) - [`19d3531`](19d3531d9b
) docs: Update README (GitHub Actions Bot) - [`b09a512`](b09a512107
) docs: detect and fix broken links ([#​16837](https://togithub.com/eslint/eslint/issues/16837)) (Nitin Kumar) #### Chores - [`602b111`](602b111219
) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).36.0 ([#​16978](https://togithub.com/eslint/eslint/issues/16978)) (Milos Djermanovic) - [`43c2345`](43c2345c27
) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`00afb84`](00afb84e50
) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.1 ([#​16977](https://togithub.com/eslint/eslint/issues/16977)) (Milos Djermanovic) - [`698c5aa`](698c5aad50
) chore: upgrade espree@9.5.0 ([#​16976](https://togithub.com/eslint/eslint/issues/16976)) (Milos Djermanovic) - [`75acdd2`](75acdd21c5
) chore: lint more js files in docs ([#​16964](https://togithub.com/eslint/eslint/issues/16964)) (Milos Djermanovic) - [`89d9844`](89d9844b31
) ci: bump actions/add-to-project from 0.4.0 to 0.4.1 ([#​16943](https://togithub.com/eslint/eslint/issues/16943)) (dependabot\[bot]) ### [`v8.35.0`](https://togithub.com/eslint/eslint/releases/tag/v8.35.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.34.0...v8.35.0) #### Features - [`8e34a04`](8e34a04e3a
) feat: add `afterHashbangComment` option to `lines-around-comment` rule ([#​16920](https://togithub.com/eslint/eslint/issues/16920)) (SUZUKI Sosuke) - [`c8c0c71`](c8c0c715a2
) feat: Move all and recommended configs into package. ([#​16844](https://togithub.com/eslint/eslint/issues/16844)) (Nicholas C. Zakas) - [`71f6f0d`](71f6f0dcd5
) feat: report more cases with `??` in no-constant-binary-expression ([#​16826](https://togithub.com/eslint/eslint/issues/16826)) (Daiki Nishikawa) #### Bug Fixes - [`9698bc5`](9698bc5cde
) fix: pin esquery v1.4.0 (fixes [#​16896](https://togithub.com/eslint/eslint/issues/16896)) ([#​16897](https://togithub.com/eslint/eslint/issues/16897)) (唯然) #### Documentation - [`f9f195e`](f9f195ef12
) docs: Plugin docs cleanup & expansion ([#​16862](https://togithub.com/eslint/eslint/issues/16862)) (Ben Perlmutter) - [`df809fd`](df809fdedc
) docs: Custom Formatters page cleanup/expansion ([#​16886](https://togithub.com/eslint/eslint/issues/16886)) (Ben Perlmutter) - [`0700d1b`](0700d1b146
) docs: Add PostCSS/Autoprefixer/CSSNano ([#​16502](https://togithub.com/eslint/eslint/issues/16502)) (Nick Schonning) - [`7b9e9bf`](7b9e9bf78b
) docs: support unicode anchors ([#​16782](https://togithub.com/eslint/eslint/issues/16782)) (Percy Ma) - [`5fbc0bf`](5fbc0bffdd
) docs: Update README (GitHub Actions Bot) - [`67865a0`](67865a064c
) docs: Remove mention of mailing list ([#​16869](https://togithub.com/eslint/eslint/issues/16869)) (Amaresh S M) - [`43af24a`](43af24a88b
) docs: Add explanation of when to use 'warn' severity ([#​16882](https://togithub.com/eslint/eslint/issues/16882)) (Nicholas C. Zakas) - [`ed2999b`](ed2999b38b
) docs: Shareable configs page edits and expansion ([#​16824](https://togithub.com/eslint/eslint/issues/16824)) (Ben Perlmutter) - [`2780635`](27806358b5
) docs: fix typos ([#​16884](https://togithub.com/eslint/eslint/issues/16884)) (Lioness100) - [`5bdaae2`](5bdaae205c
) docs: Ways to Extend ESLint page ([#​16861](https://togithub.com/eslint/eslint/issues/16861)) (Ben Perlmutter) #### Chores - [`cdcbe12`](cdcbe127de
) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).35.0 ([#​16935](https://togithub.com/eslint/eslint/issues/16935)) (Brandon Mills) - [`c954c34`](c954c349c0
) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`5a517da`](5a517da8e5
) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`9f10926`](9f10926d76
) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.0 ([#​16928](https://togithub.com/eslint/eslint/issues/16928)) (Milos Djermanovic) - [`da728fa`](da728fae6c
) ci: use LTS node version in workflows ([#​16907](https://togithub.com/eslint/eslint/issues/16907)) (Nitin Kumar) - [`c57b4f3`](c57b4f3dc6
) perf: upgrade to esquery@1.4.2 ([#​16901](https://togithub.com/eslint/eslint/issues/16901)) (Milos Djermanovic) - [`9122f07`](9122f07640
) chore: Update stale bot settings ([#​16870](https://togithub.com/eslint/eslint/issues/16870)) (Nicholas C. Zakas) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
165 lines
5.6 KiB
JSON
165 lines
5.6 KiB
JSON
{
|
|
"name": "unleash-frontend-local",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"files": [
|
|
"index.js",
|
|
"build"
|
|
],
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"start": "vite",
|
|
"start:prod": "vite build && vite preview",
|
|
"start:sandbox": "UNLEASH_API=https://sandbox.getunleash.io/ospro yarn run start",
|
|
"start:demo2": "UNLEASH_API=https://sandbox.getunleash.io/ UNLEASH_BASE_PATH=/demo2/ yarn run start",
|
|
"start:enterprise": "UNLEASH_API=https://unleash.herokuapp.com VITE_TEST_REDIRECT=true yarn run start",
|
|
"start:demo": "UNLEASH_BASE_PATH=/demo/ UNLEASH_API=https://app.unleash-hosted.com/ yarn run start",
|
|
"test": "tsc && NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest run",
|
|
"test:snapshot": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn test -u",
|
|
"test:watch": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest watch",
|
|
"lint": "eslint --fix ./src",
|
|
"lint:check": "eslint ./src",
|
|
"fmt": "prettier src --write --loglevel warn",
|
|
"fmt:check": "prettier src --check",
|
|
"ts:check": "tsc",
|
|
"e2e": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
|
"e2e:heroku": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn run cypress open --config baseUrl='https://unleash.herokuapp.com' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
|
"gen:api": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" orval --config orval.config.js",
|
|
"gen:api:demo": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" UNLEASH_OPENAPI_URL=https://app.unleash-hosted.com/demo/docs/openapi.json yarn run gen:api",
|
|
"gen:api:sandbox": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" UNLEASH_OPENAPI_URL=https://sandbox.getunleash.io/demo2/docs/openapi.json yarn run gen:api",
|
|
"prepare": "yarn run build"
|
|
},
|
|
"devDependencies": {
|
|
"@codemirror/lang-json": "6.0.1",
|
|
"@emotion/react": "11.10.6",
|
|
"@emotion/styled": "11.10.6",
|
|
"@mui/icons-material": "5.11.9",
|
|
"@mui/lab": "5.0.0-alpha.120",
|
|
"@mui/material": "5.11.10",
|
|
"@testing-library/dom": "8.20.0",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "12.1.5",
|
|
"@testing-library/react-hooks": "7.0.2",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"@types/debounce": "1.2.1",
|
|
"@types/deep-diff": "1.0.2",
|
|
"@types/jest": "29.4.0",
|
|
"@types/lodash.clonedeep": "4.5.7",
|
|
"@types/lodash.omit": "4.5.7",
|
|
"@types/node": "17.0.18",
|
|
"@types/react": "17.0.58",
|
|
"@types/react-dom": "17.0.19",
|
|
"@types/react-linkify": "1.0.1",
|
|
"@types/react-router-dom": "5.3.3",
|
|
"@types/react-table": "7.7.14",
|
|
"@types/react-test-renderer": "17.0.2",
|
|
"@types/react-timeago": "4.1.3",
|
|
"@types/semver": "7.3.13",
|
|
"@types/uuid": "^9.0.0",
|
|
"@uiw/codemirror-theme-duotone": "4.19.16",
|
|
"@uiw/react-codemirror": "4.19.16",
|
|
"@vitejs/plugin-react": "3.1.0",
|
|
"chart.js": "3.9.1",
|
|
"chartjs-adapter-date-fns": "3.0.0",
|
|
"classnames": "2.3.2",
|
|
"copy-to-clipboard": "3.3.3",
|
|
"countries-and-timezones": "^3.4.0",
|
|
"cypress": "9.7.0",
|
|
"date-fns": "2.29.3",
|
|
"date-fns-tz": "^2.0.0",
|
|
"debounce": "1.2.1",
|
|
"deep-diff": "1.0.2",
|
|
"dequal": "2.0.3",
|
|
"eslint": "8.38.0",
|
|
"eslint-config-react-app": "7.0.1",
|
|
"fast-json-patch": "3.1.1",
|
|
"http-proxy-middleware": "2.0.6",
|
|
"immer": "9.0.21",
|
|
"jsdom": "21.1.1",
|
|
"lodash.clonedeep": "4.5.0",
|
|
"lodash.omit": "4.5.0",
|
|
"mermaid": "^9.3.0",
|
|
"millify": "^5.0.1",
|
|
"msw": "0.49.3",
|
|
"pkginfo": "0.4.1",
|
|
"plausible-tracker": "0.3.8",
|
|
"prettier": "2.8.1",
|
|
"prop-types": "15.8.1",
|
|
"react": "17.0.2",
|
|
"react-chartjs-2": "4.3.1",
|
|
"react-confetti": "^6.1.0",
|
|
"react-dom": "17.0.2",
|
|
"react-dropzone": "14.2.3",
|
|
"react-error-boundary": "3.1.4",
|
|
"react-hooks-global-state": "2.1.0",
|
|
"react-joyride": "^2.5.3",
|
|
"react-linkify": "^1.0.0-alpha",
|
|
"react-markdown": "^8.0.4",
|
|
"react-router-dom": "6.8.1",
|
|
"react-table": "7.8.0",
|
|
"react-test-renderer": "17.0.2",
|
|
"react-timeago": "7.1.0",
|
|
"sass": "1.58.3",
|
|
"semver": "7.3.8",
|
|
"swr": "2.0.4",
|
|
"tss-react": "4.6.1",
|
|
"typescript": "4.8.4",
|
|
"vite": "4.1.4",
|
|
"vite-plugin-env-compatible": "1.1.1",
|
|
"vite-plugin-svgr": "2.4.0",
|
|
"vite-tsconfig-paths": "4.0.5",
|
|
"vitest": "0.28.5",
|
|
"whatwg-fetch": "3.6.2"
|
|
},
|
|
"optionalDependencies": {
|
|
"orval": "^6.10.3"
|
|
},
|
|
"resolutions": {
|
|
"@codemirror/state": "6.2.0",
|
|
"@xmldom/xmldom": "^0.8.4",
|
|
"json5": "^2.2.2",
|
|
"@types/react": "17.0.58",
|
|
"@types/react-dom": "17.0.19"
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
|
|
"\\.svg": "<rootDir>/src/__mocks__/svgMock.js",
|
|
"\\.(css|scss)$": "identity-obj-proxy"
|
|
}
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
],
|
|
"parserOptions": {
|
|
"warnOnUnsupportedTypeScriptVersion": false
|
|
},
|
|
"rules": {
|
|
"no-restricted-globals": "off",
|
|
"no-useless-computed-key": "off",
|
|
"import/no-anonymous-default-export": "off",
|
|
"react-hooks/exhaustive-deps": "off"
|
|
},
|
|
"ignorePatterns": [
|
|
"cypress"
|
|
]
|
|
}
|
|
}
|