aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorUri Shaked2021-05-29 22:55:41 +0300
committerUri Shaked2021-05-29 22:55:41 +0300
commit5f711e1a016aae0f59144834eb191e1aff4abce2 (patch)
treef8eea3d8b29c625a811134f6d1aac78490e54213 /package.json
parentMerge pull request #92 from wokwi/dependabot/npm_and_yarn/browserslist-4.16.6 (diff)
downloadavr8js-5f711e1a016aae0f59144834eb191e1aff4abce2.tar.gz
avr8js-5f711e1a016aae0f59144834eb191e1aff4abce2.tar.bz2
avr8js-5f711e1a016aae0f59144834eb191e1aff4abce2.zip
chore(deps): husky 6.0.0
Diffstat (limited to 'package.json')
-rw-r--r--package.json9
1 files changed, 2 insertions, 7 deletions
diff --git a/package.json b/package.json
index f692eeb..07e25ae 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
"scripts": {
"build": "rimraf dist && tsc --sourceMap false && tsc -m commonjs --outDir dist/cjs --sourceMap false",
"build:demo": "parcel build demo/src/index.html -d demo/dist",
- "prepare": "npm run build",
+ "prepare": "husky install && npm run build",
"start": "parcel demo/src/index.html -d demo/build",
"lint": "eslint src/**/*.ts demo/**/*.ts",
"test": "npm run lint && jest",
@@ -47,7 +47,7 @@
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-json": "^2.1.1",
"eslint-plugin-prettier": "^3.1.4",
- "husky": "^3.0.9",
+ "husky": "^6.0.0",
"jest": "^26.1.0",
"lint-staged": "^9.5.0",
"parcel-bundler": "^1.12.4",
@@ -57,11 +57,6 @@
"ts-node": "^8.10.2",
"typescript": "^3.9.6"
},
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",