-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
106 lines (106 loc) · 3.3 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "wds-bt",
"version": "0.1.0",
"private": true,
"description": "A starter block theme from WebDevStudios.",
"author": "WebDevStudios <contact@webdevstudios.com>",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"Theme"
],
"homepage": "https://github.com/WebDevStudios/wds-bt/#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/WebDevStudios/wds-bt.git"
},
"bugs": {
"url": "https://github.com/WebDevStudios/wds-bt/issues"
},
"engines": {
"node": ">=20",
"npm": ">=10"
},
"dependencies": {
"svgo": "^3.3.2"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-class-static-block": "7.24.6",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@evilmartians/lefthook": "1.6.12",
"@wordpress/env": "^9.10.0",
"@wordpress/eslint-plugin": "^18.1.0",
"@wordpress/prettier-config": "^3.15.0",
"@wordpress/scripts": "^27.9.0",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-webpack-plugin": "^4.2.0",
"glob": "^10.4.1",
"html_codesniffer": "2.5.1",
"image-minimizer-webpack-plugin": "^4.0.2",
"image-webpack-loader": "^8.1.0",
"imagemin": "^9.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-svgo": "^11.0.0",
"inquirer": "^9.2.22",
"lint-staged": "15.2.4",
"mini-css-extract-plugin": "^2.9.0",
"npm-run-all": "4.1.5",
"pa11y-ci": "^3.1.0",
"postcss-loader": "^8.1.1",
"postcss-move-props-to-bg-image-query": "^4.0.0",
"postcss-preset-env": "^9.5.5",
"postcss-rtl": "^2.0.0",
"prettier": "3.2.5",
"puppeteer-core": "22.10.0",
"remove-files-webpack-plugin": "^1.5.0",
"sass-loader": "^14.2.1",
"stylelint-webpack-plugin": "^5.0.1",
"svg-spritemap-webpack-plugin": "^4.5.0",
"svg-transform-loader": "^2.0.13",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.92.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"a11y": "node a11y.cjs",
"build": "wp-scripts build --config webpack.config.js --webpack-src-dir=assets/blocks --stats-error-details --progress",
"create-block": "cd ./assets/blocks && npx @wordpress/create-block --namespace=wdsbt --template ../../inc/block-template --no-plugin",
"format": "wp-scripts format && npm run format:php",
"format:css": "wp-scripts format-style",
"format:php": "composer run-script phpcs-fix",
"lint": "run-p lint:*",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:php": "composer run-script phpcs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"postinstall": "npx lefthook install",
"preinstall": "cross-env npm_config_legacy_peer_deps=false",
"reset": "rm -rf node_modules vendor build blocks package-lock.json composer.lock",
"setup": "npm run reset && npm i && composer i && npm run build",
"start": "cross-env NODE_ENV=development wp-scripts start"
},
"lint-staged": {
"*.js": [
"wp-scripts lint-js"
],
"*.php": [
"composer run lint"
],
"*.scss": [
"wp-scripts lint-style"
]
}
}