From 9d6121903e0bac8ae95d802e479dff7537964b33 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 25 Mar 2022 16:59:37 +0100 Subject: [PATCH] Fixed some dependency references --- .eslintrc | 2 +- scripts/create-dist-file.js | 2 +- scripts/replace-version.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index d3b1d6b0..20632049 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,6 +1,6 @@ { "extends": [ - "react-app" + "@shlinkio/js-coding-standard" ], "plugins": ["jest"], "env": { diff --git a/scripts/create-dist-file.js b/scripts/create-dist-file.js index b2ac89ce..3d6c31c4 100644 --- a/scripts/create-dist-file.js +++ b/scripts/create-dist-file.js @@ -6,7 +6,7 @@ process.env.NODE_ENV = 'production'; const chalk = require('chalk'); const AdmZip = require('adm-zip'); -const fs = require('fs-extra'); +const fs = require('fs'); function zipDist(version) { const versionFileName = `./dist/shlink-web-client_${version}_dist.zip`; diff --git a/scripts/replace-version.js b/scripts/replace-version.js index e2092e0c..970d4583 100644 --- a/scripts/replace-version.js +++ b/scripts/replace-version.js @@ -1,4 +1,4 @@ -const fs = require('fs-extra'); +const fs = require('fs'); function replaceVersionPlaceholder(version) { const staticJsFilesPath = './build/static/js';