UNPKG

react-torch

Version:

A lib to server-side render with react.

21 lines (16 loc) 413 B
#!/usr/bin/env node 'use strict' var currentNodeVersion = process.versions.node var semver = currentNodeVersion.split('.') var major = semver[0] if (major < 10) { console.error( 'You are running Node ' + currentNodeVersion + '.\n' + 'Create React App requires Node 10 or higher. \n' + 'Please update your version of Node.' ) process.exit(1) } require('../dist/bin/torch.js')