-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
82 lines (82 loc) · 3.48 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
{
"name": "wp-plugin-mojo",
"description": "WordPress plugin that integrates a WordPress site with Hosting",
"license": "GPL-2.0-or-later",
"version": "3.2.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.1.5",
"@newfold-labs/wp-module-runtime": "^1.0.11",
"@newfold/ui-component-library": "^1.1.0",
"@wordpress/compose": "^7.8.0",
"@wordpress/dom-ready": "^4.8.0",
"@wordpress/element": "^6.8.0",
"@wordpress/i18n": "^5.8.0",
"@wordpress/icons": "^10.8.0",
"ajv": "^8.17.1",
"classnames": "^2.5.1",
"jquery": "^3.7.1",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-error-boundary": "^4.0.13",
"react-router-dom": "^6.26.0",
"react-use": "^17.5.1"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.7",
"@testing-library/cypress": "^10.0.2",
"@wordpress/env": "^10.8.0",
"@wordpress/scripts": "^27.8.0",
"axe-core": "^4.10.0",
"cypress": "^13.15.0",
"cypress-axe": "^1.5.0",
"tailwindcss": "^3.4.13",
"yaml-lint": "^1.7.0"
},
"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 . ./mojo-marketplace-wp-plugin",
"create:zip": "cd ./mojo-marketplace-wp-plugin && zip -r -9 ../mojo-marketplace-wp-plugin.zip . && ls -lh ../mojo-marketplace-wp-plugin.zip",
"cypress": "npm cypress open",
"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 ./mojo-marketplace-wp-plugin ./mojo-marketplace-wp-plugin.zip ./vendor",
"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",
"test:e2e": "npx cypress run",
"test:unit": "wp-scripts test-unit-js"
}
}