2016-11-10 14:26:24 +01:00
|
|
|
{
|
2022-08-26 09:25:31 +02:00
|
|
|
"name": "unleash-frontend-local",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"private": true,
|
2016-12-23 10:58:33 +01:00
|
|
|
"files": [
|
|
|
|
"index.js",
|
2021-04-07 09:04:48 +02:00
|
|
|
"build/"
|
2016-12-23 10:58:33 +01:00
|
|
|
],
|
2016-11-10 14:26:24 +01:00
|
|
|
"engines": {
|
2021-05-05 22:18:35 +02:00
|
|
|
"node": ">=14"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-08-30 10:52:30 +02:00
|
|
|
"build": "vite build",
|
2022-10-03 12:20:47 +02:00
|
|
|
"lint": "yarn fmt:check",
|
2022-05-05 17:15:22 +02:00
|
|
|
"start": "vite",
|
2021-04-07 09:04:48 +02:00
|
|
|
"start:heroku": "UNLEASH_API=https://unleash.herokuapp.com yarn run start",
|
2022-03-25 12:13:39 +01:00
|
|
|
"start:enterprise": "UNLEASH_API=https://unleash4.herokuapp.com yarn run start",
|
2022-06-23 08:54:08 +02:00
|
|
|
"start:demo": "UNLEASH_BASE_PATH=/demo/ yarn start",
|
2022-08-30 10:52:30 +02:00
|
|
|
"test": "tsc && vitest run",
|
2022-08-26 09:25:31 +02:00
|
|
|
"test:watch": "vitest watch",
|
2022-02-18 09:51:10 +01:00
|
|
|
"fmt": "prettier src --write --loglevel warn",
|
|
|
|
"fmt:check": "prettier src --check",
|
2022-09-30 13:01:32 +02:00
|
|
|
"ts:check": "tsc",
|
2022-03-25 12:13:39 +01:00
|
|
|
"e2e": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
2022-07-22 08:53:42 +02:00
|
|
|
"e2e:heroku": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=example@example.com",
|
2022-08-26 09:25:31 +02:00
|
|
|
"prepare": "yarn run build"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
2021-04-09 13:38:30 +02:00
|
|
|
"devDependencies": {
|
2022-08-23 14:20:02 +02:00
|
|
|
"@codemirror/lang-json": "6.0.0",
|
2022-08-30 22:42:48 +02:00
|
|
|
"@emotion/react": "11.10.4",
|
|
|
|
"@emotion/styled": "11.10.4",
|
2022-08-30 15:01:13 +02:00
|
|
|
"@mui/icons-material": "5.10.3",
|
|
|
|
"@mui/lab": "5.0.0-alpha.97",
|
|
|
|
"@mui/material": "5.10.3",
|
2022-10-06 02:56:01 +02:00
|
|
|
"@openapitools/openapi-generator-cli": "2.5.2",
|
2022-08-20 08:14:41 +02:00
|
|
|
"@testing-library/dom": "8.17.1",
|
2022-08-19 13:16:00 +02:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
2022-04-17 20:16:53 +02:00
|
|
|
"@testing-library/react": "12.1.5",
|
2022-08-18 15:56:39 +02:00
|
|
|
"@testing-library/react-hooks": "7.0.2",
|
2022-08-19 16:07:17 +02:00
|
|
|
"@testing-library/user-event": "14.4.3",
|
2021-09-29 21:11:52 +02:00
|
|
|
"@types/debounce": "1.2.1",
|
2021-11-08 16:02:06 +01:00
|
|
|
"@types/deep-diff": "1.0.1",
|
2022-08-26 12:04:19 +02:00
|
|
|
"@types/jest": "28.1.8",
|
2022-04-28 16:57:43 +02:00
|
|
|
"@types/lodash.clonedeep": "4.5.7",
|
2022-02-25 10:55:39 +01:00
|
|
|
"@types/node": "17.0.18",
|
2022-08-31 01:49:49 +02:00
|
|
|
"@types/react": "17.0.49",
|
2022-05-12 22:51:20 +02:00
|
|
|
"@types/react-dom": "17.0.17",
|
2022-05-05 15:34:46 +02:00
|
|
|
"@types/react-router-dom": "5.3.3",
|
2022-05-11 18:38:49 +02:00
|
|
|
"@types/react-table": "7.7.12",
|
2022-04-28 21:16:06 +02:00
|
|
|
"@types/react-test-renderer": "17.0.2",
|
2021-10-08 19:04:55 +02:00
|
|
|
"@types/react-timeago": "4.1.3",
|
2022-08-19 16:21:40 +02:00
|
|
|
"@types/semver": "7.3.12",
|
2022-08-26 14:49:44 +02:00
|
|
|
"@uiw/codemirror-theme-duotone": "4.11.6",
|
2022-08-26 12:31:58 +02:00
|
|
|
"@uiw/react-codemirror": "4.11.6",
|
2022-08-26 14:49:44 +02:00
|
|
|
"@vitejs/plugin-react": "2.0.1",
|
2022-08-04 16:46:41 +02:00
|
|
|
"chart.js": "3.9.1",
|
2022-02-21 18:02:59 +01:00
|
|
|
"chartjs-adapter-date-fns": "2.0.0",
|
2021-09-27 09:12:17 +02:00
|
|
|
"classnames": "2.3.1",
|
2022-08-03 13:46:10 +02:00
|
|
|
"copy-to-clipboard": "3.3.2",
|
2022-08-01 11:50:59 +02:00
|
|
|
"cypress": "9.7.0",
|
2022-08-19 16:35:56 +02:00
|
|
|
"date-fns": "2.29.2",
|
2021-09-27 09:12:17 +02:00
|
|
|
"debounce": "1.2.1",
|
2021-11-08 16:02:06 +01:00
|
|
|
"deep-diff": "1.0.2",
|
2022-08-31 21:27:55 +02:00
|
|
|
"eslint": "8.23.0",
|
2022-08-18 15:56:39 +02:00
|
|
|
"eslint-config-react-app": "7.0.1",
|
2022-03-24 20:06:59 +01:00
|
|
|
"fast-json-patch": "3.1.1",
|
2022-04-29 01:07:23 +02:00
|
|
|
"http-proxy-middleware": "2.0.6",
|
2022-06-13 21:39:36 +02:00
|
|
|
"immer": "9.0.15",
|
2022-06-27 14:53:07 +02:00
|
|
|
"jsdom": "20.0.0",
|
2021-09-27 09:12:17 +02:00
|
|
|
"lodash.clonedeep": "4.5.0",
|
2022-09-01 07:52:49 +02:00
|
|
|
"msw": "0.46.0",
|
2022-08-18 15:56:39 +02:00
|
|
|
"pkginfo": "0.4.1",
|
2022-06-07 17:35:57 +02:00
|
|
|
"plausible-tracker": "0.3.8",
|
2022-06-17 14:16:53 +02:00
|
|
|
"prettier": "2.7.1",
|
2022-02-11 01:34:06 +01:00
|
|
|
"prop-types": "15.8.1",
|
2021-09-27 09:12:17 +02:00
|
|
|
"react": "17.0.2",
|
2022-08-02 05:44:13 +02:00
|
|
|
"react-chartjs-2": "4.3.1",
|
2021-09-27 09:12:17 +02:00
|
|
|
"react-dom": "17.0.2",
|
2022-08-23 11:51:17 +02:00
|
|
|
"react-hooks-global-state": "2.0.0",
|
2022-05-05 13:42:18 +02:00
|
|
|
"react-router-dom": "6.3.0",
|
2022-05-17 16:33:12 +02:00
|
|
|
"react-table": "7.8.0",
|
2022-02-25 10:55:39 +01:00
|
|
|
"react-test-renderer": "17.0.2",
|
2022-06-13 09:07:14 +02:00
|
|
|
"react-timeago": "7.1.0",
|
2022-09-01 04:29:31 +02:00
|
|
|
"sass": "1.54.8",
|
2022-04-29 18:26:32 +02:00
|
|
|
"semver": "7.3.7",
|
2022-04-30 13:18:26 +02:00
|
|
|
"swr": "1.3.0",
|
2022-08-30 08:23:37 +02:00
|
|
|
"tss-react": "4.0.0",
|
2022-06-17 23:59:08 +02:00
|
|
|
"typescript": "4.7.4",
|
2022-08-26 14:49:44 +02:00
|
|
|
"vite": "3.0.9",
|
2022-08-18 15:56:39 +02:00
|
|
|
"vite-plugin-env-compatible": "1.1.1",
|
2022-07-27 21:30:41 +02:00
|
|
|
"vite-plugin-svgr": "2.2.1",
|
2022-05-27 01:57:24 +02:00
|
|
|
"vite-tsconfig-paths": "3.5.0",
|
2022-08-20 12:35:00 +02:00
|
|
|
"vitest": "0.22.1",
|
2022-08-26 14:49:44 +02:00
|
|
|
"whatwg-fetch": "3.6.2"
|
2017-02-23 22:18:23 +01:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleNameMapper": {
|
2022-02-04 11:32:02 +01:00
|
|
|
"\\.(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",
|
2017-02-23 22:18:23 +01:00
|
|
|
"\\.(css|scss)$": "identity-obj-proxy"
|
2022-02-04 11:32:02 +01:00
|
|
|
}
|
2021-04-07 09:04:48 +02:00
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
2021-02-05 14:24:22 +01:00
|
|
|
],
|
2021-04-07 09:04:48 +02:00
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
2021-02-05 14:33:32 +01:00
|
|
|
]
|
2021-03-30 15:14:02 +02:00
|
|
|
},
|
2021-04-07 09:04:48 +02:00
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
|
|
|
],
|
2022-05-25 12:36:58 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"warnOnUnsupportedTypeScriptVersion": false
|
|
|
|
},
|
2021-04-07 09:04:48 +02:00
|
|
|
"rules": {
|
|
|
|
"no-restricted-globals": "off",
|
|
|
|
"no-useless-computed-key": "off",
|
|
|
|
"import/no-anonymous-default-export": "off"
|
2022-02-25 10:21:28 +01:00
|
|
|
},
|
|
|
|
"ignorePatterns": [
|
|
|
|
"cypress"
|
|
|
|
]
|
2022-09-16 15:23:08 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-10-05 23:33:51 +02:00
|
|
|
"dequal": "2.0.3"
|
2022-04-08 11:45:23 +02:00
|
|
|
}
|
2016-11-10 14:26:24 +01:00
|
|
|
}
|