-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.61 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.61 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
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "oneaccess",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/rtCamp/OneAccess.git"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"files": [
"build/",
"inc/",
"vendor/",
"languages/",
"readme.txt",
"oneaccess.php",
"uninstall.php"
],
"dependencies": {
"@wordpress/api-fetch": "^7.40.0",
"@wordpress/components": "^30.9.0",
"@wordpress/element": "^6.40.0",
"@wordpress/html-entities": "^4.40.0",
"@wordpress/i18n": "^6.13.0",
"@wordpress/icons": "^11.7.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"@wordpress/babel-preset-default": "^8.40.0",
"@wordpress/browserslist-config": "^6.40.0",
"@wordpress/env": "^10.39.0",
"@wordpress/eslint-plugin": "^24.2.0",
"@wordpress/scripts": "^31.5.0",
"browserslist": "^4.28.1",
"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",
"eslint-plugin-jest": "^28.14.0",
"globals": "^17.3.0",
"npm-run-all": "^4.1.5",
"rimraf": "^6.1.3",
"typescript": "^5.9.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-env run cli wp i18n make-pot . ./languages/oneaccess.pot --exclude=node_modules,vendor,tests --ignore-domain=default",
"i18n:make-json": "wp-env run cli 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:js:types": "tsc --noEmit",
"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": "wp-scripts plugin-zip",
"start:js": "wp-scripts start --config ./webpack.config.js",
"start": "npm-run-all --parallel start:*",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$(pwd)\")/ composer run-script test",
"wp-env": "wp-env"
},
"overrides": {
"@babel/runtime": "^7.27.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"webpack-dev-server@<=5.2.0": ">=5.2.1"
}
}