ohmyform-api/package.json
2020-06-01 23:25:02 +02:00

110 lines
3.3 KiB
JSON

{
"name": "ohmyform-api",
"version": "0.9.0",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"cli:dev": "cross-env CLI=true TS_NODE_TRANSPILE_ONLY=true ts-node -r tsconfig-paths/register src/cli.ts",
"cli": "cross-env CLI=true node dist/console.js",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "cross-env NODE_ENV=production 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": {
"@nestjs-modules/mailer": "^1.4.2",
"@nestjs/common": "^7.0.9",
"@nestjs/config": "^0.4.0",
"@nestjs/core": "^7.0.9",
"@nestjs/graphql": "^7.3.7",
"@nestjs/jwt": "^7.0.0",
"@nestjs/mongoose": "^6.4.0",
"@nestjs/passport": "^7.0.0",
"@nestjs/platform-express": "^7.0.0",
"@nestjs/serve-static": "^2.1.1",
"@types/html-to-text": "^5.1.0",
"apollo-server-express": "^2.13.0",
"bcrypt": "^4.0.1",
"class-transformer": "^0.2.3",
"class-validator": "^0.12.2",
"commander": "^5.1.0",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"dayjs": "^1.8.28",
"graphql": "15.0.0",
"graphql-redis-subscriptions": "^2.2.1",
"graphql-subscriptions": "^1.1.0",
"graphql-tools": "^5.0.0",
"handlebars": "^4.7.6",
"html-to-text": "^5.1.1",
"inquirer": "^7.1.0",
"ioredis": "^4.17.1",
"matomo-tracker": "^2.2.2",
"migrate-mongoose": "^4.0.0",
"mjml": "^4.6.3",
"mongoose": "^5.9.11",
"nestjs-console": "^3.0.2",
"nestjs-pino": "^1.2.0",
"nodemailer": "^6.4.6",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pino-pretty": "^4.0.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.4"
},
"devDependencies": {
"@nestjs/cli": "^7.0.0",
"@nestjs/schematics": "^7.0.0",
"@nestjs/testing": "^7.0.0",
"@types/bcrypt": "^3.0.0",
"@types/express": "^4.17.3",
"@types/handlebars": "^4.1.0",
"@types/inquirer": "^6.5.0",
"@types/jest": "25.1.4",
"@types/mongoose": "^5.7.14",
"@types/node": "^13.9.1",
"@types/passport-jwt": "^3.0.3",
"@types/passport-local": "^1.0.33",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"supertest": "^4.0.2",
"ts-jest": "25.2.1",
"ts-loader": "^6.2.1",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.7.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}