From 686334252a934cae3ce9a57750c4c8b01c45df63 Mon Sep 17 00:00:00 2001 From: Nate Fischer Date: Sat, 8 Jan 2022 13:01:12 -0800 Subject: [PATCH] chore: fix node v4 This downgrades mocha to v5. Tested manually that eslint and mocha can run now on node v4. --- .gitignore | 1 + .npmrc | 3 --- package.json | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 .npmrc diff --git a/.gitignore b/.gitignore index 9f655f4..0633519 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules/ *~ *.swp .DS_Store +package-lock.json diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 2be0a0a..0000000 --- a/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -# We can't use lockfiles because npm@5 and npm@6 disagree about the syntax (and -# will modify the lockfile when we run `npm install`). -package-lock=false diff --git a/package.json b/package.json index 3b94d6b..cc32a99 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "eslint": "^5.16.0", "eslint-config-airbnb-base": "^13.1.0", "eslint-plugin-import": "^2.17.3", - "mocha": "^6.1.4", + "mocha": "^5.0.0", "shelljs": "^0.8.4", "shelljs-changelog": "^0.2.5", "shelljs-release": "^0.4.1",