ソースを参照

remove some deps

karl.hudgell 4 年 前
コミット
6cba2ca0f2
3 ファイル変更0 行追加24 行削除
  1. 0 3
      lib/files.js
  2. 0 15
      package-lock.json
  3. 0 6
      package.json

+ 0 - 3
lib/files.js

@@ -1,8 +1,5 @@
 const fs = require('fs');
 const path = require('path');
-const dl = require('download-file-with-progressbar');
-var download = require('download-file')
-
 
 module.exports = {
   getCurrentDirectoryBase: () => {

+ 0 - 15
package-lock.json

@@ -511,11 +511,6 @@
         "to-regex-range": "^5.0.1"
       }
     },
-    "foreachasync": {
-      "version": "5.1.3",
-      "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-5.1.3.tgz",
-      "integrity": "sha512-q3/l5D2pyZG8aYe9xZQDAnS/KyP7QJakLUNrU/qGkd4bQUTzCUmvVFjagRggoxxjtb1ZrJB+jQeG4ojOLWkztw=="
-    },
     "forever-agent": {
       "version": "0.6.1",
       "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
@@ -540,11 +535,6 @@
         "readable-stream": "^2.0.0"
       }
     },
-    "fs": {
-      "version": "0.0.1-security",
-      "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
-      "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ="
-    },
     "fs-extra": {
       "version": "8.1.0",
       "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
@@ -920,11 +910,6 @@
         "util": "^0.10.3"
       }
     },
-    "path-exists": {
-      "version": "4.0.0",
-      "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
-      "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
-    },
     "path-parse": {
       "version": "1.0.6",
       "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",

+ 0 - 6
package.json

@@ -19,15 +19,9 @@
     "download-file": "^0.1.5",
     "download-file-with-progressbar": "^1.2.3",
     "figlet": "^1.3.0",
-    "foreachasync": "^5.1.3",
-    "fs": "0.0.1-security",
     "get-files-in": "^1.2.0",
     "inquirer": "^7.1.0",
-    "lodash": "^4.17.15",
-    "minimist": "^1.2.5",
     "node-downloader-helper": "^1.0.12",
-    "path": "^0.12.7",
-    "path-exists": "^4.0.0",
     "pkg": "^4.4.7",
     "request-promise-native": "^1.0.8",
     "shell-exec": "^1.0.2"