forked from elementor/elementor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
179 lines (179 loc) · 8.15 KB
/
package.json
File metadata and controls
179 lines (179 loc) · 8.15 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "elementor",
"slug": "elementor",
"version": "3.33.0",
"last_beta_version": "3.12.0-beta3",
"last_cloud_version": "3.13.0-cloud2",
"last_dev_version": "3.9.0-dev2",
"prev_stable_version": "3.1.4",
"author": "Elementor Team",
"homepage": "https://elementor.com/",
"scripts": {
"create-release-branch": "node scripts/create-version-change.js",
"start": "npm run composer:no-dev && npm run build:packages && npm run styles && npm run scripts",
"watch": "npm run build:tools && npm run composer:no-dev && npx concurrently \"npm run watch:packages\" \"npm run styles:watch\" \"npm run scripts:watch\"",
"watch:packages": "cd packages && npm run dev",
"build": "npm run build:packages && grunt build",
"build:packages": "cd packages && npm run build",
"build:tools": "cd packages && npm run build:tools",
"build:ci": "cd packages && npm run build && cd .. && npx grunt webpack:production",
"prepare-environment": "npm ci && composer install && cd packages && npm ci",
"prepare-environment:ci": "npm ci && cd packages && npm ci",
"composer:no-dev": "composer install --optimize-autoloader --prefer-dist && composer install --no-scripts --no-dev && composer dump-autoload",
"reinstall": "rm -rf node_modules packages/node_modules && npm cache clean --force && npm ci && cd packages && npm ci",
"hard-reinstall": "rm -rf node_modules packages/node_modules && npm cache clean --force && npm i && cd packages && npm i",
"env:setup": "bash scripts/setup-test-environment.sh",
"env:setup:with-playwright": "bash scripts/setup-test-environment.sh && npx playwright install chromium",
"wp-env": "wp-env",
"test:linux": "node ./run-on-linux.js",
"setup-templates": "rm -rf ./templates && mkdir -p ./templates/playwright && mkdir -p ./templates/lighthouse && cp ./tests/playwright/templates/* ./templates/playwright && cp ./tests/lighthouse/templates/* ./templates/lighthouse",
"start-local-server": "npm run setup-templates && wp-lite-env start --config=./tests/playwright/.playwright-wp-lite-env.json --port=8888 && wp-lite-env start --config=./tests/playwright/.playwright-wp-lite-env.json --port=8889",
"test:php": "docker-compose run --rm wordpress_phpunit phpunit",
"test:php_multisite": "docker-compose run -e WP_MULTISITE=1 --rm wordpress_phpunit phpunit",
"test:setup:playwright": "wp-lite-env cli --config=./tests/playwright/.playwright-wp-lite-env.json --port=8888 --command=\"bash elementor-config/setup.sh\" && wp-lite-env cli --config=./tests/playwright/.playwright-wp-lite-env.json --port=8889 --command=\"bash elementor-config/setup.sh\"",
"test:playwright": "playwright test -c tests/playwright/playwright.config.ts",
"test:playwright:debug": "npm run test:playwright -- --debug",
"test:playwright:elements-regression": "playwright test -c tests/elements-regression/playwright.config.ts",
"test:playwright:elements-regression:linux": "node ./tests/elements-regression/scripts/run-on-linux.js",
"test:playwright:elements-regression:linux:update-snapshots": "npm run test:playwright:elements-regression:linux -- -u",
"test:jest": "jest --config='./tests/jest/jest.config.js'",
"test:packages": "cd packages && npm run test",
"test": "npm run test:jest && npm run test:packages",
"scripts": "grunt scripts",
"scripts:watch": "grunt watch_scripts",
"styles": "grunt styles",
"styles:watch": "grunt watch_styles",
"lint": "eslint . && cd packages && npm run lint",
"format": "eslint . --fix",
"setup:testing": "bash scripts/setup-testing.sh",
"restart:testing": "bash scripts/setup-testing.sh --restart",
"packages:version": "cd packages && npm run version",
"packages:release": "cd packages && npm run release",
"experimental:wp-playground": "npx -y @wp-playground/cli server --mount=.:/wordpress/wp-content/plugins/elementor --blueprint=./tests/playwright/blueprints/local.json",
"experimental:wp-playground:ci": "npx -y @wp-playground/cli server --mount=./build:/wordpress/wp-content/plugins/elementor --blueprint=./tests/playwright/blueprints/ci.json",
"full-e2e-local": "npx concurrently \"npm run watch\" \"npm run experimental:wp-playground\" \"npm run test:playwright -- --ui\""
},
"engines": {
"node": ">=20.19.0",
"npm": ">=10.0.0"
},
"devDependencies": {
"@actions/core": "^1.11.1",
"@axe-core/playwright": "^4.10.1",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.7",
"@babel/plugin-syntax-import-assertions": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
"@babel/plugin-transform-react-jsx": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime-corejs3": "^7.26.0",
"@elementor/wp-lite-env": "^0.0.20",
"@lodder/grunt-postcss": "^3.1.1",
"@playwright/test": "~1.54.1",
"@tanstack/eslint-plugin-query": "^5.81.2",
"@testing-library/dom": "^9.3.3",
"@testing-library/react": "^14.1.2",
"@wordpress/babel-plugin-import-jsx-pragma": "^5.9.0",
"@wordpress/babel-preset-default": "^3.0.2",
"@wordpress/eslint-plugin": "^17.2.0",
"@wp-playground/client": "^2.0.13",
"allure-playwright": "^2.10.0",
"autoprefixer": "^10.4.20",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"chalk": "^5.3.0",
"commander": "^14.0.0",
"concurrently": "^9.2.0",
"cross-env": "^7.0.3",
"cssnano": "^7.0.6",
"dotenv": "^16.4.7",
"eslint": "^8.57.1",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-local-rules": "^3.0.2",
"eslint-plugin-no-jquery": "^2.7.0",
"eslint-plugin-react": "^7.33.2",
"eslint-webpack-plugin": "^4.0.1",
"grunt": "^1.5.3",
"grunt-banner": "~0.6.0",
"grunt-bumpup": "~0.6.3",
"grunt-checktextdomain": "~1.0.1",
"grunt-cli": "^1.5.0",
"grunt-concurrent": "^3.0.0",
"grunt-contrib-clean": "~2.0.1",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-qunit": "^10.1.1",
"grunt-contrib-sass": "~2.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-karma": "4.0.2",
"grunt-release": "0.14.0",
"grunt-sass": "^3.1.0",
"grunt-shell": "~4.0.0",
"grunt-text-replace": "~0.4.0",
"grunt-webpack": "^7.0.0",
"grunt-wp-readme-to-markdown-with-extra": "~2.2.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-fail-fast-reporter": "1.0.5",
"karma-fixture": "0.2.6",
"karma-html2js-preprocessor": "1.1.0",
"karma-qunit": "^4.2.1",
"karma-remap-coverage": "0.1.5",
"lighthouse": "^12.3.0",
"load-grunt-tasks": "^5.1.0",
"mini-css-extract-plugin": "^2.9.2",
"path": "^0.12.7",
"playwright-lighthouse": "^4.0.0",
"prettier": "^3.4.2",
"qunit": "^2.23.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-query": "^3.39.1",
"sass": "^1.83.0",
"styled-components": "^6.1.13",
"terser-webpack-plugin": "^5.3.11",
"ts-node": "^10.9.2",
"webpack": "^5.97.1",
"write": "^2.0.0"
},
"dependencies": {
"@elementor/icons": "1.51.1",
"@elementor/ui": "1.36.12",
"@reach/router": "1.3.4",
"@reduxjs/toolkit": "^1.8.3",
"@woocommerce/admin-layout": "^1.1.0",
"@wordpress/components": "^27.4.0",
"@wordpress/core-data": "^7.5.0",
"@wordpress/data": "^10.5.0",
"@wordpress/dom-ready": "^3.45.0",
"@wordpress/element": "^5.22.0",
"@wordpress/plugins": "^7.5.0",
"dompurify": "^3.2.6",
"html-to-image": "^1.11.11",
"mime": "^3.0.0",
"mixpanel-browser": "^2.50.0",
"prop-types": "^15.8.1",
"reach-router-hash-history": "0.0.3",
"react-avatar-editor": "^13.0.0",
"react-draggable": "^4.4.5",
"react-infinite-scroller": "^1.2.6",
"react-markdown": "^8.0.5",
"react-redux": "^7.2.6",
"react-sketch-canvas": "^6.2.0",
"validator": "^13.11.0"
},
"overrides": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"date-fns": "^3.6.0",
"scheduler": "^0.20.0",
"form-data": "4.0.4"
}
}