Commit a3a7f6a1 authored by wildfirecode's avatar wildfirecode

update

parent daf9989a
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
node_modules node_modules
node_modules0
released released
.idea .idea
.wing .wing
......
...@@ -73,9 +73,13 @@ class TuiaAutoUpload { ...@@ -73,9 +73,13 @@ class TuiaAutoUpload {
}); });
} }
//调用文件遍历方法 //调用文件遍历方法
fileDisplay(this.options.dir); fileDisplay(this.options.dir);
this._files = this._files.filter(function(e){
console.log('====>',e)
return e.indexOf('.js.map') == -1;
});
return this._files; return this._files;
} }
start() { start() {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"deploy": "node deploy.js", "deploy": "node deploy.js",
"deploy:sourcemap": "fundebug-cli upload --apikey '0a540efc461d456c65a96fcb31e339b0c9c56308169c5e49e6b556ea5df44934' --directory ./released",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": { "repository": {
...@@ -18,10 +19,12 @@ ...@@ -18,10 +19,12 @@
"ali-oss": "^4.11.4", "ali-oss": "^4.11.4",
"chalk": "^2.3.0", "chalk": "^2.3.0",
"co": "^4.6.0", "co": "^4.6.0",
"fundebug-cli": "^0.2.1",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-concat": "^2.6.1", "gulp-concat": "^2.6.1",
"gulp-sourcemaps": "^2.6.4", "gulp-sourcemaps": "^2.6.4",
"gulp-uglify": "^3.0.0", "gulp-uglify": "^3.0.0",
"progress": "^2.0.0" "progress": "^2.0.0"
} },
"dependencies": {}
} }
...@@ -13,7 +13,7 @@ function component() { ...@@ -13,7 +13,7 @@ function component() {
} }
function printMe() { function printMe() {
console.log('hello fundebug.') consale.log('hello fundebug.')
} }
document.body.appendChild(component()); document.body.appendChild(component());
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment