-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
31 lines (31 loc) · 1.04 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
{
"name": "vk-simple-copy-block",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"scripts": {
"build": "wp-scripts build && webpack --config webpack2.config.js",
"watch": "wp-scripts start",
"update": "ncu -u && rm -rf node_modules package-lock.json && npm install",
"dist": "composer install --no-dev && npx gulp dist && composer install",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js src/ --fix",
"lint:php": "composer install && composer format && composer phpcs",
"wp-env": "wp-env",
"packages-update": "wp-scripts packages-update",
"phpunit": "composer install && wp-env run tests-cli --env-cwd='wp-content/plugins/vk-simple-copy-block' vendor/bin/phpunit -c .phpunit.xml --verbose",
"prepare": "husky install"
},
"devDependencies": {
"@wordpress/env": "^10.4.0",
"@wordpress/scripts": "^28.4.0",
"classnames": "^2.5.1",
"gulp": "^5.0.0",
"husky": "^9.1.4",
"prettier": "^3.3.3",
"npm-check-updates": "^17.0.3"
},
"volta": {
"node": "20.15.0"
}
}