forked from elementor/elementor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 6.58 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
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.27.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": {
"test:setup:playwright:mac": "npm run build && npm run start-local-server && npm run test:setup:playwright && npx playwright install chromium",
"wp-env": "wp-env",
"test:linux": "node ./run-on-linux.js",
"build": "composer install --optimize-autoloader --prefer-dist && composer install --no-scripts --no-dev && composer dump-autoload && grunt build",
"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-env start",
"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-env run cli bash elementor-config/setup.sh && wp-env run tests-cli 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",
"dev:start": "npm ci && composer install",
"test:jest": "jest --config='./tests/jest/jest.config.js'",
"scripts": "grunt scripts",
"scripts:watch": "grunt watch_scripts",
"scripts:packages": "grunt scripts:packages",
"scripts:packages:local": "npx cross-env ELEMENTOR_PACKAGES_USE_LOCAL=1 grunt scripts:packages",
"styles": "grunt styles",
"styles:watch": "grunt watch_styles",
"lint:js": "eslint ."
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.3.0"
},
"devDependencies": {
"@actions/core": "^1.11.1",
"@axe-core/playwright": "^4.8.1",
"@babel/core": "^7.25.8",
"@babel/eslint-parser": "^7.25.7",
"@babel/plugin-syntax-import-assertions": "^7.25.7",
"@babel/plugin-transform-modules-commonjs": "^7.25.7",
"@babel/plugin-transform-react-jsx": "^7.25.7",
"@babel/plugin-transform-runtime": "^7.25.7",
"@babel/preset-env": "^7.25.8",
"@babel/preset-react": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
"@babel/runtime-corejs3": "^7.25.7",
"@elementor/eslint-plugin-editor": "^0.4.0",
"@elementor/externalize-wordpress-assets-webpack-plugin": "^0.3.3",
"@elementor/extract-i18n-wordpress-expressions-webpack-plugin": "^0.3.3",
"@elementor/generate-wordpress-asset-file-webpack-plugin": "^0.3.3",
"@lodder/grunt-postcss": "^3.1.1",
"@playwright/test": "^1.43.1",
"@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/env": "^10.9.0",
"@wordpress/eslint-plugin": "^17.2.0",
"allure-playwright": "^2.10.0",
"autoprefixer": "^10.4.20",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"chalk": "^5.3.0",
"cross-env": "^7.0.3",
"cssnano": "^7.0.6",
"dotenv": "^16.4.5",
"eslint": "^8.52.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"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-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": "^9.6.8",
"load-grunt-tasks": "^5.1.0",
"mini-css-extract-plugin": "^2.9.1",
"path": "^0.12.7",
"prettier": "^3.3.3",
"qunit": "^2.22.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-query": "^3.39.1",
"sass": "^1.79.5",
"styled-components": "^6.1.13",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"webpack": "^5.95.0"
},
"dependencies": {
"@elementor/editor": "0.15.0",
"@elementor/editor-app-bar": "0.20.0",
"@elementor/editor-documents": "0.11.10",
"@elementor/editor-editing-panel": "1.0.0",
"@elementor/editor-panels": "0.8.0",
"@elementor/editor-responsive": "0.12.1",
"@elementor/editor-site-navigation": "0.26.0",
"@elementor/editor-style": "0.4.1",
"@elementor/editor-v1-adapters": "0.8.2",
"@elementor/env": "0.3.4",
"@elementor/icons": "1.19.0",
"@elementor/locations": "0.7.5",
"@elementor/menus": "0.1.0",
"@elementor/query": "0.2.2",
"@elementor/schema": "0.1.1",
"@elementor/store": "0.8.5",
"@elementor/ui": "1.21.7",
"@elementor/utils": "0.2.1",
"@elementor/wp-media": "0.2.0",
"@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",
"@wp-now/wp-now": "^0.1.74",
"acorn": "^8.7.1",
"core-js": "^3.24.1",
"dompurify": "^3.1.3",
"grunt-cli": "^1.4.3",
"html-to-image": "^1.11.11",
"mime": "^3.0.0",
"mixpanel-browser": "^2.50.0",
"playwright-lighthouse": "^2.2.2",
"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",
"write": "^2.0.0"
},
"overrides": {
"@reach/router": {
"react": "$react",
"react-dom": "$react-dom"
},
"@woocommerce/admin-layout": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}
}