-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
46 lines (46 loc) · 2.24 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
{
"name": "extendable",
"version": "2.1.7",
"description": "",
"author": "extendify",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/extendify/extendable/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/extendify/extendable.git"
},
"homepage": "https://github.com/extendify/extendable#readme",
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
},
"prettier": "@wordpress/prettier-config",
"devDependencies": {
"@wordpress/prettier-config": "^4.48.0",
"@wordpress/scripts": "^32.4.0",
"@wordpress/stylelint-config": "^23.40.0",
"globals": "^17.6.0",
"replace-in-files-cli": "^1.0.0",
"stylelint": "^16.26.1"
},
"scripts": {
"format": "prettier --write \"templates/**/*.html\" \"parts/**/*.html\"",
"format:check": "prettier --check \"templates/**/*.html\" \"parts/**/*.html\"",
"lint:js": "wp-scripts lint-js assets",
"lint:js:fix": "wp-scripts lint-js assets --fix",
"lint:css": "wp-scripts lint-style \"**/*.css\"",
"lint:css:fix": "wp-scripts lint-style \"**/*.css\" --fix",
"lint:php": "composer run-script lint",
"lint:php:fix": "composer run-script format",
"build": "NO_CHECKS=true bash ./bin/build-zip.sh",
"release:version": "replace-in-files --regex='Version: \\d+\\.\\d+\\.\\d+' --replacement='Version: '${npm_package_version}'' style.css && replace-in-files --regex='Stable tag: \\d+\\.\\d+\\.\\d+' --replacement='Stable tag: '${npm_package_version}'' readme.txt",
"release:patch": "npm run build && git push && npm version patch --no-git-tag-version && npm run release:version && git add -u && npm run commit:version && npm run make:tag && npm run commit:tag && npm run build",
"release:minor": "npm run build && git push && npm version minor --no-git-tag-version && npm run release:version && git add -u && npm run commit:version && npm run make:tag && npm run commit:tag && npm run build",
"release:major": "npm run build && git push && npm version major --no-git-tag-version && npm run release:version && git add -u && npm run commit:version && npm run make:tag && npm run commit:tag && npm run build",
"make:tag": "git tag ${npm_package_version}",
"commit:tag": "git push --tags",
"commit:version": "git commit -m 'Version bump to '${npm_package_version}''"
}
}