-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
69 lines (69 loc) · 1.67 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "wp-plugin-starter",
"version": "1.0.0",
"private": true,
"description": "Just another WordPress plugin starter.",
"author": "Shiva Poudel",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"plugin-starter"
],
"homepage": "https://github.com/shivapoudel/wp-plugin-starter#readme",
"repository": "git+https://github.com/shivapoudel/wp-plugin-starter.git",
"bugs": {
"url": "https://github.com/shivapoudel/wp-plugin-starter/issues"
},
"engines": {
"node": ">=10.0.0",
"npm": ">=6.9.0"
},
"dependencies": {
"@wordpress/element": "2.20.2",
"@wordpress/i18n": "3.19.2"
},
"devDependencies": {
"@wordpress/browserslist-config": "3.0.3",
"@wordpress/eslint-plugin": "9.0.4",
"@wordpress/prettier-config": "1.0.3",
"@wordpress/scripts": "15.0.0",
"husky": "6.0.0",
"lint-staged": "10.5.4",
"optimize-css-assets-webpack-plugin": "5.0.4",
"prettier": "npm:wp-prettier@2.0.5",
"rtlcss-webpack-plugin": "4.0.6"
},
"scripts": {
"build": "wp-scripts build",
"format": "wp-scripts format",
"lint:js": "wp-scripts lint-js",
"lint:js-fix": "npm run lint:js -- --fix",
"lint:css": "wp-scripts lint-style",
"lint:css-fix": "npm run lint:css -- --fix",
"lint:php": "composer run-script phpcs ./src",
"start": "wp-scripts start"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "./bin/pre-push.sh",
"post-merge": "./bin/post-merge.sh"
}
},
"lint-staged": {
"*.scss": [
"wp-scripts lint-style"
],
"*.js": [
"wp-scripts format-js",
"wp-scripts lint-js"
],
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs"
],
"package.json": [
"wp-scripts lint-pkg-json"
]
}
}