2023-12-02 10:22:40 -08:00
|
|
|
{
|
|
|
|
"name": "ohmyform-api",
|
|
|
|
"version": "1.0.3",
|
|
|
|
"description": "",
|
|
|
|
"author": "",
|
|
|
|
"license": "AGPL-3.0-or-later",
|
|
|
|
"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,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",
|
|
|
|
"typeorm:sqlite": "cross-env TS_NODE_TRANSPILE_ONLY=true ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -f ormconfig_sqlite.json",
|
|
|
|
"typeorm:postgres": "cross-env TS_NODE_TRANSPILE_ONLY=true ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -f ormconfig_postgres.json",
|
|
|
|
"typeorm:mariadb": "cross-env TS_NODE_TRANSPILE_ONLY=true ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -f ormconfig_mariadb.json",
|
|
|
|
"typeorm": "cross-env TS_NODE_TRANSPILE_ONLY=true ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@ardatan/aggregate-error": "^0.0.6",
|
|
|
|
"@nestjs-modules/mailer": "^1.6.1",
|
|
|
|
"@nestjs/apollo": "^10.0.5",
|
|
|
|
"@nestjs/axios": "^0.0.6",
|
|
|
|
"@nestjs/common": "^8.3.1",
|
|
|
|
"@nestjs/config": "^1.2.0",
|
|
|
|
"@nestjs/core": "^8.3.1",
|
|
|
|
"@nestjs/graphql": "^10.0.5",
|
|
|
|
"@nestjs/jwt": "^8.0.0",
|
|
|
|
"@nestjs/passport": "^8.2.1",
|
|
|
|
"@nestjs/platform-express": "^8.3.1",
|
|
|
|
"@nestjs/serve-static": "^2.2.2",
|
|
|
|
"@nestjs/typeorm": "^8.0.3",
|
|
|
|
"apollo-server-express": "^3.6.3",
|
|
|
|
"bcrypt": "^5.0.1",
|
|
|
|
"class-transformer": "^0.5.1",
|
|
|
|
"class-validator": "^0.13.2",
|
|
|
|
"cors": "^2.8.5",
|
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"dayjs": "^1.10.7",
|
|
|
|
"graphql": "15.8.0",
|
|
|
|
"graphql-redis-subscriptions": "^2.4.2",
|
|
|
|
"graphql-subscriptions": "^2.0.0",
|
|
|
|
"graphql-tools": "^8.2.0",
|
|
|
|
"handlebars": "^4.7.7",
|
|
|
|
"hashids": "^2.2.10",
|
|
|
|
"html-to-text": "^8.1.0",
|
|
|
|
"inquirer": "^8.2.0",
|
|
|
|
"ioredis": "^4.28.5",
|
|
|
|
"ip-anonymize": "^0.1.0",
|
|
|
|
"matomo-tracker": "^2.2.4",
|
|
|
|
"mjml": "^4.12.0",
|
|
|
|
"mysql2": "^2.3.3",
|
|
|
|
"nestjs-console": "^7.0.1",
|
|
|
|
"nestjs-pino": "^2.5.0",
|
|
|
|
"nodemailer": "^6.7.2",
|
|
|
|
"passport": "^0.5.2",
|
|
|
|
"passport-jwt": "^4.0.0",
|
|
|
|
"passport-local": "^1.0.0",
|
|
|
|
"pg": "^8.7.3",
|
|
|
|
"pino-http": "^6.6.0",
|
|
|
|
"pino-pretty": "^7.5.1",
|
|
|
|
"reflect-metadata": "^0.1.13",
|
|
|
|
"request-ip": "^2.1.3",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"rxjs": "^7.5.4",
|
|
|
|
"serialize-error": "^8.1.0",
|
2023-12-11 07:47:52 -08:00
|
|
|
"sqlite3": "^5.1.6",
|
2023-12-02 10:22:40 -08:00
|
|
|
"typeorm": "^0.2.44"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@nestjs/cli": "^8.2.1",
|
|
|
|
"@nestjs/schematics": "^8.0.7",
|
|
|
|
"@nestjs/testing": "^8.3.1",
|
|
|
|
"@types/bcrypt": "^5.0.0",
|
|
|
|
"@types/express-serve-static-core": "^4.17.28",
|
|
|
|
"@types/handlebars": "^4.1.0",
|
|
|
|
"@types/html-to-text": "^8.0.1",
|
|
|
|
"@types/inquirer": "^8.2.0",
|
|
|
|
"@types/jest": "^27.4.1",
|
|
|
|
"@types/mjml": "^4.7.0",
|
|
|
|
"@types/node": "^17.0.21",
|
|
|
|
"@types/passport-jwt": "^3.0.6",
|
|
|
|
"@types/passport-local": "^1.0.34",
|
|
|
|
"@types/request-ip": "^0.0.37",
|
|
|
|
"@types/supertest": "^2.0.11",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
|
|
"@typescript-eslint/parser": "^5.12.1",
|
|
|
|
"eslint": "^8.10.0",
|
|
|
|
"eslint-config-prettier": "^8.4.0",
|
|
|
|
"eslint-plugin-import": "^2.25.4",
|
|
|
|
"eslint-plugin-nestjs": "^1.2.3",
|
|
|
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
|
|
"jest": "^27.5.1",
|
|
|
|
"node-gyp": "^9.0.0",
|
|
|
|
"prettier": "^2.5.1",
|
|
|
|
"supertest": "^6.2.2",
|
|
|
|
"ts-jest": "27.1.3",
|
|
|
|
"ts-loader": "^9.2.6",
|
|
|
|
"ts-node": "^10.5.0",
|
|
|
|
"tsconfig-paths": "^3.12.0",
|
|
|
|
"typescript": "^4.5.5"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": "src",
|
|
|
|
"testRegex": ".spec.ts$",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
|
|
},
|
|
|
|
"coverageDirectory": "../coverage",
|
|
|
|
"testEnvironment": "node"
|
|
|
|
}
|
|
|
|
}
|