Skip to content

Commit a8b34bf

Browse files
authored
Merge pull request #2818 from RabbiIslamRony/update-package
update pakage file
2 parents 4012115 + f9657d1 commit a8b34bf

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

package.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,17 @@
77
"dev": "webpack --config webpack.dev.js",
88
"dev-vue": "webpack --config webpack.dev.vue.js",
99
"prod": "node pot.js && webpack --config webpack.prod.js",
10-
"format": "wp-scripts format ./assets/src"
10+
"format": "wp-scripts format ./assets/src",
11+
"prepare": "husky install"
12+
},
13+
"lint-staged": {
14+
"*.{css,scss,js}": [
15+
"yarn format",
16+
"git add"
17+
],
18+
"*.php": [
19+
"composer format"
20+
]
1121
},
1222
"repository": {
1323
"type": "git",
@@ -17,6 +27,7 @@
1727
"license": "GPL-2.0+",
1828
"homepage": "https://github.com/sovware/directorist",
1929
"dependencies": {
30+
"@babel/runtime": "^7.29.2",
2031
"@wordpress/api-fetch": "^7.31.0",
2132
"@wordpress/components": "^30.2.0",
2233
"@wordpress/dataviews": "^7.0.0",
@@ -70,7 +81,7 @@
7081
"wp-pot": "^1.9.8"
7182
},
7283
"engines": {
73-
"node": "24.13.0",
84+
"node": "24.14.1",
7485
"npm": "11.6.2"
7586
},
7687
"browserslist": [

0 commit comments

Comments
 (0)