blog-be/package.json

106 lines
3.1 KiB
JSON
Raw Permalink Normal View History

2021-04-17 13:54:26 +08:00
{
2021-05-03 17:14:24 +08:00
"name": "blog-be",
"version": "0.1.0",
2021-04-17 13:54:26 +08:00
"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": "DEBUG=fennec:* nest start --watch",
"start:debug": "DEBUG=fennec:* nest start --debug --watch",
"start:prod": "node dist/main",
"init:dev": "node docker/init-dev.mjs",
2021-04-17 13:54:26 +08:00
"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",
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js"
2021-04-17 13:54:26 +08:00
},
"dependencies": {
"@fennec/configuration": "^0.0.2",
"@nestjs-lib/auth": "^0.2.3",
"@nestjs-lib/etcd3": "^0.0.1",
"@nestjs/common": "^8.1.1",
"@nestjs/config": "^1.0.3",
"@nestjs/core": "^8.1.1",
"@nestjs/graphql": "^9.1.1",
"@nestjs/platform-express": "^8.1.1",
"@nestjs/typeorm": "^8.0.2",
"apollo-server-express": "^3.4.0",
"bcrypt": "^5.0.1",
2021-04-17 13:54:26 +08:00
"body-parser": "^1.19.0",
"class-transformer": "^0.4.0",
2021-04-17 13:54:26 +08:00
"class-validator": "^0.13.1",
"debug": "^4.3.2",
"graphql": "^15.6.1",
"graphql-tools": "^8.2.0",
2021-12-01 19:15:16 +08:00
"graphql-type-json": "^0.3.2",
"highlight.js": "^11.3.1",
"ioredis": "^4.28.0",
"js-yaml": "^4.1.0",
"marked": "^3.0.7",
"nestjs-redis": "^1.3.3",
"observable-to-async-generator": "^1.0.2",
"pg": "^8.7.1",
2021-04-17 13:54:26 +08:00
"ramda": "^0.27.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.4.0",
"simple-git": "^2.47.0",
"typeorm": "^0.2.38"
2021-04-17 13:54:26 +08:00
},
"devDependencies": {
"@nestjs/cli": "^8.1.4",
"@nestjs/schematics": "^8.0.4",
"@nestjs/testing": "^8.1.1",
"@types/express": "^4.17.13",
2021-07-03 12:40:52 +08:00
"@types/highlight.js": "^10.1.0",
"@types/jest": "^27.0.2",
"@types/marked": "^3.0.2",
"@types/node": "^16.11.2",
2021-04-24 14:47:45 +08:00
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
2021-04-24 14:47:45 +08:00
"apollo-server-testing": "^2.23.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"execa": "^5.1.1",
"find-free-ports": "^3.0.0",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"supertest": "^6.1.6",
"ts-jest": "^27.0.7",
"ts-loader": "^9.2.6",
"ts-node": "^10.3.0",
"tsconfig-paths": "^3.11.0",
"typescript": "^4.4.4"
2021-04-17 13:54:26 +08:00
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"moduleNameMapper": {
"^jose/(.*)$": "<rootDir>/../node_modules/jose/dist/node/cjs/$1"
},
2021-04-17 13:54:26 +08:00
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}