-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 5.65 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 5.65 KB
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
{
"name": "graphql-schema-registry",
"version": "6.0.0-rc",
"description": "Graphql schema registry",
"main": "app/schema-registry.js",
"engines": {
"node": ">=25.0.0",
"pnpm": ">=10"
},
"packageManager": "pnpm@10.29.2",
"scripts": {
"prepare": "sh -c 'if [ -f ./setup-hooks.sh ]; then sh ./setup-hooks.sh; else echo \"setup-hooks.sh not present, skipping hooks setup\"; fi'",
"develop": "DB_HOST=localhost DB_PORT=6000 REDIS_HOST=localhost REDIS_PORT=6004 PORT=6001 NODE_ENV=development ts-node-dev --respawn --transpile-only src/schema-registry.ts --watch src --inspect",
"develop-frontend": "vite",
"develop-worker": "DB_HOST=localhost DB_PORT=6000 REDIS_HOST=localhost REDIS_PORT=6004 PORT=6001 NODE_ENV=development ts-node-dev --respawn --transpile-only src/worker/index.ts --watch src --inspect",
"test:coverage:merge": "cat coverage/unit/lcov.info coverage/unit-frontend/lcov.info coverage/integration/lcov.info | tee -a coverage/lcov.info",
"test:coverage:dev-report": "COVERALLS_SERVICE_NAME=pipedrive/graphql-schema-registry COVERALLS_REPO_TOKEN= COVERALLS_GIT_BRANCH= coveralls < coverage/lcov.info",
"test": "echo 1",
"test:unit": "jest --config test/unit/jest.config.cjs --color --detectOpenHandles --forceExit",
"test:unit:coverage": "jest --config test/unit/jest.coverage.cjs --color --detectOpenHandles --forceExit",
"test:unit:frontend:coverage": "jest --config test/unit-frontend/jest.config.ts --color --detectOpenHandles --forceExit",
"test:watch": "jest --config jest.config.ts --watch",
"test:integration": "DB_HOST=localhost DB_PORT=6000 REDIS_HOST=localhost REDIS_PORT=6004 REDIS_SECRET=password PORT=6001 jest --config test/integration/jest.config.cjs --color --detectOpenHandles --runInBand --forceExit",
"test:integration:coverage": "DB_HOST=localhost DB_PORT=6000 REDIS_HOST=localhost REDIS_PORT=6004 REDIS_SECRET=password PORT=6001 jest --config test/integration/jest.coverage.cjs --color --detectOpenHandles --runInBand --forceExit",
"test:functional": "./node_modules/.bin/jest --config test/functional/jest.config.cjs",
"test:performance": "TARGET_URL=localhost:6001 k6 run test/perf/minimum.test.js",
"test:performance:dockerized": "docker-compose -f docker-compose.perf-tests.yml run --rm k6 run /scripts/minimum.test.js",
"format": "biome format --write .",
"format:check": "biome format .",
"format:biomeignore": "biome format --write --config-path=. .",
"version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md",
"build": "pnpm run build-backend && pnpm run build-frontend",
"build-backend": "rimraf app && mkdir app && tsc",
"build-frontend": "vite build",
"docker-compose-validate": "docker-comply compose --file ./docker-compose.deploy.yml",
"migrate-db": "knex migrate:latest",
"migrate:mysql-to-postgres": "ts-node ./scripts/migrate-mysql-to-postgres.ts",
"new-db-migration": "knex migrate:make --stub ./migrations/sql.stub",
"list-db-migrations": "knex migrate:list",
"lint": "oxlint client src",
"lint:fix": "oxlint client src --fix",
"lint:biome": "biome lint client src",
"lint:biome:fix": "biome lint --write client src",
"lint:ci": "biome ci . && pnpm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pipedrive/graphql-schema-registry.git"
},
"keywords": [
"graphql"
],
"license": "MIT",
"private": false,
"dependencies": {
"@apollo/client": "3.13.8",
"@apollo/composition": "2.10.2",
"@graphql-inspector/core": "3.3.0",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@pierre/diffs": "1.0.11",
"apollo-server-express": "3.10.1",
"body-parser": "1.20.1",
"dataloader": "2.0.0",
"date-fns": "2.28.0",
"dotenv": "10.0.0",
"express": "4.18.1",
"graphql": "16.5.0",
"ioredis": "5.0.2",
"joi": "17.6.0",
"knex": "2.4.2",
"lightweight-charts": "5.0.9",
"lightweight-charts-react-components": "1.4.0",
"lodash": "4.17.21",
"mysql2": "3.14.1",
"pg": "8.16.3",
"prismjs": "1.28.0",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "5.3.0",
"redlock": "5.0.0-beta.2",
"rumble-charts": "3.1.2",
"styled-components": "5.3.3",
"winston": "3.7.2",
"winston-redis-stream": "0.0.3"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/plugin-transform-runtime": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.16.7",
"@biomejs/biome": "2.3.14",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "16.3.0",
"@types/jest": "^27.4.1",
"@types/node": "20.14.8",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.25",
"@vitejs/plugin-react": "^4.2.0",
"babel-plugin-prismjs": "^2.1.0",
"babel-plugin-styled-components": "^2.0.7",
"chai": "^4.2.0",
"commander": "^6.0.0",
"core-js": "^3.22.3",
"coveralls": "3.1.1",
"husky": "^4.2.5",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"k6": "^0.0.0",
"morgan": "^1.9.1",
"oxlint": "1.43.0",
"request": "^2.88.0",
"request-promise": "4.2.6",
"request-promise-native": "^1.0.8",
"rimraf": "6.1.2",
"sinon": "^8.0.1",
"supertest": "6.3.4",
"ts-jest": "29.3.2",
"ts-node": "^10.7.0",
"ts-node-dev": "2.0.0",
"typescript": "4.7.4",
"version-changelog": "^3.1.1",
"vite": "^5.0.0"
},
"pre-push": [],
"post-merge": []
}