Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.2 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 2.2 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": "advanced-screen-options",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/rtCamp/advanced-screen-options.git"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"files": [
"actions/",
"build/",
"inc/",
"vendor/",
"languages/",
"readme.txt",
"advanced-screen-options.php",
"uninstall.php",
"composer.json"
],
"devDependencies": {
"@babel/core": "^7.29.7",
"@wordpress/babel-preset-default": "^8.40.0",
"@wordpress/eslint-plugin": "^24.2.0",
"@wordpress/scripts": "^31.8.0",
"cross-env": "^10.1.0",
"css-minimizer-webpack-plugin": "^7.0.4",
"eslint": "^8.57.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.32.0",
"npm-run-all": "^4.1.5",
"rimraf": "^6.1.3",
"webpack-remove-empty-scripts": "^1.1.1"
},
"scripts": {
"build:dev": "cross-env NODE_ENV=development npm-run-all 'build:!(dev|prod)'",
"build:js": "wp-scripts build --config ./webpack.config.js",
"build:prod": "npm run clean && cross-env NODE_ENV=production npm-run-all 'build:!(dev|prod)' && composer install --no-dev --optimize-autoloader",
"clean": "rimraf build",
"i18n:make-pot": "wp i18n make-pot . ./languages/screen-options.pot --exclude=node_modules,vendor,tests --ignore-domain=default",
"i18n:make-json": "wp i18n make-json languages/ --no-purge",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:js": "wp-scripts lint-js",
"lint:php:fix": "composer run-script format",
"lint:php:stan": "composer run-script phpstan",
"lint:php": "composer run-script lint",
"lint": "npm-run-all --parallel lint:*",
"plugin-zip": "npm run build:prod && wp-scripts plugin-zip",
"start:js": "wp-scripts start --config ./webpack.config.js",
"start": "npm-run-all --parallel start:*"
},
"overrides": {
"@babel/runtime": "^7.27.6",
"webpack-dev-server@<=5.2.0": ">=5.2.1",
"fast-xml-parser": ">=5.3.4",
"minimatch": ">=10.2.1",
"serialize-javascript": ">=7.0.3",
"markdown-it": "^14.1.0",
"@opentelemetry/core": "^2.8.0",
"js-yaml": "^4.1.2",
"adm-zip": "^0.6.1",
"@simple-git/argv-parser": "^2.0.1",
"simple-git": ">=4.0.2"
}
}