2016-11-10 14:26:24 +01:00
|
|
|
{
|
2016-11-10 15:39:37 +01:00
|
|
|
"name": "unleash-frontend",
|
2016-11-10 14:26:24 +01:00
|
|
|
"description": "unleash your features",
|
2022-07-28 15:35:50 +02:00
|
|
|
"version": "4.14.1",
|
2016-11-10 14:26:24 +01:00
|
|
|
"keywords": [
|
|
|
|
"unleash",
|
|
|
|
"feature toggle",
|
|
|
|
"feature",
|
|
|
|
"toggle"
|
|
|
|
],
|
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
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-05-12 23:35:42 +02:00
|
|
|
"url": "ssh://git@github.com:Unleash/unleash-frontend.git"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
|
|
|
"bugs": {
|
2020-05-12 23:35:42 +02:00
|
|
|
"url": "https://github.com/Unleash/unleash-frontend"
|
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
|
|
|
},
|
2017-03-07 14:31:30 +01:00
|
|
|
"license": "Apache-2.0",
|
2016-11-10 14:26:24 +01:00
|
|
|
"scripts": {
|
2022-05-05 17:15:22 +02:00
|
|
|
"build": "tsc && vite build",
|
2022-05-25 12:36:58 +02:00
|
|
|
"lint": "eslint src --max-warnings 0",
|
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-05-05 17:15:22 +02:00
|
|
|
"test": "vitest",
|
2021-09-30 11:44:30 +02:00
|
|
|
"prepare": "yarn run build",
|
2022-02-18 09:51:10 +01:00
|
|
|
"fmt": "prettier src --write --loglevel warn",
|
|
|
|
"fmt:check": "prettier src --check",
|
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",
|
|
|
|
"isready": "yarn lint && yarn fmt && yarn prepare"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
2021-04-09 13:38:30 +02:00
|
|
|
"devDependencies": {
|
2022-06-13 17:59:10 +02:00
|
|
|
"@emotion/react": "11.9.3",
|
|
|
|
"@emotion/styled": "11.9.3",
|
2022-06-14 20:41:30 +02:00
|
|
|
"@mui/icons-material": "5.8.4",
|
2022-08-02 10:32:11 +02:00
|
|
|
"@mui/lab": "5.0.0-alpha.93",
|
|
|
|
"@mui/material": "5.9.3",
|
2022-04-29 23:36:36 +02:00
|
|
|
"@openapitools/openapi-generator-cli": "2.5.1",
|
2022-08-01 13:03:51 +02:00
|
|
|
"@testing-library/dom": "8.16.0",
|
2022-04-29 16:09:10 +02:00
|
|
|
"@testing-library/jest-dom": "5.16.4",
|
2022-04-17 20:16:53 +02:00
|
|
|
"@testing-library/react": "12.1.5",
|
2022-03-16 13:51:01 +01:00
|
|
|
"@testing-library/react-hooks": "^7.0.2",
|
2022-08-01 12:42:35 +02:00
|
|
|
"@testing-library/user-event": "14.3.0",
|
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-01 11:37:14 +02:00
|
|
|
"@types/jest": "28.1.6",
|
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-07-27 23:41:31 +02:00
|
|
|
"@types/react": "17.0.48",
|
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-06-15 19:13:32 +02:00
|
|
|
"@types/semver": "7.3.10",
|
2022-05-05 17:16:02 +02:00
|
|
|
"@vitejs/plugin-react": "1.3.2",
|
2022-07-27 13:57:48 +02:00
|
|
|
"chart.js": "3.8.2",
|
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-01 21:42:43 +02:00
|
|
|
"date-fns": "2.29.1",
|
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-06-18 02:49:41 +02:00
|
|
|
"eslint": "8.18.0",
|
2022-05-12 08:11:41 +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-08-02 01:45:46 +02:00
|
|
|
"msw": "0.44.2",
|
2022-05-02 15:52:41 +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-02-11 01:34:06 +01:00
|
|
|
"react-hooks-global-state": "1.0.2",
|
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-08-02 09:34:54 +02:00
|
|
|
"sass": "1.54.0",
|
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-07-27 15:44:20 +02:00
|
|
|
"tss-react": "3.7.1",
|
2022-06-17 23:59:08 +02:00
|
|
|
"typescript": "4.7.4",
|
2022-07-27 18:15:18 +02:00
|
|
|
"vite": "2.9.14",
|
2022-05-05 17:15:22 +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-03 03:57:41 +02:00
|
|
|
"vitest": "0.20.3",
|
2022-07-22 13:15:28 +02:00
|
|
|
"whatwg-fetch": "^3.6.2",
|
2022-07-27 13:56:50 +02:00
|
|
|
"@codemirror/lang-json": "6.0.0",
|
2022-08-03 16:26:21 +02:00
|
|
|
"@codemirror/state": "6.1.1",
|
2022-07-22 13:15:28 +02:00
|
|
|
"@uiw/react-codemirror": "^4.11.4",
|
|
|
|
"codemirror": "^6.0.1"
|
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-04-08 11:45:23 +02:00
|
|
|
}
|
2016-11-10 14:26:24 +01:00
|
|
|
}
|