mirror of
https://github.com/joshdick/onedark.vim.git
synced 2025-11-10 20:13:48 -05:00
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:
1
build/.husky/.gitignore
vendored
Normal file
1
build/.husky/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
_
|
||||||
2
build/.husky/pre-commit
Executable file
2
build/.husky/pre-commit
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
cd build
|
||||||
|
npm test
|
||||||
1
build/.npmrc
Normal file
1
build/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
registry=https://registry.npmjs.org
|
||||||
2106
build/package-lock.json
generated
2106
build/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,8 @@
|
|||||||
"main": "build.js",
|
"main": "build.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node build.js",
|
"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": {
|
"author": {
|
||||||
"name": "Josh Dick",
|
"name": "Josh Dick",
|
||||||
@@ -18,15 +19,10 @@
|
|||||||
"url": "https://github.com/joshdick/onedark.vim.git"
|
"url": "https://github.com/joshdick/onedark.vim.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^7.14.0",
|
"eslint": "^7.29.0",
|
||||||
"husky": "^4.3.0"
|
"husky": "^6.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"termcolors": "0.7.3"
|
"termcolors": "0.7.3"
|
||||||
},
|
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "npm test"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user