@jbonigomes/create-react-slides
Version:
React presentation deck framework heavily inspired by Impress.js
15 lines (10 loc) • 445 B
JavaScript
;
const appName = process.argv[2];
const { spawnSync } = require('child_process');
const url = 'https://github.com/jbonigomes/create-react-slides.git';
spawnSync('git', ['clone', url, `${process.cwd()}/${appName}`]);
spawnSync('npm', ['install', '--prefix', `${process.cwd()}/${appName}`]);
console.log('Your app has been successfully installed');
console.log(`$ cd ${appName}`);
console.log('$ npm start');