update deps
This commit is contained in:
parent
eed1a65415
commit
b76cb1376d
2
dist/npmts.assets.js
vendored
2
dist/npmts.assets.js
vendored
@ -7,7 +7,7 @@ exports.run = function (configArg) {
|
|||||||
var config = configArg;
|
var config = configArg;
|
||||||
plugins.beautylog.log("now looking at required assets");
|
plugins.beautylog.log("now looking at required assets");
|
||||||
if (config.cli == true) {
|
if (config.cli == true) {
|
||||||
plugins.smartfile.copy(plugins.path.join(paths.npmtsAssetsDir, "cli.js"), paths.distDir);
|
plugins.smartfile.fsaction.copy(plugins.path.join(paths.npmtsAssetsDir, "cli.js"), paths.distDir);
|
||||||
plugins.beautylog.ok("CLI asset has been installed!");
|
plugins.beautylog.ok("CLI asset has been installed!");
|
||||||
done.resolve(config);
|
done.resolve(config);
|
||||||
}
|
}
|
||||||
|
2
dist/npmts.configfile.js
vendored
2
dist/npmts.configfile.js
vendored
@ -8,7 +8,7 @@ exports.run = function () {
|
|||||||
var configPath = plugins.path.join(paths.cwd, "npmts.json");
|
var configPath = plugins.path.join(paths.cwd, "npmts.json");
|
||||||
if (plugins.smartfile.checks.fileExistsSync(configPath)) {
|
if (plugins.smartfile.checks.fileExistsSync(configPath)) {
|
||||||
plugins.beautylog.info("npmts.json".blue + " config file found!");
|
plugins.beautylog.info("npmts.json".blue + " config file found!");
|
||||||
config = plugins.smartfile.readFileToObject(configPath);
|
config = plugins.smartfile.local.toObjectSync(configPath);
|
||||||
switch (config.mode) {
|
switch (config.mode) {
|
||||||
case "default":
|
case "default":
|
||||||
case "custom":
|
case "custom":
|
||||||
|
2
dist/npmts.install.js
vendored
2
dist/npmts.install.js
vendored
@ -9,7 +9,7 @@ exports.run = function (configArg) {
|
|||||||
* ----------- install typings ---------------
|
* ----------- install typings ---------------
|
||||||
* ----------------------------------------------- */
|
* ----------------------------------------------- */
|
||||||
plugins.beautylog.log("now installing " + "typings".yellow);
|
plugins.beautylog.log("now installing " + "typings".yellow);
|
||||||
var absoluteTypingsArray = plugins.smartpath.absolute(config.typings, paths.cwd);
|
var absoluteTypingsArray = plugins.smartpath.transform.toAbsolute(config.typings, paths.cwd);
|
||||||
plugins.gulp.src(absoluteTypingsArray)
|
plugins.gulp.src(absoluteTypingsArray)
|
||||||
.pipe(plugins.g.typings())
|
.pipe(plugins.g.typings())
|
||||||
.pipe(plugins.g.gFunction(function () {
|
.pipe(plugins.g.gFunction(function () {
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"homepage": "https://github.com/pushrocks/npmts#readme",
|
"homepage": "https://github.com/pushrocks/npmts#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"beautylog": "3.1.2",
|
"beautylog": "3.1.2",
|
||||||
"fs-extra": "^0.26.5",
|
"fs-extra": "^0.26.7",
|
||||||
"gulp": "3.9.1",
|
"gulp": "3.9.1",
|
||||||
"gulp-concat": "^2.6.0",
|
"gulp-concat": "^2.6.0",
|
||||||
"gulp-coveralls": "^0.1.4",
|
"gulp-coveralls": "^0.1.4",
|
||||||
@ -37,15 +37,15 @@
|
|||||||
"gulp-mocha": "^2.2.0",
|
"gulp-mocha": "^2.2.0",
|
||||||
"gulp-sourcemaps": "^1.6.0",
|
"gulp-sourcemaps": "^1.6.0",
|
||||||
"gulp-typescript": "2.12.1",
|
"gulp-typescript": "2.12.1",
|
||||||
"gulp-typings": "1.2.0",
|
"gulp-typings": "1.3.0",
|
||||||
"merge2": "1.0.1",
|
"merge2": "1.0.1",
|
||||||
"projectinfo": "1.0.1",
|
"projectinfo": "1.0.1",
|
||||||
"q": "^1.4.1",
|
"q": "^1.4.1",
|
||||||
"shelljs": "^0.6.0",
|
"shelljs": "^0.6.0",
|
||||||
"smartcli": "0.0.11",
|
"smartcli": "0.0.11",
|
||||||
"smartenv": "1.2.0",
|
"smartenv": "1.2.0",
|
||||||
"smartfile": "1.0.1",
|
"smartfile": "2.1.1",
|
||||||
"smartpath": "2.1.0",
|
"smartpath": "3.0.0",
|
||||||
"source-map-support": "^0.4.0"
|
"source-map-support": "^0.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {}
|
"devDependencies": {}
|
||||||
|
@ -7,7 +7,7 @@ export var run = function(configArg){
|
|||||||
let config = configArg;
|
let config = configArg;
|
||||||
plugins.beautylog.log("now looking at required assets");
|
plugins.beautylog.log("now looking at required assets");
|
||||||
if(config.cli == true){
|
if(config.cli == true){
|
||||||
plugins.smartfile.copy(plugins.path.join(paths.npmtsAssetsDir,"cli.js"),paths.distDir);
|
plugins.smartfile.fsaction.copy(plugins.path.join(paths.npmtsAssetsDir,"cli.js"),paths.distDir);
|
||||||
plugins.beautylog.ok("CLI asset has been installed!");
|
plugins.beautylog.ok("CLI asset has been installed!");
|
||||||
done.resolve(config);
|
done.resolve(config);
|
||||||
} else {
|
} else {
|
||||||
|
@ -7,7 +7,7 @@ export var run = function(){
|
|||||||
var configPath = plugins.path.join(paths.cwd,"npmts.json");
|
var configPath = plugins.path.join(paths.cwd,"npmts.json");
|
||||||
if(plugins.smartfile.checks.fileExistsSync(configPath)){
|
if(plugins.smartfile.checks.fileExistsSync(configPath)){
|
||||||
plugins.beautylog.info("npmts.json".blue + " config file found!");
|
plugins.beautylog.info("npmts.json".blue + " config file found!");
|
||||||
config = plugins.smartfile.readFileToObject(configPath);
|
config = plugins.smartfile.local.toObjectSync(configPath);
|
||||||
switch (config.mode){
|
switch (config.mode){
|
||||||
case "default":
|
case "default":
|
||||||
case "custom":
|
case "custom":
|
||||||
|
@ -8,7 +8,7 @@ export var run = function(configArg){
|
|||||||
* ----------- install typings ---------------
|
* ----------- install typings ---------------
|
||||||
* ----------------------------------------------- */
|
* ----------------------------------------------- */
|
||||||
plugins.beautylog.log("now installing " + "typings".yellow);
|
plugins.beautylog.log("now installing " + "typings".yellow);
|
||||||
let absoluteTypingsArray = plugins.smartpath.absolute(config.typings,paths.cwd);
|
let absoluteTypingsArray = plugins.smartpath.transform.toAbsolute(config.typings,paths.cwd);
|
||||||
plugins.gulp.src(absoluteTypingsArray)
|
plugins.gulp.src(absoluteTypingsArray)
|
||||||
.pipe(plugins.g.typings())
|
.pipe(plugins.g.typings())
|
||||||
.pipe(plugins.g.gFunction(function(){
|
.pipe(plugins.g.gFunction(function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user