forked from woocommerce/wc-smooth-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.18 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
{
"name": "wc-smooth-generator",
"title": "WooCommerce Smooth Generator",
"version": "1.0.4",
"homepage": "https://github.com/woocommerce/wc-smooth-generator",
"repository": {
"type": "git",
"url": "https://github.com/woocommerce/wc-smooth-generator.git"
},
"license": "GPL-3.0+",
"main": "Gruntfile.js",
"scripts": {
"build": "composer install --no-dev && npm install --only=prod && composer archive --file=$npm_package_name --format=zip && npm run postarchive",
"postarchive": "rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name",
"check-textdomain": "grunt checktextdomain",
"phpcs": "grunt phpcs"
},
"devDependencies": {
"grunt": "1.3.0",
"grunt-checktextdomain": "1.0.1",
"grunt-phpcs": "0.4.0",
"husky": "3.0.9",
"lint-staged": "9.4.2"
},
"engines": {
"node": ">=10.15.0",
"npm": ">=6.4.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs-pre-commit"
]
}
}