@enplug/scripts
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -15,4 +15,2 @@ #! /usr/bin/env node | ||
const pkg = require(packagePath); | ||
const version = options.dev ? pkg.version_dev : pkg.version; | ||
const destination = options.dev ? pkg.config.destination_dev : pkg.config.destination; | ||
@@ -22,6 +20,10 @@ const optionDefinitions = [ | ||
{ name: 'dev-server', alias: 's', type: Boolean }, | ||
{ name: 'dev', alias: 'd', type: Boolean }, | ||
{ name: 'target', alias: 't', type: String }, | ||
{ name: 'version', alias: 'v', type: String }, | ||
]; | ||
const options = commandLineArgs(optionDefinitions); | ||
const version = options.dev ? pkg.version_dev : pkg.version; | ||
const destination = options.dev ? pkg.config.destination_dev : pkg.config.destination; | ||
@@ -28,0 +30,0 @@ |
{ | ||
"name": "@enplug/scripts", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Enplug scripts", | ||
@@ -5,0 +5,0 @@ "scripts": { |
10619
294