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-05-12 20:10:27 +02:00
|
|
|
"version": "4.11.0-beta.2",
|
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-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",
|
|
|
|
"e2e:heroku": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=example@example.com"
|
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-08 11:57:30 +02:00
|
|
|
"@mui/icons-material": "5.8.3",
|
|
|
|
"@mui/lab": "5.0.0-alpha.85",
|
|
|
|
"@mui/material": "5.8.3",
|
2022-04-29 23:36:36 +02:00
|
|
|
"@openapitools/openapi-generator-cli": "2.5.1",
|
2022-04-30 02:17:13 +02:00
|
|
|
"@testing-library/dom": "8.13.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-05-12 20:11:21 +02:00
|
|
|
"@testing-library/user-event": "14.2.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-06-01 22:00:19 +02:00
|
|
|
"@types/jest": "27.5.2",
|
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-05-07 00:53:54 +02:00
|
|
|
"@types/react": "17.0.45",
|
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-03-04 17:29:51 +01:00
|
|
|
"@types/semver": "^7.3.9",
|
2022-05-05 17:16:02 +02:00
|
|
|
"@vitejs/plugin-react": "1.3.2",
|
2022-05-25 17:34:54 +02:00
|
|
|
"chart.js": "3.8.0",
|
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",
|
2021-10-21 10:55:45 +02:00
|
|
|
"copy-to-clipboard": "3.3.1",
|
2022-03-29 02:44:18 +02:00
|
|
|
"cypress": "9.5.3",
|
2022-01-05 16:32:20 +01:00
|
|
|
"date-fns": "2.28.0",
|
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-04 02:52:50 +02:00
|
|
|
"eslint": "8.17.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-05-05 17:15:22 +02:00
|
|
|
"jsdom": "^19.0.0",
|
2021-09-27 09:12:17 +02:00
|
|
|
"lodash.clonedeep": "4.5.0",
|
2022-06-08 17:57:31 +02:00
|
|
|
"msw": "0.42.1",
|
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-04-28 15:03:54 +02:00
|
|
|
"prettier": "2.6.2",
|
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-06-07 21:36:51 +02:00
|
|
|
"react-chartjs-2": "4.2.0",
|
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-06-09 17:10:46 +02:00
|
|
|
"sass": "1.52.3",
|
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-05-24 23:39:00 +02:00
|
|
|
"tss-react": "3.7.0",
|
2022-06-03 23:16:35 +02:00
|
|
|
"typescript": "4.7.3",
|
2022-06-10 18:50:42 +02:00
|
|
|
"vite": "2.9.12",
|
2022-05-05 17:15:22 +02:00
|
|
|
"vite-plugin-env-compatible": "^1.1.1",
|
2022-05-06 14:05:01 +02:00
|
|
|
"vite-plugin-svgr": "2.1.0",
|
2022-05-27 01:57:24 +02:00
|
|
|
"vite-tsconfig-paths": "3.5.0",
|
2022-06-10 21:21:37 +02:00
|
|
|
"vitest": "0.14.2",
|
2022-05-05 17:15:22 +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-04-08 11:45:23 +02:00
|
|
|
}
|
2016-11-10 14:26:24 +01:00
|
|
|
}
|