-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.19 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
{
"name": "shortcode-scrubber",
"description": "A powerful tool for cleaning up shortcodes on your site and confidently managing plugins and themes that use shortcodes.",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/wpscholar-wp-plugins/shortcode-scrubber.git"
},
"author": "Micah Wood <[email protected]> (https://wpscholar.com)",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/wpscholar-wp-plugins/shortcode-scrubber/issues"
},
"homepage": "https://github.com/wpscholar-wp-plugins/shortcode-scrubber#readme",
"devDependencies": {
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"node-wp-i18n": "^1.2.3",
"yaml-lint": "^1.2.4"
},
"scripts": {
"i18n": "wpi18n addtextdomain && composer run i18n",
"lint": "yamllint --ignore=node_modules/** **/*.yml",
"test": "echo \"Error: no test specified\" && exit 1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npx wpi18n addtextdomain && composer run i18n"
}
},
"lint-staged": {
"**/*.yml": [
"npx yamllint --ignore=node_modules/**"
],
"**/*.php": [
"vendor/bin/phpcs --standard=WPScholar -s"
]
}
}