From f746a63c4da89ea18bb6be5938c8e1756c97156f Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Mon, 13 Dec 2021 16:07:07 +0200 Subject: [PATCH] Remove deps from package. --- deps/extract.js | 13 ------------- package.json | 1 - 2 files changed, 14 deletions(-) delete mode 100644 deps/extract.js diff --git a/deps/extract.js b/deps/extract.js deleted file mode 100644 index 593f8c3..0000000 --- a/deps/extract.js +++ /dev/null @@ -1,13 +0,0 @@ -const fs = require('fs'); -const tar = require('tar'); - -const [_node, _script, src, dest] = process.argv; - -const { size } = fs.statSync(src); -if (size < 1000) { - console.error('Not a valid .tar.gz file:', src); - console.error('Check if git-lfs is configured correctly.'); - process.exit(1); -} -fs.mkdirSync(dest, { recursive: true }); -tar.x({ C: dest, file: src, sync: true }); diff --git a/package.json b/package.json index 98a7085..4e94976 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,6 @@ "lib/**/*.js", "sqlite3.js", "src", - "deps", "*.gyp" ] }