UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

8 lines (6 loc) 188 B
'use strict'; const { execSync } = require('child_process'); const { version } = require('./package'); execSync('npm run test'); execSync(`git tag v${version}`); execSync('npm publish');