How to use @architect/sandbox - 6 common examples

To help you get started, we’ve selected a few @architect/sandbox examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github architect / architect / src / sandbox / start.js View on Github external
module.exports = function sandboxStart(params, callback) {
  params = params || {}
  params.version = `Architect ${ver}`
  if (!callback) return sandbox.start(params)
  else sandbox.start(params, callback)
}
github architect / architect / src / sandbox / start.js View on Github external
module.exports = function sandboxStart(params, callback) {
  params = params || {}
  params.version = `Architect ${ver}`
  if (!callback) return sandbox.start(params)
  else sandbox.start(params, callback)
}
github architect / architect / src / sandbox / cli.js View on Github external
#!/usr/bin/env node
let sandbox = require('@architect/sandbox')
let ver = require('../../package.json').version
let options = process.argv
let params = {
  options,
  version: `Architect ${ver}`
}
sandbox.cli(params)
github architect / architect / src / sandbox / index.js View on Github external
let db = require('@architect/sandbox').db
let events = require('@architect/sandbox').events
let http = require('@architect/sandbox').http
let start = require('./start')

module.exports = {
  db,
  events,
  http,
  start,
}
github architect / architect / src / sandbox / index.js View on Github external
let db = require('@architect/sandbox').db
let events = require('@architect/sandbox').events
let http = require('@architect/sandbox').http
let start = require('./start')

module.exports = {
  db,
  events,
  http,
  start,
}
github architect / architect / src / sandbox / index.js View on Github external
let db = require('@architect/sandbox').db
let events = require('@architect/sandbox').events
let http = require('@architect/sandbox').http
let start = require('./start')

module.exports = {
  db,
  events,
  http,
  start,
}

@architect/sandbox

Architect dev server: run full Architect projects locally & offline

Apache-2.0
Latest version published 8 days ago

Package Health Score

75 / 100
Full package analysis

Similar packages