-
Notifications
You must be signed in to change notification settings - Fork 68
/
package.json
145 lines (145 loc) · 6.03 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
{
"name": "graphql-schema-registry",
"version": "5.5.1",
"description": "Graphql schema registry",
"main": "app/schema-registry.js",
"engines": {
"node": ">=16",
"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-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": "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": "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.5.8",
"@apollo/composition": "2.0.5",
"@graphql-inspector/core": "3.3.0",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"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",
"kafkajs": "1.15.0",
"knex": "2.4.2",
"lodash": "4.17.21",
"mysql2": "1.7.0",
"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.17.10",
"@babel/eslint-parser": "7.18.2",
"@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",
"@gatsbyjs/webpack-hot-middleware": "^2.25.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.31",
"@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-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",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"ts-node-dev": "2.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": []
}