-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
49 lines (49 loc) · 1.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "woocommerce-esewa",
"title": "WooCommerce eSewa",
"version": "2.0.0",
"homepage": "https://github.com/shivapoudel/woocommerce-esewa",
"repository": {
"type": "git",
"url": "https://github.com/shivapoudel/woocommerce-esewa.git"
},
"license": "GPL-3.0+",
"main": "Gruntfile.js",
"scripts": {
"build": "grunt && npm run makepot",
"build-watch": "grunt watch",
"lint:js": "eslint assets/js --ext=js",
"makepot": "composer run-script makepot",
"git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && node ./node_modules/husky/husky.js install"
},
"devDependencies": {
"eslint": "8.17.0",
"grunt": "1.5.3",
"grunt-contrib-uglify": "5.2.1",
"grunt-contrib-watch": "1.1.0",
"grunt-phpcs": "0.4.0",
"gruntify-eslint": "5.0.0",
"husky": "8.0.1",
"lint-staged": "13.0.0"
},
"engines": {
"node": ">=10.15.0",
"npm": ">=6.4.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-merge": "./bin/post-merge.sh"
}
},
"lint-staged": {
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs-pre-commit"
],
"*.js": [
"eslint --fix",
"git add"
]
}
}