-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 5.15 KB
/
package.json
File metadata and controls
136 lines (136 loc) · 5.15 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "wds-bt",
"version": "1.4.5",
"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": ">=24.0.0",
"npm": ">=11.0.0"
},
"dependencies": {
"@wordpress/block-editor": "^15.15.0",
"@wordpress/blocks": "^15.15.0",
"@wordpress/components": "^32.4.0",
"@wordpress/compose": "^7.42.0",
"@wordpress/hooks": "^4.42.0",
"@wordpress/i18n": "^6.15.0",
"@wordpress/token-list": "^3.42.0",
"dotenv": "^17.3.1",
"postcss": "^8.5.8",
"svgo": "^4.0.1",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/plugin-transform-class-static-block": "7.28.6",
"@babel/preset-env": "^7.29.2",
"@babel/preset-react": "^7.28.5",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "9.39.2",
"@evilmartians/lefthook": "^2.1.4",
"@wordpress/dependency-extraction-webpack-plugin": "^6.42.0",
"@wordpress/env": "^11.2.0",
"@wordpress/eslint-plugin": "^24.4.0",
"@wordpress/prettier-config": "^4.42.0",
"@wordpress/scripts": "^31.7.0",
"@wordpress/stylelint-config": "^23.34.0",
"autoprefixer": "^10.4.27",
"babel-loader": "^10.1.1",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^12.0.0",
"copy-webpack-plugin": "^14.0.0",
"cross-env": "^10.1.0",
"css-minimizer-webpack-plugin": "^8.0.0",
"dotenv-cli": "^11.0.0",
"eslint": "9.39.2",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-webpack-plugin": "^5.0.2",
"glob": "^13.0.6",
"html_codesniffer": "2.5.1",
"image-minimizer-webpack-plugin": "^5.0.0",
"inquirer": "^13.3.2",
"lint-staged": "16.4.0",
"mini-css-extract-plugin": "^2.10.1",
"node-fetch": "^3.3.2",
"npm-check-updates": "^19.6.5",
"npm-run-all": "4.1.5",
"pa11y-ci": "^4.1.0",
"postcss-loader": "^8.2.1",
"postcss-move-props-to-bg-image-query": "^4.0.0",
"postcss-preset-env": "^11.2.0",
"postcss-rtl": "^2.0.0",
"prettier": "3.8.1",
"puppeteer-core": "24.40.0",
"remove-files-webpack-plugin": "^1.5.0",
"rimraf": "^6.1.3",
"sass-loader": "^16.0.7",
"sharp": "^0.34.5",
"stylelint-webpack-plugin": "^5.1.0",
"svg-spritemap-webpack-plugin": "^5.1.0",
"svg-transform-loader": "^2.0.13",
"terser-webpack-plugin": "^5.4.0",
"thread-loader": "^4.0.4",
"webpack": "^5.105.4",
"webpack-cli": "^7.0.2",
"webpackbar": "^7.0.0"
},
"scripts": {
"a11y": "node a11y.cjs",
"build": "rimraf blocks build && wp-scripts build --config webpack.config.js --progress",
"create-block": "run-s create-block:run",
"create-block:run": "cd ./assets/blocks && npx @wordpress/create-block --namespace=wdsbt --template ../../inc/block-template --no-plugin",
"format": "wp-scripts format && npm run format:php && npm run format:js",
"format:css": "wp-scripts format ./assets/**/*.scss",
"format:js": "wp-scripts format ./assets/**/*.js && (wp-scripts format ./assets/**/*.jsx 2>&1 | grep -v 'No files matching' || true)",
"format:php": "composer run-script phpcs-fix",
"fonts": "rimraf build/fonts && php tools/font-processor.php",
"fonts:detect": "php tools/font-detection.php",
"fonts:generate": "php tools/generate-theme-json.php",
"lint": "run-p lint:*",
"lint:css": "wp-scripts lint-style --max-warnings 0",
"lint:js": "eslint . --ext .js,.jsx --max-warnings 0",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:php": "composer run-script phpcs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "npx npm-check-updates -u && npm install && npm dedupe && npm audit fix",
"postinstall": "mkdir -p node_modules/ajv-keywords/node_modules && ln -sf ../../schema-utils/node_modules/ajv node_modules/ajv-keywords/node_modules/ajv 2>/dev/null || true && npx lefthook install --reset-hooks-path && ./scripts/update-cursorrules.sh",
"preinstall": "npx cross-env npm_config_legacy_peer_deps=true",
"reset": "rimraf node_modules vendor build blocks package-lock.json composer.lock",
"setup": "npm run reset && npm install --no-fund --no-audit --loglevel=error && composer install --quiet --no-interaction && npm run build && npm run fonts:generate",
"start": "rimraf build blocks && wp-scripts start",
"update-cursorrules": "./scripts/update-cursorrules.sh",
"version-update": "dotenv node updateVersion.js"
},
"lint-staged": {
"*.js": "wp-scripts lint-js",
"*.php": "composer run lint",
"*.scss": "wp-scripts lint-style",
"*.json": "wp-scripts lint-pkg-json",
"*.md": "wp-scripts lint-md-docs"
},
"overrides": {
"ajv-keywords@5": {
"ajv": "^8.18.0"
},
"ajv-formats": {
"ajv": "^8.18.0"
},
"eslint": "9.39.2"
}
}