Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
94f48afbbd | |||
944e9b227c | |||
b83aaf4abf | |||
51a1dd0b1d |
8
dist/npmts.clean.js
vendored
8
dist/npmts.clean.js
vendored
@ -8,8 +8,14 @@ var removeDist = function () {
|
||||
return plugins.smartfile.fsaction.remove(paths.distDir);
|
||||
};
|
||||
var removeTypings = function () {
|
||||
var done = plugins.Q.defer();
|
||||
npmts_promisechain_1.npmtsOra.text("cleaning " + "typings".yellow + " folder");
|
||||
return plugins.smartfile.fsaction.remove(paths.typingsDir);
|
||||
if (false) {
|
||||
}
|
||||
else {
|
||||
done.resolve();
|
||||
}
|
||||
return done.promise;
|
||||
};
|
||||
exports.run = function (configArg) {
|
||||
npmts_promisechain_1.npmtsOra.text("cleaning up from previous builds...");
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "npmts",
|
||||
"version": "5.1.11",
|
||||
"version": "5.1.13",
|
||||
"description": "write npm modules with TypeScript",
|
||||
"main": "dist/index.js",
|
||||
"bin": {
|
||||
@ -27,7 +27,7 @@
|
||||
"homepage": "https://github.com/pushrocks/npmts#readme",
|
||||
"dependencies": {
|
||||
"beautylog": "5.0.5",
|
||||
"early": "^1.0.7",
|
||||
"early": "^2.0.1",
|
||||
"fs-extra": "^0.30.0",
|
||||
"gulp": "3.9.1",
|
||||
"gulp-codecov": "^2.0.1",
|
||||
|
@ -9,8 +9,15 @@ let removeDist = function(){
|
||||
};
|
||||
|
||||
let removeTypings = function(){
|
||||
let done = plugins.Q.defer();
|
||||
npmtsOra.text("cleaning " + "typings".yellow + " folder");
|
||||
return plugins.smartfile.fsaction.remove(paths.typingsDir);
|
||||
if(false){
|
||||
//plugins.smartfile.fsaction.remove(paths.typingsDir)
|
||||
// .then(done.resolve);
|
||||
} else {
|
||||
done.resolve();
|
||||
}
|
||||
return done.promise;
|
||||
};
|
||||
|
||||
export let run = function(configArg){
|
||||
|
Reference in New Issue
Block a user