-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
84 lines (84 loc) · 3.72 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
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
{
"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": "2.12.3",
"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-labs/wp-module-ecommerce": "^1.4.4",
"@newfold-labs/wp-module-runtime": "^1.0.12",
"@newfold/ui-component-library": "^1.1.0",
"@reduxjs/toolkit": "^2.3.0",
"@wordpress/compose": "^7.12.0",
"@wordpress/dom-ready": "^4.13.0",
"@wordpress/element": "^6.13.0",
"@wordpress/i18n": "^5.12.0",
"@wordpress/icons": "^10.12.0",
"ajv": "^8.17.1",
"classnames": "^2.5.1",
"jquery": "^3.7.1",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-error-boundary": "^4.1.2",
"react-router-dom": "^6.28.0",
"react-use": "^17.5.1"
},
"devDependencies": {
"@automattic/babel-plugin-preserve-i18n": "^1.0.0",
"@tailwindcss/forms": "^0.5.7",
"@testing-library/cypress": "^10.0.2",
"@wordpress/env": "^10.12.0",
"@wordpress/scripts": "^30.6.0",
"cypress": "^13.16.0",
"cypress-axe": "1.5.0",
"node-fetch": "^2.7.0",
"node-wp-i18n": "^1.2.7",
"tailwindcss": "^3.4.15"
},
"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",
"cypress": "npm cypress open",
"develop": "npm run start",
"develop:analyzer": "npm run start:analyzer",
"format": "wp-scripts format ./src",
"i18n": "wpi18n addtextdomain && composer run i18n",
"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-wp-version": "node ./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": "npx cypress run",
"test:unit": "wp-scripts test-unit-js"
}
}