Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grailed-system

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grailed-system - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

4

package.json
{
"name": "grailed-system",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -12,4 +12,6 @@ "main": "index.js",

"dependencies": {
"async": "^0.9.0",
"express": "^4.10.1",
"grailed": "0.0.2",
"grailed-express-engine": "^1.0.0",
"sc-cast": "0.0.8",

@@ -16,0 +18,0 @@ "sc-extendify": "0.0.0",

@@ -1,1 +0,55 @@

console.log('server');
var cwd = process.cwd();
global.Grailed = require('grailed').create();
// Modules
Grailed
.module('async', require('async'));
// Config
// Grailed
// .config( 'cms', require( '../../shared/config/cms.config' ) )
// .config( 'app', require( cwd + '/system/config/app.config' ) )
// .config( 'database', require( cwd + '/system/config/database.config' ) )
// .config( 'environment', require( cwd + '/system/config/environment.config' ) )
// .config( 'express', require( cwd + '/system/config/express.config' ) )
// .config( 'moldy', require( cwd + '/system/config/moldy.config' ) );
// Environment
// Grailed.env = Grailed.config( 'environment' );
// Classes
// Grailed
// .class( 'base', require( './classes/base.class' ) );
// Models
// Grailed
// .model( 'item', Grailed.modules.moldy.extend( 'item', require( '../../shared/schemas/item.schema' ) ) )
// .model( 'login', Grailed.modules.moldy.extend( 'login', require( '../../shared/schemas/login.schema' ) ) )
// .model( 'sessionToken', Grailed.modules.moldy.extend( 'sessionToken', require( '../../shared/schemas/session-token.schema' ) ) )
// .model( 'resetPasswordToken', Grailed.modules.moldy.extend( 'resetPasswordToken', require( '../../shared/schemas/reset-password-token.schema' ) ) );
// Controllers
// Grailed
// .controller( 'authenticate', new( require( './controllers/authenticate.controller' ) )() );
// Routes: Core
Grailed
.route('/s', {
get: function(_req, _res) {
_res.send('bam';)
}
});
// Require the app server scripts
require(cwd + '/app/api')(Grailed);
// App
// Grailed.app = {
// config: require( cwd + '/app/config/app.config' )
// }
// End
Grailed.engine(require('grailed-express-engine')).end();
module.exports = Grailed;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc