-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 3.33 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
{
"name": "universal-codes",
"version": "1.0.5",
"sideEffects": false,
"private": true,
"scripts": {
"load-data": "lerna run --scope @universal-codes/data-loader start --stream && yarn update-dgraph-schema",
"start-backend": "cd backend && cargo run",
"build-data-loader": "lerna run --scope @universal-codes/data-loader build",
"start-frontend": "lerna run --scope @uc-frontend/* --parallel start",
"build-frontend": "lerna run --scope @uc-frontend/* build",
"build-frontend:prod": "lerna run --scope @uc-frontend/* build-prod",
"build-frontend-windows": "lerna run --scope @uc-frontend/* build-windows",
"build-frontend-stats": "lerna run --scope @uc-frontend/* build-stats",
"serve-frontend": "lerna run --scope @uc-frontend/* --parallel serve",
"clean-frontend": "lerna run --scope @uc-frontend/* --parallel clean",
"compile-backend": "cd backend && cargo check",
"compile-frontend": "lerna run --scope @uc-frontend/* --parallel tsc -- --incremental --noEmit",
"prepare": "husky install",
"pre-commit-lint": "yarn compile && yarn lint-staged",
"test": "yarn test-backend && yarn test-frontend",
"test-backend": "cd backend && cargo test --features=dgraph-tests",
"test-backend-ci": "cd backend && cargo test",
"test-frontend": "jest --config ./frontend/jest.config.js --maxWorkers=50%",
"test-integration": "jest --config ./frontend/integration/jest.config.js --maxWorkers=50%",
"generate": "graphql-codegen --config codegen.yml",
"i18n-unused-display": "i18n-unused display-unused",
"i18n-unused-remove": "i18n-unused remove-unused",
"i18n-missing": "i18n-unused display-missed",
"update-dgraph-schema": "res=$(curl -X POST localhost:8080/admin/schema --data-binary @data-loader/data/v2/schema.graphql); echo $res"
},
"workspaces": {
"packages": [
"data-loader",
"frontend/*"
]
},
"devDependencies": {
"@graphql-codegen/cli": "^4.0.1",
"@graphql-codegen/near-operation-file-preset": "^2.2.5",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-graphql-request": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@testing-library/dom": "^8.11.1",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^14.1.1",
"@types/jest": "^29.5.3",
"@types/lodash": "^4.14.178",
"@types/node": "18.7.0",
"@types/react": "^18.0.5",
"@types/recharts": "^1.8.23",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint": "^8.4.1",
"eslint-plugin-jest-dom": "^5.0.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.27.1",
"i18n-unused": "^0.8.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jest-transform-stub": "^2.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"ts-jest": "^29.1.1",
"tsconfig-paths-webpack-plugin": "^4.1.0"
},
"lint-staged": {
"src/**/*.+(js|json|ts|tsx)": [
"eslint"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"dependencies": {
"@bugsnag/js": "^7.16.2",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.74",
"@swc/jest": "^0.2.27",
"@types/react-dom": "^18.0.1",
"graphql": "^16.3.0",
"lerna": "^4.0.0"
}
}