141 lines
4.1 KiB
JSON
141 lines
4.1 KiB
JSON
{
|
|
"name": "mnco-mobile-api",
|
|
"version": "0.0.2",
|
|
"description": "",
|
|
"author": "",
|
|
"private": true,
|
|
"license": "UNLICENSED",
|
|
"engines": {
|
|
"node": ">=22.0.0 <23.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"format": "pnpm run format:all",
|
|
"start": "./bin/updateCommitSha.sh; nest start",
|
|
"start:dev": "./bin/updateCommitSha.sh; nest start --watch",
|
|
"dev": "pnpm start:dev",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "pm2-runtime ecosystem.config.js --only api",
|
|
"lint": "pnpm run lint:all",
|
|
"lint:all": "eslint . --ext .ts,.tsx,.js,.jsx --fix --config eslint.config.mjs",
|
|
"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",
|
|
"prepare": "husky",
|
|
"format:all": "prettier --write .",
|
|
"format:staged": "lint-staged"
|
|
},
|
|
"dependencies": {
|
|
"@adminjs/bundler": "^3.0.0",
|
|
"@adminjs/design-system": "^4.1.1",
|
|
"@adminjs/express": "^6.1.1",
|
|
"@adminjs/import-export": "3.0.0",
|
|
"@adminjs/logger": "5.0.1",
|
|
"@adminjs/nestjs": "^6.1.0",
|
|
"@adminjs/passwords": "4.0.0",
|
|
"@adminjs/prisma": "^5.0.4",
|
|
"@adminjs/themes": "^1.0.1",
|
|
"@adminjs/typeorm": "^5.0.1",
|
|
"@adminjs/upload": "4.0.2",
|
|
"@antv/g6": "^5.0.49",
|
|
"@nestjs/common": "^11.1.6",
|
|
"@nestjs/config": "^4.0.2",
|
|
"@nestjs/core": "^11.1.6",
|
|
"@nestjs/jwt": "^11.0.0",
|
|
"@nestjs/mongoose": "^11.0.3",
|
|
"@nestjs/passport": "^11.0.5",
|
|
"@nestjs/platform-express": "^11.1.6",
|
|
"@nestjs/schedule": "^6.0.0",
|
|
"@nestjs/serve-static": "^5.0.3",
|
|
"@nestjs/swagger": "^11.2.0",
|
|
"@prisma/client": "^6.14.0",
|
|
"@tiptap/core": "^2.26.1",
|
|
"@tiptap/pm": "^2.26.1",
|
|
"adminjs": "^7.8.17",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.2",
|
|
"dayjs": "^1.11.13",
|
|
"decimal.js": "^10.6.0",
|
|
"ethers": "^6.15.0",
|
|
"express": "^5.1.0",
|
|
"express-formidable": "^1.2.0",
|
|
"express-session": "^1.18.2",
|
|
"firebase-admin": "^13.4.0",
|
|
"ioredis": "^5.7.0",
|
|
"json-2-csv": "^5.5.9",
|
|
"mongoose": "^8.17.2",
|
|
"node-cron": "^4.2.1",
|
|
"passport": "^0.7.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"pm2": "^5.4.2",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.2",
|
|
"swagger-ui-express": "^5.0.1",
|
|
"tslib": "^2.8.1",
|
|
"uuid": "^11.1.0",
|
|
"waait": "^1.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-syntax-import-assertions": "^7.27.1",
|
|
"@eslint/js": "^9.33.0",
|
|
"@nestjs/cli": "^11.0.10",
|
|
"@nestjs/schematics": "^11.0.7",
|
|
"@nestjs/testing": "^11.1.6",
|
|
"@types/express": "^5.0.3",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^24.3.0",
|
|
"@types/passport": "^1.0.17",
|
|
"@types/passport-jwt": "^4.0.1",
|
|
"@types/supertest": "^6.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.40.0",
|
|
"@typescript-eslint/parser": "^8.40.0",
|
|
"eslint": "^9.33.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"globals": "^16.3.0",
|
|
"husky": "^9.1.7",
|
|
"jest": "^30.0.5",
|
|
"jiti": "^2.5.1",
|
|
"lint-staged": "^16.1.5",
|
|
"prettier": "^3.6.2",
|
|
"prisma": "^6.14.0",
|
|
"prettier-plugin-prisma": "^5.0.0",
|
|
"prisma-dbml-generator": "^0.12.0",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^7.1.4",
|
|
"ts-jest": "^29.4.1",
|
|
"ts-loader": "^9.5.2",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^5.9.2",
|
|
"typescript-eslint": "^8.40.0"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md,yml,yaml,css,scss,less,html,graphql,prisma}": "prettier --write"
|
|
}
|
|
}
|