UNPKG

zents

Version:

ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.

66 lines 1.49 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultConfig = void 0; const FS_1 = require("./../filesystem/FS"); const path_1 = require("path"); const appDir = FS_1.fs ? FS_1.fs.appDir() : process.cwd(); /** * The default ZenTS config */ exports.defaultConfig = { paths: { base: { src: path_1.join(appDir, 'src'), dist: path_1.join(appDir, 'dist'), }, controller: './controller/', view: './view/', template: './template/', service: './service/', entity: './entity/', email: './email/', public: path_1.join(appDir, 'public'), }, web: { host: 'localhost', port: 3000, publicPath: '/public/', https: { enable: false, }, cookie: { enable: true, }, redirectBodyType: 'none', }, database: { enable: false, }, redis: { enable: false, log: true, }, security: { enable: false, }, template: { extension: 'njk', encoding: 'utf-8', autoescape: true, throwOnUndefined: false, trimBlocks: false, lstripBlocks: false, }, email: { enable: false, engine: 'mjml', htmlToText: { enable: true, }, }, log: { level: 'info', wrapConsole: false, }, }; //# sourceMappingURL=default.js.map