-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·39 lines (39 loc) · 1.33 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
{
"name": "cosmo-users",
"private": true,
"description": "WordPress Custom Plugin to Show Users via Ajax.",
"author": "rumur",
"license": "MIT",
"keywords": [
"WordPress"
],
"engines": {
"node": ">=20.0.0"
},
"homepage": "https://github.com/rumur/cosmo-users",
"scripts": {
"assets:dev": "wp-scripts start --experimental-modules --webpack-src-dir=assets",
"assets:build": "wp-scripts build --experimental-modules --webpack-src-dir=assets",
"env": "wp-env",
"start": "wp-env start",
"stop": "wp-env stop",
"stop-all": "docker stop $(docker ps -a -q)",
"composer": "wp-env run wordpress --env-cwd=wp-content/plugins/plugin-working-dir -- composer",
"cli": "wp-env run cli",
"lint": "npm run composer -- lint",
"lint:fix": "npm run composer -- lint:fix",
"rector": "npm run composer -- rector",
"rector:fix": "npm run composer -- rector:fix",
"test": "wp-env run tests-wordpress --env-cwd=wp-content/plugins/plugin-working-dir -- composer test",
"prepare": "git config core.hooksPath ./.tools/git-hooks",
"preinstall": "composer install --ignore-platform-reqs"
},
"devDependencies": {
"@wordpress/create-block": "^4.55.0",
"@wordpress/env": "^10.12.0",
"@wordpress/interactivity": "^6.12.0",
"@wordpress/interactivity-router": "^2.12.0",
"@wordpress/scripts": "^30.5.1",
"lint-staged": "^15.2.10"
}
}