This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathpackage.json
145 lines (145 loc) · 4.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "unleash-frontend",
"description": "unleash your features",
"version": "4.14.8",
"keywords": [
"unleash",
"feature toggle",
"feature",
"toggle"
],
"files": [
"index.js",
"build/"
],
"repository": {
"type": "git",
"url": "ssh://[email protected]:Unleash/unleash-frontend.git"
},
"bugs": {
"url": "https://github.com/Unleash/unleash-frontend"
},
"engines": {
"node": ">=14"
},
"license": "Apache-2.0",
"scripts": {
"build": "tsc && vite build",
"lint": "eslint src --max-warnings 0",
"start": "vite",
"start:heroku": "UNLEASH_API=https://unleash.herokuapp.com yarn run start",
"start:enterprise": "UNLEASH_API=https://unleash4.herokuapp.com yarn run start",
"start:demo": "UNLEASH_BASE_PATH=/demo/ yarn start",
"test": "vitest",
"prepare": "yarn run build",
"fmt": "prettier src --write --loglevel warn",
"fmt:check": "prettier src --check",
"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 [email protected]",
"isready": "yarn lint && yarn fmt && yarn prepare"
},
"devDependencies": {
"@codemirror/lang-json": "6.0.0",
"@emotion/react": "11.9.3",
"@emotion/styled": "11.9.3",
"@mui/icons-material": "5.10.3",
"@mui/lab": "5.0.0-alpha.99",
"@mui/material": "5.10.5",
"@openapitools/openapi-generator-cli": "2.5.2",
"@testing-library/dom": "8.18.1",
"@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.1",
"@types/jest": "28.1.8",
"@types/lodash.clonedeep": "4.5.7",
"@types/node": "17.0.18",
"@types/react": "17.0.50",
"@types/react-dom": "17.0.17",
"@types/react-router-dom": "5.3.3",
"@types/react-table": "7.7.12",
"@types/react-test-renderer": "17.0.2",
"@types/react-timeago": "4.1.3",
"@types/semver": "7.3.12",
"@uiw/react-codemirror": "4.12.3",
"@vitejs/plugin-react": "1.3.2",
"chart.js": "3.9.1",
"chartjs-adapter-date-fns": "2.0.0",
"classnames": "2.3.2",
"copy-to-clipboard": "3.3.2",
"cypress": "9.7.0",
"date-fns": "2.29.3",
"debounce": "1.2.1",
"deep-diff": "1.0.2",
"eslint": "8.24.0",
"eslint-config-react-app": "7.0.1",
"fast-json-patch": "3.1.1",
"http-proxy-middleware": "2.0.6",
"immer": "9.0.15",
"jsdom": "20.0.0",
"lodash.clonedeep": "4.5.0",
"msw": "0.47.3",
"pkginfo": "0.4.1",
"plausible-tracker": "0.3.8",
"prettier": "2.7.1",
"prop-types": "15.8.1",
"react": "17.0.2",
"react-chartjs-2": "4.3.1",
"react-dom": "17.0.2",
"react-hooks-global-state": "2.0.0",
"react-router-dom": "6.4.1",
"react-table": "7.8.0",
"react-test-renderer": "17.0.2",
"react-timeago": "7.1.0",
"sass": "1.55.0",
"semver": "7.3.7",
"swr": "1.3.0",
"tss-react": "3.7.1",
"typescript": "4.8.3",
"vite": "2.9.15",
"vite-plugin-env-compatible": "1.1.1",
"vite-plugin-svgr": "2.2.1",
"vite-tsconfig-paths": "3.5.1",
"vitest": "0.23.4",
"whatwg-fetch": "3.6.2",
"@uiw/codemirror-theme-duotone": "4.12.3"
},
"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"
},
"ignorePatterns": [
"cypress"
]
}
}