forked from newfold-labs/wp-plugin-hostgator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 3.36 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
{
"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": "1.2.10",
"private": true,
"author": {
"name": "Evan Mullins",
"url": "https://evanmullins.com"
},
"devDependencies": {
"@automattic/babel-plugin-preserve-i18n": "^1.0.0",
"@testing-library/cypress": "^9.0.0",
"@replayio/cypress": "^1.0.2",
"@wordpress/env": "^8.4.0",
"@wordpress/scripts": "^26.6.0",
"cypress": "^12.14.0",
"cypress-axe": "1.4.0",
"node-wp-i18n": "^1.2.7"
},
"scripts": {
"build": "wp-scripts build",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses --production",
"cypress": "npm cypress open",
"cypress:record": "RECORD_ALL_CONTENT=1 RECORD_REPLAY_METADATA_FILE=$(mktemp) npx cypress run --browser 'Replay Chromium'",
"develop": "npm run start",
"develop:analyzer": "npm run start:analyzer",
"format": "wp-scripts format ./src",
"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",
"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/'",
"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": "npx cypress run",
"test:unit": "wp-scripts test-unit-js",
"create:dist": "rsync -r --exclude-from=.distignore --include-from=.distinclude . ./wp-plugin-hostgator",
"php-deps": "composer install --no-dev --optimize-autoloader",
"create:zip": "cd ./wp-plugin-hostgator && zip -r -9 ../wp-plugin-hostgator.zip . && ls -lh ../wp-plugin-hostgator.zip",
"prebuild:cleanup": "rm -rf ./build ./wp-plugin-hostgator ./wp-plugin-hostgator.zip ./vendor",
"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"
},
"dependencies": {
"@wordpress/compose": "^6.12.0",
"@wordpress/dom-ready": "^3.35.0",
"@wordpress/element": "^5.12.0",
"@wordpress/i18n": "^4.35.0",
"@wordpress/icons": "^9.26.0",
"classnames": "^2.3.2",
"jquery": "^3.7.0",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-error-boundary": "^4.0.10",
"react-router-dom": "^6.12.1",
"react-use": "^17.4.0"
}
}