-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.08 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
{
"name": "@hamworks/schedule-terms",
"version": "1.3.2",
"private": true,
"author": "HIroshi Urabe <[email protected]> (https://torounit.com)",
"license": "GPL-2.0+",
"scripts": {
"wp-env": "wp-env",
"test-unit-php": "wp-env run cli --env-cwd='/var/www/html/wp-content/plugins/schedule-terms' composer test",
"packages-update": "wp-scripts packages-update",
"lint-php": "./vendor/bin/phpcs --standard=./phpcs.xml.dist --warning-severity=6",
"test": "wp-scripts test-unit-js",
"start": "wp-scripts start ./src/admin/ ./src/editor/",
"build": "wp-scripts build ./src/admin/ ./src/editor/",
"format": "wp-scripts format",
"lint-js": "wp-scripts lint-js",
"lint-js:fix": "wp-scripts lint-js --fix",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/team-hamworks/schedule-terms.git"
},
"devDependencies": {
"@wordpress/scripts": "^27.3.0",
"@wordpress/env": "^9.4.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2"
},
"lint-staged": {
"*.js": [
"npm run format-js",
"npm run lint-js"
],
"*.php": [
"npm run lint-php"
]
},
"release-it": {
"hooks": {
"before:bump": [
"composer install --optimize-autoloader --prefer-dist --no-dev",
"bash ./bin/create-release.sh schedule-terms ${version}",
"bash ./bin/create-zip.sh schedule-terms"
],
"after:bump": "composer install --optimize-autoloader --prefer-dist",
"after:release": "bash ./bin/cleanup.sh schedule-terms"
},
"github": {
"release": true,
"assets": [
"schedule-terms.zip"
]
},
"npm": {
"publish": false
}
},
"dependencies": {
"@types/wordpress__components": "^23.0.11",
"@types/wordpress__core-data": "^2.4.5",
"@types/wordpress__data": "^6.0.2",
"@types/wordpress__edit-post": "^7.5.6",
"@types/wordpress__editor": "^13.6.7",
"@types/wordpress__plugins": "^3.0.3",
"@wordpress/components": "^27.0.0",
"@wordpress/core-data": "^6.29.0",
"@wordpress/data": "^9.22.0",
"@wordpress/edit-post": "^7.29.0",
"@wordpress/editor": "^13.29.0",
"@wordpress/plugins": "^6.20.0",
"wp-types": "^3.64.0"
}
}