UNPKG

@ackplus/nest-dynamic-templates

Version:

A powerful and flexible dynamic template rendering library for NestJS applications with support for Nunjucks, Handlebars, EJS, Pug, MJML, Markdown, and more.

154 lines 3.88 kB
{ "name": "@ackplus/nest-dynamic-templates", "version": "2.0.0", "description": "A powerful and flexible dynamic template rendering library for NestJS applications with support for Nunjucks, Handlebars, EJS, Pug, MJML, Markdown, and more.", "author": "AckPlus", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "CHANGELOG.md", "MIGRATION.md", "LICENSE" ], "keywords": [ "nestjs", "template", "rendering", "mjml", "handlebars", "nunjucks", "ejs", "pug", "email", "html", "dynamic-content", "typeorm" ], "repository": { "type": "git", "url": "https://github.com/ack-solutions/nest-dynamic-templates" }, "bugs": { "url": "https://github.com/ack-solutions/nest-dynamic-templates/issues" }, "homepage": "https://github.com/ack-solutions/nest-dynamic-templates#readme", "peerDependencies": { "@nestjs/common": "^10.0.0 || ^11.0.0", "@nestjs/core": "^10.0.0 || ^11.0.0", "reflect-metadata": "^0.2", "handlebars": "^4.7.0", "mjml": "^4.14.0", "ejs": "^3.1.0", "nunjucks": "^3.2.0", "pug": "^3.0.0", "marked": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0", "@nestjs/swagger": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "typeorm": "^0.3.0", "@nestjs/typeorm": "^10.0.0 || ^11.0.0" }, "peerDependenciesMeta": { "handlebars": { "optional": true }, "mjml": { "optional": true }, "ejs": { "optional": true }, "nunjucks": { "optional": true }, "pug": { "optional": true }, "marked": { "optional": true }, "@nestjs/swagger": { "optional": true }, "typeorm": { "optional": true }, "@nestjs/typeorm": { "optional": true } }, "dependencies": { "lodash": "^4.17.21", "class-validator": "^0.14.0", "class-transformer": "^0.5.1" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.18.0", "@nestjs-modules/ioredis": "^2.0.0", "@nestjs/cli": "^11.0.0", "@nestjs/common": "^11.0.1", "@nestjs/core": "^11.0.1", "@nestjs/platform-express": "^11.0.1", "@nestjs/schematics": "^11.0.0", "@nestjs/testing": "^11.0.1", "@types/ejs": "^3.1.0", "@types/express": "^5.0.0", "@types/jest": "^30.0.0", "@types/lodash": "^4.17.0", "@types/mjml": "^4.7.0", "@types/node": "^22.10.7", "@types/nunjucks": "^3.2.0", "@types/pug": "^2.0.0", "@types/supertest": "^6.0.2", "eslint": "^9.18.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.2.2", "globals": "^16.0.0", "jest": "^30.0.0", "prettier": "^3.4.2", "rxjs": "^7.8.1", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "better-sqlite3": "^11.3.0", "marked": "^14.0.0", "typescript": "^5.7.3", "typescript-eslint": "^8.20.0", "typeorm": "^0.3.20", "@nestjs/typeorm": "^10.0.2", "@nestjs/swagger": "^8.1.0" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": [ "ts-jest", { "tsconfig": "tsconfig.spec.json" } ] }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coverageDirectory": "../coverage", "testEnvironment": "node" }, "scripts": { "clean": "rm -rf dist tsconfig.build.tsbuildinfo", "build": "pnpm clean && pnpm -C ../.. exec tsc -p packages/nest-dynamic-templates/tsconfig.build.json", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint \"src/**/*.ts\" --fix" } }