forked from tot-ra/graphql-schema-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 6.84 KB
/
Copy pathpackage.json
File metadata and controls
163 lines (163 loc) · 6.84 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
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
{
"name": "graphql-schema-registry",
"version": "5.5.1",
"description": "Graphql schema registry",
"main": "app/schema-registry.js",
"engines": {
"node": ">=22",
"npm": ">=8"
},
"scripts": {
"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:mock": "PORT=6001 ts-node-dev --respawn --transpile-only src/mock-server/index.ts --watch src --inspect",
"test:coverage": "jest --config jest.config.ts --coverage",
"coverage": "./node_modules/.bin/jest --config test/unit/jest.coverage.cjs && coveralls < coverage/lcov.info",
"test-travis": "npm run test",
"develop-worker": "KAFKA_BROKER_HOST=localhost KAFKA_BROKER_PORT=29092 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": "npm run test:unit && npm run test:integration",
"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": "cucumber-js",
"test:integration:pipedrive": "DB_HOST=localhost DB_PORT=6000 REDIS_HOST=localhost REDIS_PORT=6004 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 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": "prettier --write '**/*.{js,jsx,ts,tsx,json,md,yml,yaml,graphql}'",
"version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md",
"build": "npm run build-backend && npm run build-frontend",
"build-backend": "rimraf app && mkdir app && tsc",
"build-frontend": "webpack --node-env production --bail --config webpack.config.js",
"docker-compose-validate": "docker-comply compose --file ./docker-compose.deploy.yml",
"migrate-db": "knex migrate:latest",
"new-db-migration": "knex migrate:make --stub ./migrations/sql.stub",
"list-db-migrations": "knex migrate:list",
"lint": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx client src",
"lint:fix": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx client src --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pipedrive/graphql-schema-registry.git"
},
"keywords": [
"graphql"
],
"husky": {
"hooks": {
"pre-commit": "npm run format",
"pre-push": "npm run format"
}
},
"prettier": {
"singleQuote": true
},
"license": "MIT",
"private": false,
"dependencies": {
"@apollo/client": "3.11.3",
"@apollo/composition": "2.10.2",
"@graphql-inspector/core": "6.2.1",
"@isaacs/ttlcache": "1.4.1",
"@material-ui/core": "4.12.4",
"@material-ui/icons": "4.11.3",
"@material-ui/lab": "^4.0.0-alpha.61",
"apollo-server-express": "3.10.4",
"bluebird": "3.7.2",
"body-parser": "1.20.2",
"dataloader": "2.2.2",
"date-fns": "2.30.0",
"dotenv": "10.0.0",
"express": "4.18.3",
"graphql": "16.9.0",
"humps": "^2.0.1",
"ioredis": "5.0.2",
"joi": "17.6.0",
"kafkajs": "1.15.0",
"knex": "2.4.2",
"lodash": "4.17.21",
"mysql2": "3.14.1",
"node-fetch": "^2.6.7",
"node-gzip": "^1.1.2",
"prismjs": "1.28.0",
"prop-types": "15.8.1",
"react": "16.14.0",
"react-diff-viewer": "3.1.1",
"react-dom": "16.14.0",
"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.25.2",
"@babel/eslint-parser": "7.18.9",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@cucumber/cucumber": "12.1.0",
"@gatsbyjs/webpack-hot-middleware": "^2.25.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@testcontainers/mysql": "10.11.0",
"@testcontainers/redis": "10.11.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.2.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.31",
"@types/node-fetch": "2.6.2",
"@types/react": "^17.0.45",
"@types/react-dom": "^17.0.17",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.25",
"@typescript-eslint/eslint-plugin": "5.30.6",
"@typescript-eslint/parser": "5.30.6",
"babel-loader": "^8.2.5",
"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",
"css-loader": "^3.4.0",
"css-minimizer-webpack-plugin": "^3.4.1",
"eslint": "8.19.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-webpack-plugin": "3.2.0",
"file-loader": "^5.0.2",
"fork-ts-checker-webpack-plugin": "^6.5.2",
"husky": "^4.2.5",
"jest": "^27.5.1",
"k6": "^0.0.0",
"mini-css-extract-plugin": "^2.6.0",
"morgan": "^1.9.1",
"prettier": "2.7.1",
"react-refresh": "^0.13.0",
"request": "^2.88.0",
"request-promise": "4.2.6",
"request-promise-native": "^1.0.8",
"sinon": "^8.0.1",
"source-map-loader": "^3.0.1",
"testcontainers": "^11.3.1",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"ts-node-dev": "^2.0.0-0",
"typescript": "4.7.4",
"version-changelog": "^3.1.1",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-dev-middleware": "^5.3.1"
},
"pre-push": [],
"post-merge": []
}