-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
182 lines (182 loc) · 6.37 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"name": "engioscope",
"version": "0.1.326",
"type": "module",
"scripts": {
"watch:tailwind": "tailwind -c ui/tailwind.config.cjs build -i ui/tailwind.css -o ui/tailwind.output.css --watch",
"start:vite": "vite --open",
"start:ui": "npm-run-all --parallel watch:tailwind start:vite",
"start:server": "DEBUG=fetch,cron nodemon --watch 'backend/**' --ext 'ts,json' --exec 'ts-node --esm --transpileOnly backend/dev/start-server.ts'",
"start": "npm-run-all --parallel start:server start:ui",
"build:server": "tsc --build backend",
"prebuild:ui": "NODE_ENV=production tailwind -c ui/tailwind.config.cjs build -i ui/tailwind.css -o ui/tailwind.output.css",
"build:ui": "vite build",
"clean": "rimraf dist",
"update-language-colors": "ts-node --esm backend/update-language-colors.ts",
"prebuild": "npm-run-all --parallel clean update-language-colors",
"build": "npm-run-all --parallel build:server build:ui",
"serve": "vite preview",
"test:ci": "CI=true npm run test",
"test": "vitest --dom",
"update-snapshot": "vitest --dom -u",
"parallelised-ci-tasks": "npm-run-all --parallel checks build",
"scrape": "DEBUG=* node --max-old-space-size=8192 -- node_modules/.bin/ts-node --esm -P backend/tsconfig.json ./backend/dev/scrape.ts",
"onboard": "DEBUG=* node --max-old-space-size=8192 -- node_modules/.bin/ts-node --esm -P backend/tsconfig.json ./backend/dev/onboard.ts",
"scrape:profiler": "DEBUG=* node --max-old-space-size=12288 --expose-gc -r ts-node/register --prof ./backend/dev/scrape.ts",
"tsc": "tsc --build backend ui",
"lint": "eslint \"./**/*.ts\" \"./**/*.tsx\" --cache",
"scratch": "DEBUG=* ts-node --esm ./backend/scratch/sample.ts",
"install:husky": "husky install",
"prepare": "npm-run-all --parallel install:husky update-language-colors",
"checks": "npm-run-all --parallel test:ci tsc lint",
"dead:ui": "ts-prune -p ui/tsconfig.json -i 'backend/|shared/'",
"dead:backend": "ts-prune -p backend/tsconfig.json -i 'ui/|shared/'",
"dead:shared": "ts-prune -p shared/tsconfig.json -i 'backend/|ui/'",
"find-dead-code": "npm-run-all --parallel dead:ui dead:backend dead:shared",
"format": "prettier --log-level warn --write \"**/*.{tsx,ts}\""
},
"bin": {
"engioscope": "dist/backend/cli.js"
},
"engines": {
"node": ">=16.16"
},
"dependencies": {
"@tanstack/react-query-devtools": "4.36.1",
"@trpc/server": "10.41.0",
"@zkochan/rimraf": "2.1.3",
"abort-controller": "3.0.0",
"await-lock": "2.2.2",
"chalk": "5.3.0",
"compression": "1.7.4",
"cookie-parser": "1.4.6",
"cron": "2.4.4",
"cron-time-generator": "2.0.1",
"cronstrue": "^2.27.0",
"debug": "4.3.4",
"expiry-map": "^2.0.0",
"express": "4.18.2",
"express-promise-router": "4.1.1",
"express-rate-limit": "7.1.2",
"fuse.js": "^6.6.2",
"glob": "^10.0.0",
"html-entities": "2.4.0",
"md5": "2.3.0",
"mongoose": "^7.0.1",
"morgan": "1.10.0",
"ms": "2.1.3",
"node-fetch": "3.3.2",
"node-html-parser": "6.1.10",
"p-limit": "4.0.0",
"p-memoize": "^7.1.1",
"pluralize": "8.0.0",
"pretty-ms": "8.0.0",
"qs": "6.11.2",
"rambda": "7.3.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-hotkeys-hook": "4.4.1",
"sort-lib": "^1.0.2",
"superjson": "1.13.3",
"ua-parser-js": "1.0.36",
"xlsx": "^0.18.5",
"yaml": "2.3.3",
"yargs": "17.7.2",
"zod": "3.22.4"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@react-hook/resize-observer": "1.2.6",
"@tailwindcss/forms": "^0.5.3",
"@tanstack/react-query": "4.36.1",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.5.1",
"@trpc/client": "10.41.0",
"@trpc/react-query": "10.41.0",
"@types/compression": "1.7.4",
"@types/cookie-parser": "1.4.5",
"@types/d3-chord": "^3.0.4",
"@types/d3-shape": "^3.1.3",
"@types/debug": "4.1.10",
"@types/express": "4.17.20",
"@types/glob": "8.1.0",
"@types/jest": "29.5.6",
"@types/md5": "2.3.4",
"@types/morgan": "1.9.7",
"@types/ms": "0.7.33",
"@types/node": "20.8.8",
"@types/node-fetch": "2.6.7",
"@types/pluralize": "0.0.32",
"@types/qs": "6.9.9",
"@types/react": "18.2.31",
"@types/react-autosuggest": "^10.1.6",
"@types/react-dom": "18.2.14",
"@types/react-modal": "3.16.2",
"@types/react-router-dom": "5.3.3",
"@types/tar": "6.1.7",
"@types/ua-parser-js": "0.7.38",
"@types/yargs": "17.0.29",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"@vitejs/plugin-legacy": "^4.0.0",
"@vitejs/plugin-react": "^4.0.0",
"core-js": "3.33.1",
"d3-chord": "^3.0.1",
"d3-shape": "^3.2.0",
"downshift": "^8.0.0",
"eslint": "8.52.0",
"eslint-config-airbnb": "19.0.4",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jest-dom": "5.1.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-no-useless-assign": "^1.0.3",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-unicorn": "^48.0.0",
"happy-dom": "12.9.1",
"husky": "8.0.3",
"nodemon": "3.0.1",
"npm-run-all": "4.1.5",
"prettier": "3.0.3",
"react": "18.2.0",
"react-accessible-dropdown-menu-hook": "^4.0.0",
"react-archer": "^4.3.0",
"react-autosuggest": "^10.1.0",
"react-dom": "18.2.0",
"react-error-boundary": "4.0.11",
"react-feather": "^2.0.10",
"react-intersection-observer": "9.5.2",
"react-modal": "3.16.1",
"react-router-dom": "^6.8.2",
"react-select": "5.7.7",
"react-tabs": "^6.0.1",
"react-tooltip": "5.21.5",
"tailwind-merge": "^1.13.2",
"tailwindcss": "3.3.3",
"ts-node": "10.9.1",
"ts-prune": "^0.10.3",
"typescript": "^5.2.2",
"vite": "^4.1.4",
"vitest": "^0.34.0",
"vitest-mongodb": "^0.0.5"
},
"repository": {
"type": "git",
"url": "https://github.com/znsio/engioscope.git"
},
"homepage": "https://github.com/znsio/engioscope/blob/main/README.md"
}