UNPKG

inversitron

Version:
51 lines (50 loc) 1.33 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tronConfig = exports.configFileName = void 0; exports.configFileName = 'tronconfig'; exports.tronConfig = { nodemon: { ext: 'ts', exec: 'node --inspect=5858 -r ts-node/register ./src/index.ts', watch: ['src'], ignore: [ '/*.test.ts', '/*.spec.ts', '.git', 'node_modules', 'build' ] }, dev: { rootPath: '/api', port: 8080, corsOrigin: '*', database: { type: 'postgres', host: 'localhost', port: 5432, username: 'db_username', password: 'db_password', database: 'db_name', synchronize: true, logging: false, entities: ['src/**/entities/**/*.{t,j}s'] } }, prod: { rootPath: '/api', port: 8080, corsOrigin: '*', database: { type: 'postgres', host: 'localhost', port: 5432, username: 'db_username', password: 'db_password', database: 'db_name', synchronize: true, logging: false, entities: ['dist/**/entities/**/*.{t,j}s'] } } };