Skip to content

Commit 8fa8988

Browse files
chore(deps): update
1 parent 4e7b80c commit 8fa8988

File tree

5 files changed

+26
-25
lines changed

5 files changed

+26
-25
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

husky.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@
3030
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
3131
"pretest": "npm run lint",
3232
"test": "npm run test:coverage",
33-
"prepare": "npm run build",
34-
"release": "standard-version",
35-
"defaults": "webpack-defaults"
33+
"prepare": "husky install && npm run build",
34+
"release": "standard-version"
3635
},
3736
"files": [
3837
"dist"
@@ -44,29 +43,28 @@
4443
"schema-utils": "^3.0.0"
4544
},
4645
"devDependencies": {
47-
"@babel/cli": "^7.12.10",
48-
"@babel/core": "^7.12.10",
49-
"@babel/preset-env": "^7.12.11",
50-
"@commitlint/cli": "^11.0.0",
51-
"@commitlint/config-conventional": "^11.0.0",
52-
"@webpack-contrib/defaults": "^6.3.0",
46+
"@babel/cli": "^7.13.10",
47+
"@babel/core": "^7.13.10",
48+
"@babel/preset-env": "^7.13.10",
49+
"@commitlint/cli": "^12.0.1",
50+
"@commitlint/config-conventional": "^12.0.1",
5351
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
54-
"babel-jest": "^26.5.2",
55-
"copy-webpack-plugin": "^7.0.0",
52+
"babel-jest": "^26.6.3",
53+
"copy-webpack-plugin": "^8.0.0",
5654
"cross-env": "^7.0.3",
5755
"del": "^6.0.0",
5856
"del-cli": "^3.0.1",
59-
"eslint": "^7.17.0",
60-
"eslint-config-prettier": "^7.1.0",
61-
"eslint-plugin-import": "^2.22.0",
62-
"husky": "^4.3.7",
63-
"jest": "^26.5.2",
64-
"lint-staged": "^10.5.3",
57+
"eslint": "^7.22.0",
58+
"eslint-config-prettier": "^8.1.0",
59+
"eslint-plugin-import": "^2.22.1",
60+
"husky": "^5.1.3",
61+
"jest": "^26.6.3",
62+
"lint-staged": "^10.5.4",
6563
"memfs": "^3.2.0",
6664
"npm-run-all": "^4.1.5",
6765
"prettier": "^2.2.1",
68-
"standard-version": "^9.1.0",
69-
"webpack": "^5.10.0"
66+
"standard-version": "^9.1.1",
67+
"webpack": "^5.26.3"
7068
},
7169
"keywords": [
7270
"json",

0 commit comments

Comments
 (0)