forked from cadence-workflow/cadence-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 3.94 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
{
"name": "cadence-web",
"private": true,
"scripts": {
"dev": "next dev -p ${CADENCE_WEB_PORT:-8088} -H ${CADENCE_WEB_HOSTNAME:-0.0.0.0} | pino-pretty --messageKey message",
"build": "NODE_ENV=production next build",
"build-standalone": "NODE_ENV=production NEXT_CONFIG_BUILD_OUTPUT=standalone next build",
"post-build-standalone": "tsx scripts/update-server-host.ts",
"start": "next start -p ${CADENCE_WEB_PORT:-8088} -H ${CADENCE_WEB_HOSTNAME:-0.0.0.0}",
"lint": "next lint",
"typecheck": "tsc --noemit",
"install-idl": "mkdir -p node_modules && cd node_modules && npx --yes tiged https://github.com/cadence-workflow/cadence-idl cadence-idl --force",
"generate:idl": "mkdir -p src/__generated__/idl && npm run generate:idl:proto && npm run generate:idl:proto:types",
"generate:idl:proto": "rm -rf src/__generated__/idl/proto && cp -R node_modules/cadence-idl/proto src/__generated__/idl/proto",
"generate:idl:proto:types": "rm -rf src/__generated__/proto-ts && ./node_modules/.bin/proto-loader-gen-types --includeDirs=src/__generated__/idl/proto/ --enums=String --longs=String --bytes=String --defaults --inputTemplate='%s__Input' --outputTemplate='%s' --oneofs --grpcLib=@grpc/grpc-js --outDir=src/__generated__/proto-ts/ $(npx glob --all --nodir --cwd=src/__generated__/idl/proto **/*.proto) ",
"test": "jest --config jest.config.ts && npm run test:types",
"test:unit": "npm run test:unit:browser && npm run test:unit:node",
"test:unit:browser": "jest --config jest/browser/jest.config.ts",
"test:unit:node": "jest --config jest/node/jest.config.ts",
"test:types": "tstyche"
},
"engines": {
"node": "^18.17.1",
"npm": ">=9.6.7"
},
"dependencies": {
"@grpc/grpc-js": "^1.10.0",
"@grpc/proto-loader": "^0.7.10",
"@hookform/resolvers": "^3.6.0",
"@tanstack/react-query": "^5.45.0",
"@tanstack/react-query-next-experimental": "^5.45.0",
"baseui": "^14.0.0",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.13",
"lodash": "^4.17.21",
"lossless-json": "^4.0.2",
"next": "14.2.16",
"pino": "^9.3.2",
"query-string": "^9.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.13",
"react-hook-form": "^7.52.0",
"react-icons": "^5.1.0",
"react-intersection-observer": "^9.8.1",
"react-json-view-lite": "^1.4.0",
"react-virtuoso": "^4.10.4",
"react-visjs-timeline": "^1.6.0",
"server-only": "^0.0.1",
"styletron-engine-monolithic": "^1.0.0",
"styletron-react": "^6.1.1",
"use-between": "^1.3.5",
"zod": "^3.23.8"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.2",
"@testing-library/user-event": "^14.5.2",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.17",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "^8.56.0",
"eslint-config-next": "14.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-baseui": "^13.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fixed-jsdom": "^0.0.8",
"msw": "^2.6.0",
"next-router-mock": "^0.9.13",
"pino-pretty": "^11.2.2",
"prettier": "3.2.5",
"styletron-engine-snapshot": "^1.0.2",
"ts-jest": "^29.1.2",
"tstyche": "^3.0.0",
"tsx": "^4.19.3",
"typescript": "^5.3.3",
"typescript-eslint": "^7.13.0",
"undici": "^6.19.2"
},
"overrides": {
"d3-color": "3.1.0",
"react-window": "1.8.7",
"react-uid": "2.3.2",
"react-map-gl": "5.3.19",
"react-virtualized-auto-sizer": "1.0.22",
"long": "5.2.1",
"react-visjs-timeline": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"moment": "^2.29.4"
}
}
}