-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
150 lines (150 loc) · 5.36 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
146
147
148
149
150
{
"name": "web",
"version": "0.1.0",
"private": true,
"homepage": ".",
"dependencies": {
"@ant-design/icons": "4.7.0",
"@codemirror/autocomplete": "6.0.3",
"@codemirror/language": "6.2.0",
"@codemirror/lint": "6.0.0",
"@codemirror/view": "6.4.0",
"@dnd-kit/core": "6.0.5",
"@dnd-kit/sortable": "7.0.1",
"@lezer/highlight": "1.0.0",
"@opentelemetry/semantic-conventions": "1.3.0",
"@reduxjs/toolkit": "1.9.5",
"@segment/analytics-next": "1.51.2",
"@sentry/react": "6.19.7",
"@sentry/tracing": "6.19.7",
"@types/jest": "24.9.1",
"@types/markdown-it": "12.2.3",
"@types/node": "16.18.38",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.2",
"@types/react-redux": "7.1.22",
"@uiw/codemirror-extensions-langs": "4.12.4",
"@uiw/codemirror-themes": "4.12.4",
"@uiw/react-codemirror": "4.12.4",
"@visx/axis": "2.17.0",
"@visx/group": "2.10.0",
"@visx/hierarchy": "2.10.0",
"@visx/responsive": "2.10.0",
"@visx/scale": "2.2.2",
"antd": "4.20.4",
"d3-dag": "0.9.1",
"date-fns": "2.28.0",
"fast-xml-parser": "4.2.4",
"history": "5.2.0",
"html-react-parser": "3.0.4",
"js-yaml": "4.1.0",
"less": "4.1.3",
"lodash": "4.17.21",
"markdown-it": "13.0.1",
"parse-curl": "0.2.6",
"path-browserify": "1.0.1",
"posthog-js": "1.82.3",
"postman-collection": "4.1.4",
"protobufjs": "7.2.4",
"query-string": "7.1.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-flow-renderer": "10.3.7",
"react-joyride": "2.5.3",
"react-redux": "7.2.6",
"react-resizable-panels": "2.0.11",
"react-router-dom": "6.2.1",
"react-scripts": "5.0.1",
"react-syntax-highlighter": "15.5.0",
"react-virtualized-auto-sizer": "1.0.22",
"react-window": "1.8.10",
"redux-first-history": "5.0.12",
"styled-components": "5.3.3",
"typescript": "5.0.2"
},
"scripts": {
"start": "npm run less && craco start",
"dev": "concurrently 'npm run start' 'npm run port-forward'",
"port-forward": "while true; do kubectl -n qualitytrace-beta port-forward svc/qualitytrace-beta 11633; done",
"build": "npm run less && craco build",
"test": "npm run test:unit",
"test:integration": "npm run cy:run",
"test:unit": "craco test --watchAll=false --coverage",
"test:unit:watch": "craco test",
"lint": "npm run eslint && npm run types",
"types:generate": "openapi-typescript ../api/openapi.yaml --output ./src/types/Generated.types.ts",
"grammar:generate": "npm run grammar:selectorQL && npm run grammar:expressionQL && npm run grammar:interpolationQL",
"grammar:selectorQL": "lezer-generator ./src/components/Editor/Selector/grammar/syntax.grammar -o ./src/components/Editor/Selector/grammar/grammar.js",
"grammar:expressionQL": "lezer-generator ./src/components/Editor/Expression/grammar/syntax.grammar -o ./src/components/Editor/Expression/grammar/grammar.js",
"grammar:interpolationQL": "lezer-generator ./src/components/Editor/Interpolation/grammar/syntax.grammar -o ./src/components/Editor/Interpolation/grammar/grammar.js",
"types": "tsc",
"eslint": "eslint --ext .js,.ts,.tsx src/ cypress/",
"eject": "react-scripts eject",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:ci": "cypress run --parallel --record --key $CYPRESS_RECORD_KEY",
"cy:local:run": "POKEMON_HTTP_ENDPOINT=http://demo-api:8081 cypress run",
"cy:local:open": "POKEMON_HTTP_ENDPOINT=http://demo-api:8081 cypress open",
"prettier": "prettier --write ./src",
"less": "lessc --js src/antd-theme/antd-customized.less src/antd-theme/antd-customized.css"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"transformIgnorePatterns": [
"/node_modules/(?!antd|@ant-design|d3-array|d3|internmap|delaunator|@codemirror|robust-predicates|rc-.+?|@babel/runtime).+(js|jsx)$"
],
"collectCoverageFrom": [
"src/**/*.(ts|tsx)",
"!src/assets/**/*"
],
"resetMocks": false
},
"resolutions": {
"styled-components": "5"
},
"devDependencies": {
"@craco/craco": "7.1.0",
"@cypress/react": "5.12.4",
"@cypress/webpack-dev-server": "1.8.4",
"@faker-js/faker": "6.3.1",
"@lezer/generator": "1.1.1",
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "12.1.4",
"@testing-library/react-hooks": "8.0.0",
"@types/codemirror": "5.60.5",
"@types/lodash": "4.14.181",
"@types/postman-collection": "3.5.7",
"@types/react-syntax-highlighter": "15.5.7",
"@types/react-window": "1.8.8",
"@types/styled-components": "5.1.21",
"concurrently": "7.2.1",
"cypress": "13.2.0",
"cypress-file-upload": "5.0.8",
"eslint": "8.8.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-unused-imports": "2.0.0",
"jest-fetch-mock": "3.0.3",
"openapi-typescript": "5.3.0",
"prettier": "2.7.1",
"webpack": "5.72.0"
},
"proxy": "http://localhost:11633"
}