UNPKG

preact-init

Version:

Single command that facilitates the initialization of new Preact apps.

11 lines (7 loc) 195 B
#!/usr/bin/env node 'use strict'; var semver = process.versions.node.split('.'); if (semver[0] < 6) { throw new Error('Preact Init requires Node v6 or higher.'); } require('./preact-init');