-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
38 lines (38 loc) · 1.85 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
{
"name": "extendable",
"version": "2.0.15",
"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"
},
"devDependencies": {
"replace-in-files-cli": "^1.0.0",
"@wordpress/stylelint-config": "^22.6.0",
"stylelint": "^14.16.1"
},
"scripts": {
"lint:css": "stylelint **/*.css -i .gitignore",
"lint:css:fix": "stylelint **/*.css -i .gitignore --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}''"
}
}