UNPKG

@pecometer/peco-cli

Version:

Pecometer Command Line Interface Application

1 lines 1.78 kB
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BACKEND_DEPENDENCIES=exports.BACKEND_FILES=exports.BACKEND_STRUCTURE=void 0;const path=require("path"),crypto_1=require("crypto");exports.BACKEND_STRUCTURE=[["controllers"],["providers"]],exports.BACKEND_FILES=[{content:path.join("backend","site-controller.data"),location:["controllers"],name:"site.ts"},{content:path.join("backend","server.data"),location:[""],name:"server.ts"},{content:path.join("backend","index.data"),location:[""],name:"index.ts"},{content:path.join("backend","env.data"),location:[""],name:".env",placeholders:[{name:"pecots_client_id",prompt:"PecoTS Client ID"},{default:"1",name:"pecots_instance_id",prompt:"PecoTS Instance ID (1)"},{name:"pecots_licence",prompt:"PecoTS Licence Key"},{name:"pecots_email",prompt:"PecoTS Email"},{name:"app_secret",prompt:!1,value:()=>crypto_1.randomBytes(16).toString("hex").toUpperCase()},{name:"cookie_secret",prompt:!1,value:()=>crypto_1.randomBytes(16).toString("hex").toUpperCase()}]},{content:path.join("backend","tsconfig-no-frontend.data"),location:[""],name:"tsconfig.json",withFrontend:!1},{content:path.join("backend","tsconfig-frontend.data"),location:[""],name:"tsconfig.json",withFrontend:!0},{content:path.join("backend","gulp-no-frontend.data"),location:[""],name:"gulpfile.js",withFrontend:!1},{content:path.join("backend","gulp-with-frontend.data"),location:[".."],name:"gulpfile.js",withFrontend:!0}],exports.BACKEND_DEPENDENCIES={dev:{"@types/jasmine":"","@types/lodash":"","@types/node":"",del:"6.1.1",gulp:"","gulp-terser":"","gulp-typescript":"","ts-node":"","ts-node-dev":"","tsconfig-paths":"",ttypescript:"","typescript-transform-paths":""},main:{"@pecometer/pecots":"",moment:"",rxjs:"",tslib:"",typescript:""}};