UNPKG

generator-hilary

Version:

Yeoman generator for projects that use hilary IoC (DI)

33 lines (32 loc) 1.38 kB
{ "PORT": 3000, "projectName": "<%= projectName %>", "storeThisConfigInMemory": true, "cors": { "mode": "off", "originWhiteList": { "null": true, "http://localhost:3000": true }, "allowCredentials": true, "allowMethods": ["GET", "POST", "PATCH", "PUT", "DELETE", "OPTIONS", "HEAD"], "allowHeaders": ["Authorization", "Accepts", "Content-Type", "If-Match", "If-Modified-Since", "If-None-Match", "If-Unmodified-Since", "Range", "X-Requested-With", "X-Request-ID"], "exposeHeaders": ["Content-Length", "Date", "ETag", "Expires", "Last-Modified", "X-Powered-By", "X-Request-ID", "X-<%= projectName %>-Media-Type"], "cacheDuration": "120", "denialMessage": { "status": 403, "message": "CORS Error: your origin, {origin}, is not whitelisted." } }, "docs": { "files": [ "./common/README.md", "./legos/README.md", "./home/README.md" ], "languages": [ { "name": "All", "highlightClass": "lang-all" }, { "name": "cURL", "highlightClass": "lang-bash" }, { "name": "JavaScript (Browser)", "highlightClass": "lang-js" }, { "name": "JavaScript (Node.js)", "highlightClass": "lang-node" }, { "name": "Go", "highlightClass": "lang-go" } ] } }