UNPKG

@yodata/context-sdk

Version:

tools for developing and publishing yodata-context (cdef.yaml) files.

12 lines (10 loc) 331 B
const path = require('path') const sh = require('shelljs') const logger = require('../util/logger') module.exports = async function installDependencies (props) { logger.log('\n\nInstalling Dependencies...\n\n') const dest = path.resolve(process.cwd(), props.name) sh.cd(dest) await sh.exec('npm install') return props }