chore(build): Update dependencies and regenerate lockfile (#267)

* Remove accidental usage of private authenticated NPM registry; add explicit .npmrc to prevent this in the future
* Update ESLint/Husky to latest versions
* `npm audit fix` termcolors transitive lodash dependency
This commit is contained in:
Josh Dick
2021-06-21 23:52:29 -04:00
committed by GitHub
parent f209c5b674
commit 3e535c2331
5 changed files with 1551 additions and 571 deletions

1
build/.husky/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_

2
build/.husky/pre-commit Executable file
View File

@@ -0,0 +1,2 @@
cd build
npm test

1
build/.npmrc Normal file
View File

@@ -0,0 +1 @@
registry=https://registry.npmjs.org

2106
build/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,8 @@
"main": "build.js",
"scripts": {
"build": "node build.js",
"test": "eslint build.js && node build.js check"
"test": "eslint build.js && node build.js check",
"prepare": "cd .. && husky install build/.husky"
},
"author": {
"name": "Josh Dick",
@@ -18,15 +19,10 @@
"url": "https://github.com/joshdick/onedark.vim.git"
},
"devDependencies": {
"eslint": "^7.14.0",
"husky": "^4.3.0"
"eslint": "^7.29.0",
"husky": "^6.0.0"
},
"dependencies": {
"termcolors": "0.7.3"
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}