2022-12-05 07:06:11 +00:00
|
|
|
{
|
|
|
|
"name": "hoppscotch-backend",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "",
|
|
|
|
"author": "",
|
|
|
|
"private": true,
|
|
|
|
"license": "UNLICENSED",
|
|
|
|
"scripts": {
|
|
|
|
"prebuild": "rimraf dist",
|
|
|
|
"build": "nest build",
|
|
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
|
|
"start": "nest start",
|
|
|
|
"start:dev": "nest start --watch",
|
|
|
|
"start:debug": "nest start --debug --watch",
|
|
|
|
"start:prod": "node dist/main",
|
|
|
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "jest --watch",
|
|
|
|
"test:cov": "jest --coverage",
|
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
|
|
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-12-06 07:48:02 +00:00
|
|
|
"@nestjs/apollo": "^10.1.6",
|
2022-12-05 07:06:11 +00:00
|
|
|
"@nestjs/common": "^9.2.1",
|
|
|
|
"@nestjs/core": "^9.2.1",
|
2022-12-06 07:48:02 +00:00
|
|
|
"@nestjs/graphql": "^10.1.6",
|
2022-12-05 07:06:11 +00:00
|
|
|
"@nestjs/platform-express": "^9.2.1",
|
2022-12-07 15:22:31 +00:00
|
|
|
"@prisma/client": "^4.7.1",
|
2022-12-06 07:48:02 +00:00
|
|
|
"apollo-server-express": "^3.11.1",
|
2022-12-07 17:43:13 +00:00
|
|
|
"apollo-server-plugin-base": "^3.7.1",
|
|
|
|
"fp-ts": "^2.13.1",
|
2022-12-06 07:48:02 +00:00
|
|
|
"graphql": "^15.5.0",
|
2022-12-07 17:43:13 +00:00
|
|
|
"graphql-query-complexity": "^0.12.0",
|
2022-12-07 14:58:46 +00:00
|
|
|
"graphql-redis-subscriptions": "^2.5.0",
|
|
|
|
"graphql-subscriptions": "^2.0.0",
|
|
|
|
"ioredis": "^5.2.4",
|
2022-12-07 15:22:31 +00:00
|
|
|
"prisma": "^4.7.1",
|
2022-12-05 07:06:11 +00:00
|
|
|
"reflect-metadata": "^0.1.13",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"rxjs": "^7.6.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@nestjs/cli": "^9.1.5",
|
|
|
|
"@nestjs/schematics": "^9.0.3",
|
|
|
|
"@nestjs/testing": "^9.2.1",
|
|
|
|
"@types/express": "^4.17.14",
|
|
|
|
"@types/jest": "29.2.3",
|
|
|
|
"@types/node": "^18.11.10",
|
|
|
|
"@types/supertest": "^2.0.12",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
|
|
"@typescript-eslint/parser": "^5.45.0",
|
|
|
|
"eslint": "^8.29.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
|
"jest": "29.3.1",
|
|
|
|
"prettier": "^2.8.0",
|
|
|
|
"source-map-support": "^0.5.21",
|
|
|
|
"supertest": "^6.3.2",
|
|
|
|
"ts-jest": "29.0.3",
|
|
|
|
"ts-loader": "^9.4.2",
|
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"tsconfig-paths": "4.1.1",
|
|
|
|
"typescript": "^4.9.3"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": "src",
|
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
|
|
},
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"**/*.(t|j)s"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "../coverage",
|
|
|
|
"testEnvironment": "node"
|
|
|
|
}
|
|
|
|
}
|