54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"name": "zabbix-graphql-api",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"compile": "tsc",
|
|
"start": "nodemon --watch \"src/**\" --watch \"schema.graphql\" --ext \"ts,json\" --exec \"tsc & node --require ts-node/register --inspect --import tsx/esm ./src/index.ts\"",
|
|
"prod": "npm run copy-schema && node ./dist/index.js",
|
|
"test": "jest --detectOpenHandles --forceExit --bail",
|
|
"codegen": "graphql-codegen --config codegen.ts --watch \"schema.graphql\"",
|
|
"nodemon": "nodemon --watch \"src/**\" --watch \"schema.graphql\" --ext \"ts,json\" --exec \"tsc",
|
|
"copy-schema": "cp -R schema ./dist/"
|
|
},
|
|
"keywords": [],
|
|
"author": "Andreas Hilbig",
|
|
"copyright": "All rights reserved by Hilbig IT GmbH",
|
|
"dependencies": {
|
|
"@apollo/datasource-rest": "^6.3.0",
|
|
"@apollo/server": "^5.2.0",
|
|
"@as-integrations/express4": "^1.1.2",
|
|
"@graphql-tools/schema": "^10.0.30",
|
|
"class-transformer": "^0.5.1",
|
|
"cors": "^2.8.5",
|
|
"graphql": "^16.12.0",
|
|
"graphql-scalars": "^1.23.0",
|
|
"graphql-subscriptions": "^3.0.0",
|
|
"graphql-tag": "^2.12.6",
|
|
"graphql-ws": "^5.16.0",
|
|
"reflect-metadata": "^0.2.1",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "5.0.2",
|
|
"@graphql-codegen/typescript": "4.0.9",
|
|
"@graphql-codegen/typescript-resolvers": "4.2.1",
|
|
"@parcel/watcher": "^2.4.1",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^5.0.6",
|
|
"@types/jest": "^29.5.13",
|
|
"@types/node": "^22.6.1",
|
|
"@types/simple-mock": "^0.8.6",
|
|
"@types/ws": "^8.5.12",
|
|
"jest": "^29.7.0",
|
|
"jest-expect-message": "^1.1.3",
|
|
"nodemon": "^3.1.7",
|
|
"simple-mock": "^0.8.0",
|
|
"ts-jest": "^29.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.19.1",
|
|
"typescript": "^5.6.2"
|
|
}
|
|
}
|