-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
35 lines (35 loc) · 2.05 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
{
"name": "wabi",
"version": "1.1.0",
"description": "",
"author": "richtabor",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/richtabor/wabi/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/richtabor/wabi.git"
},
"homepage": "https://richtabor/wabi",
"devDependencies": {
"@wordpress/icons": "^6.2.0",
"@wordpress/scripts": "^24.5.0",
"@wordpress/stylelint-config": "^19.1.0",
"replace-in-files-cli": "^1.0.0",
"stylelint": "^13.13.1"
},
"scripts": {
"start": "wp-scripts start assets/js/accent-color.js --output-path=assets/js/build",
"build": "wp-scripts build assets/js/accent-color.js --output-path=assets/js/build",
"build:zip": "NO_CHECKS=true bash ./bin/build-zip.sh",
"lint:css": "stylelint **/*.css --fix -i .gitignore",
"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:zip",
"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:zip",
"make:tag": "git tag ${npm_package_version}",
"commit:tag": "git push --tags",
"commit:version": "git commit -m 'Version bump to '${npm_package_version}''",
"packages-update": "wp-scripts packages-update"
}
}