-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.89 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 1.89 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
{
"name": "@torounit/schedule-terms",
"version": "2.0.1",
"private": true,
"author": "Hiroshi Urabe <mail@torounit.com> (https://torounit.com)",
"license": "GPL-2.0+",
"scripts": {
"wp-env": "wp-env",
"test:php": "npm run test:php:setup && npm run test:php:base",
"test:php:setup": "wp-env --config=.wp-env.test.json start",
"test:php:base": "wp-env --config=.wp-env.test.json run --env-cwd='wp-content/plugins/schedule-terms' wordpress vendor/bin/phpunit -c phpunit.xml.dist",
"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",
"lint:type": "tsc",
"prepare": "husky install",
"release": "release-it"
},
"repository": {
"type": "git",
"url": "https://github.com/torounit/schedule-terms.git"
},
"devDependencies": {
"@wordpress/scripts": "^32.4.1",
"@wordpress/env": "^11.8.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.7",
"release-it": "^20.2.0",
"typescript": "^5.4.2"
},
"lint-staged": {
"*.js": [
"npm run format-js",
"npm run lint-js"
],
"*.php": [
"npm run lint-php"
]
},
"release-it": {
"hooks": {
"before:bump": "bash ./bin/bump-version.sh ${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"dependencies": {
"@wordpress/components": "^35.0.1",
"@wordpress/core-data": "^7.48.1",
"@wordpress/data": "^10.48.1",
"@wordpress/date": "^5.48.1",
"@wordpress/editor": "^14.48.1",
"@wordpress/element": "^6.46.0",
"@wordpress/i18n": "^6.21.1",
"@wordpress/icons": "^14.0.1",
"@wordpress/plugins": "^7.48.1",
"moment": "^2.30.1",
"wp-types": "^4.70.1"
}
}