-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 4.7 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 4.7 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
92
93
{
"name": "wp-plugin-hostgator",
"description": "WordPress plugin that integrates your WordPress site with the HostGator control panel, including performance, security, and update features.",
"license": "GPL-2.0-or-later",
"version": "3.0.2",
"private": true,
"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/wp-module-runtime": "^1.2.2",
"@newfold/ui-component-library": "^2.1.1",
"@reduxjs/toolkit": "^2.11.2",
"@wordpress/compose": "^7.40.0",
"@wordpress/api-fetch": "^7.41.0",
"@wordpress/data": "^10.41.0",
"@wordpress/dom-ready": "^4.41.0",
"@wordpress/url": "^4.40.0",
"@wordpress/element": "^6.24.0",
"@wordpress/i18n": "^6.13.0",
"@wordpress/icons": "^11.8.0",
"classnames": "^2.5.1",
"html-react-parser": "^5.2.17",
"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",
"uuid": "^13.0.0"
},
"devDependencies": {
"@automattic/babel-plugin-preserve-i18n": "^1.0.0",
"@tailwindcss/forms": "^0.5.11",
"@axe-core/playwright": "^4.11.1",
"@playwright/test": "^1.58.2",
"@wordpress/e2e-test-utils-playwright": "^1.41.0",
"@wordpress/env": "^10.39.0",
"@wordpress/scripts": "^31.6.0",
"eslint-import-resolver-alias": "^1.1.2",
"node-fetch": "^3.3.2",
"node-wp-i18n": "^1.2.8",
"tailwindcss": "^3.4.19",
"typescript": "^5.9.3"
},
"scripts": {
"build": "wp-scripts build",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses --production",
"create:dist": "rsync -r --include-from=.distinclude --exclude-from=.distignore . ./wp-plugin-hostgator",
"create:zip": "cd ./wp-plugin-hostgator && zip -r -9 ../wp-plugin-hostgator.zip . && ls -lh ../wp-plugin-hostgator.zip",
"develop": "npm run start",
"develop:analyzer": "npm run start:analyzer",
"format": "wp-scripts format ./src",
"i18n": "composer run i18n",
"i18n-ci-pre": "npm run build && composer run i18n-ci-pre",
"i18n-ci-post": "composer run i18n-ci-post",
"i18n-pot": "wpi18n make-pot . languages/wp-plugin-hostgator.pot --exclude=assets,storybook,tests,src,wp-plugin-hostgator",
"i18n-mo": "cd languages && for file in `find . -name \"*.po\"` ; do msgfmt -o ${file/.po/.mo} $file ; done",
"i18n-json": "wpi18n make-json languages/ --no-purge",
"i18n-json-rename": "cd languages && renamer '/wp-plugin-hostgator-[a-zA-Z_]+-[^\\.]*\\.json/' replace '/$1hostgator-script$2/'",
"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-hostgator ./wp-plugin-hostgator.zip ./vendor",
"set-version-bump": "node ./.github/scripts/set-version-bump.js && npm i && rm -rf ./build && npm run build && composer run i18n",
"set-version-minor": "node ./.github/scripts/set-version-bump.js minor && npm i && rm -rf ./build && npm run build && composer run i18n",
"set-wp-version": "node ./.github/scripts/set-latest-wp-version.js",
"srb": "npm run simulate-runner-build",
"simulate-runner-build": "npm run prebuild:cleanup && npm i && npm run php-deps && npm run build && npm run create:dist && npm run create:zip",
"start": "NODE_ENV=develop wp-scripts start",
"start:analyzer": "npm run start --webpack-bundle-analyzer",
"storybook:build": "build-storybook -c ./storybook -o ./.docs",
"storybook:dev": "start-storybook -c ./storybook",
"test:e2e": "npm run test:playwright",
"test:playwright": "npx playwright test",
"test:playwright:update-projects": "node .github/scripts/generate-playwright-projects.mjs",
"test:unit": "wp-scripts test-unit-js"
}
}