Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
3f0b2b1599 | |||
d477e492eb | |||
f39cb03fc2 | |||
f42744b927 | |||
038994e9e5 |
1
index.js
1
index.js
@ -125,7 +125,6 @@ var NpmtsCustom;
|
|||||||
//do some evaluation of the environment
|
//do some evaluation of the environment
|
||||||
var outputNameSpecified = (!outputPathIsDir
|
var outputNameSpecified = (!outputPathIsDir
|
||||||
&& (plugins.path.extname(config.ts[key]) == ".js"));
|
&& (plugins.path.extname(config.ts[key]) == ".js"));
|
||||||
console.log("outputNameSpecified");
|
|
||||||
var outputName = (function () {
|
var outputName = (function () {
|
||||||
if (outputNameSpecified) {
|
if (outputNameSpecified) {
|
||||||
return plugins.path.basename(config.ts[key]);
|
return plugins.path.basename(config.ts[key]);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmts",
|
"name": "npmts",
|
||||||
"version": "2.1.2",
|
"version": "2.1.5",
|
||||||
"description": "write npm modules with TypeScript",
|
"description": "write npm modules with TypeScript",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"typings": "./index.d.ts",
|
"typings": "./index.d.ts",
|
||||||
|
@ -51,7 +51,6 @@ module NpmtsCustom {
|
|||||||
!outputPathIsDir
|
!outputPathIsDir
|
||||||
&& (plugins.path.extname(config.ts[key]) == ".js")
|
&& (plugins.path.extname(config.ts[key]) == ".js")
|
||||||
);
|
);
|
||||||
console.log("outputNameSpecified");
|
|
||||||
var outputName = (function(){
|
var outputName = (function(){
|
||||||
if(outputNameSpecified){
|
if(outputNameSpecified){
|
||||||
return plugins.path.basename(config.ts[key])
|
return plugins.path.basename(config.ts[key])
|
||||||
|
Reference in New Issue
Block a user