-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 4.29 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 4.29 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
82
83
84
85
86
87
88
89
90
91
{
"name": "wp-plugin-web",
"description": "WordPress plugin that integrates your WordPress site with the Network Solutions control panel, including performance, security, and update features.",
"license": "GPL-2.0-or-later",
"version": "2.3.3",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/newfold-labs/wp-plugin-web.git"
},
"bugs": {
"url": "https://github.com/newfold-labs/wp-plugin-web/issues"
},
"homepage": "https://github.com/newfold-labs/wp-plugin-web#readme",
"contributors": [
"Abdulrahman Al Ani (https://alani.dev/)",
"Evan Mullins (https://evanmullins.com)",
"Jonathan Desrosiers (https://jonathandesrosiers.com)",
"Micah Wood (https://wpscholar.com)",
"William Earnhardt (https://wearnhardt.com)"
],
"engines": {
"node": ">=20",
"npm": ">=10"
},
"dependencies": {
"@heroicons/react": "^2.2.0",
"@newfold/ui-component-library": "1.3.0",
"@newfold/wp-module-runtime": "^1.1.3",
"@wordpress/compose": "^7.42.0",
"@wordpress/dom-ready": "^4.34.0",
"@wordpress/element": "^6.18.0",
"@wordpress/i18n": "^5.20.0",
"@wordpress/icons": "^12.1.0",
"classnames": "^2.5.1",
"html-react-parser": "^5.2.17",
"jquery": "^3.7.1",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-error-boundary": "^6.1.1",
"react-router-dom": "^7.13.1",
"react-use": "^17.6.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.0",
"@playwright/test": "^1.58.1",
"@tailwindcss/forms": "^0.5.10",
"@types/node": "^25.6.0",
"@wordpress/env": "^10.20.0",
"@wordpress/scripts": "^27",
"axe-core": "^4.10.2",
"node-fetch": "^2.7.0",
"tailwindcss": "^3.4.17",
"yaml-lint": "^1.7.0"
},
"scripts": {
"build": "NODE_ENV=production wp-scripts build",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses --production",
"create:dist": "rsync -r --exclude-from=.distignore . ./wp-plugin-web",
"create:zip": "cd ./wp-plugin-web && zip -r -9 ../wp-plugin-web.zip . && ls -lh ../wp-plugin-web.zip",
"develop": "npm run start",
"develop:analyzer": "npm run start:analyzer",
"i18n": "wpi18n addtextdomain && composer run i18n",
"lint:css": "wp-scripts lint-style '**/*.css'",
"lint:js": "wp-scripts lint-js ./src",
"lint:js:fix": "wp-scripts lint-js ./src --fix",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"lint:yml": "yamllint --ignore=node_modules/** --ignore=vendor/** **/*.yml",
"log:watch": "wp-env run wordpress 'tail -f /var/www/html/wp-content/debug.log'",
"php-deps": "composer install --no-dev --optimize-autoloader",
"postprepare": "npm run set-wp-version",
"prebuild:cleanup": "rm -rf ./build ./wp-plugin-web ./wp-plugin-web.zip ./vendor",
"set-version-bump": "node ./set-version-bump.js",
"set-version-bump:major": "node ./set-version-bump.js major && npm i && rm -rf ./build && npm run build && composer run i18n",
"set-version-bump:minor": "node ./set-version-bump.js minor && npm i && rm -rf ./build && npm run build && composer run i18n",
"set-version-bump:patch": "node ./set-version-bump.js patch && npm i && rm -rf ./build && npm run build && composer run i18n",
"set-wp-version": "node ./set-latest-wp-version.js",
"simulate-runner-build": "npm run prebuild:cleanup && npm i && npm run php-deps && npm run build && npm run create:dist && npm run create:zip",
"srb": "npm run simulate-runner-build",
"start": "NODE_ENV=develop wp-scripts start",
"start:analyzer": "npm run start --webpack-bundle-analyzer",
"storybook:dev": "start-storybook -c ./storybook",
"storybook:build": "build-storybook -c ./storybook -o ./.docs",
"test:e2e": "npm run test:playwright",
"test:playwright": "npx playwright test",
"test:playwright:update-projects": "node .github/scripts/generate-playwright-projects.mjs",
"test:clean-module": "bash ./.github/scripts/test-clean-module",
"test:unit": "wp-scripts test-unit-js"
}
}