-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
296 lines (296 loc) · 11.4 KB
/
package.json
File metadata and controls
296 lines (296 loc) · 11.4 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
{
"name": "@blockera/plugin",
"version": "1.12.2",
"private": true,
"description": "Make Gutenberg a Real Page Builder!",
"author": "The Contributors",
"license": "ISC",
"keywords": [
"Blockera Full Site Editor",
"Blockera Gutenberg",
"Blockera Gutenberg Editor",
"Blockera WordPress",
"blockera editor"
],
"homepage": "https://github.com/blockeraai/blockera.git",
"repository": "https://github.com/blockeraai/blockera.git",
"bugs": {
"url": "https://github.com/blockeraai/blockera/issues"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.9.0 <=8.19.13"
},
"config": {
"IS_GUTENBERG_PLUGIN": true,
"ALLOW_EXPERIMENT_REREGISTRATION": true
},
"dependencies": {
"@blockera/block-icon": "file:packages/blocks-library/icon",
"@blockera/blockera": "file:packages/blockera",
"@blockera/blockera-admin": "file:packages/blockera-admin",
"@blockera/blocks-core": "file:packages/blocks-core",
"@blockera/bootstrap": "file:packages/bootstrap",
"@blockera/classnames": "file:packages/classnames",
"@blockera/controls": "file:packages/controls",
"@blockera/data": "file:packages/data",
"@blockera/data-editor": "file:packages/data-editor",
"@blockera/editor": "file:packages/editor",
"@blockera/env": "file:packages/env",
"@blockera/feature-icon": "file:packages/features-library/icon",
"@blockera/features-core": "file:packages/features-core",
"@blockera/icons": "file:packages/icons",
"@blockera/plugin-compatibility": "file:packages/plugin-compatibility",
"@blockera/storage": "file:packages/storage",
"@blockera/telemetry": "file:packages/telemetry",
"@blockera/utils": "file:packages/utils",
"@blockera/wordpress": "file:packages/wordpress",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@fortawesome/fontawesome-svg-core": "^7.0.0",
"@fortawesome/free-brands-svg-icons": "^7.0.0",
"@fortawesome/free-regular-svg-icons": "^7.0.0",
"@fortawesome/free-solid-svg-icons": "^7.0.0",
"@fortawesome/react-fontawesome": "^0.2.3",
"@wordpress/icons": "^11.4.0",
"deepmerge": "^4.3.1",
"fast-deep-equal": "^3.1.3",
"fast-memoize": "^2.5.2",
"fastest-json-copy": "^1.0.1",
"filenamify": "^7.0.1",
"fuse.js": "^6.6.2",
"is-plain-object": "^5.0.0",
"overlayscrollbars": "^2.0.0",
"react-color": "^2.19.3",
"react-error-boundary": "^5.0.0",
"react-window": "^1.8.11",
"rememo": "^4.0.2",
"tinycolor2": "^1.6.0",
"use-draggable": "^2.0.0"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.4.0",
"@4tw/cypress-drag-drop": "^2.2.5",
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/plugin-proposal-export-default-from": "^7.18.10",
"@babel/preset-env": "^7.24.7",
"@babel/preset-flow": "^7.21.4",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.25.7",
"@blockera/dev-cypress": "file:packages/dev-cypress",
"@blockera/dev-jest": "file:packages/dev-jest",
"@blockera/dev-playwright": "file:packages/dev-playwright",
"@blockera/dev-storybook": "file:packages/dev-storybook",
"@cypress/browserify-preprocessor": "^3.0.2",
"@cypress/webpack-dev-server": "^3.6.1",
"@cypress/webpack-preprocessor": "^6.0.0",
"@emotion/styled": "^11.11.0",
"@jest/core": "^27.4.5",
"@octokit/rest": "^16.26.0",
"@playwright/test": "^1.40.0",
"@storybook/addon-a11y": "^8.1.9",
"@storybook/addon-actions": "^8.1.9",
"@storybook/addon-controls": "^8.1.9",
"@storybook/addon-essentials": "^8.1.9",
"@storybook/addon-interactions": "^8.1.9",
"@storybook/addon-jest": "^8.1.9",
"@storybook/addon-links": "^8.1.9",
"@storybook/addon-mdx-gfm": "^8.1.9",
"@storybook/addon-toolbars": "^8.1.9",
"@storybook/addon-viewport": "^8.1.9",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/blocks": "^8.1.9",
"@storybook/cli": "^8.1.9",
"@storybook/react": "^8.1.9",
"@storybook/react-webpack5": "^8.1.9",
"@storybook/source-loader": "^8.1.9",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@welldone-software/why-did-you-render": "^8.0.3",
"@wordpress/base-styles": "^6.13.0",
"@wordpress/block-editor": "^15.10.0",
"@wordpress/block-library": "^9.37.0",
"@wordpress/browserslist-config": "^6.37.0",
"@wordpress/components": "^31.0.0",
"@wordpress/core-data": "^7.37.0",
"@wordpress/dependency-extraction-webpack-plugin": "^6.37.0",
"@wordpress/e2e-test-utils-playwright": "^1.37.0",
"@wordpress/edit-post": "^8.37.0",
"@wordpress/edit-site": "^6.37.0",
"@wordpress/editor": "^14.37.0",
"@wordpress/element": "^6.37.0",
"@wordpress/env": "^10.37.0",
"@wordpress/eslint-plugin": "^23.0.0",
"@wordpress/format-library": "^5.37.0",
"@wordpress/hooks": "^4.37.0",
"@wordpress/i18n": "^6.10.0",
"@wordpress/interface": "^9.22.0",
"@wordpress/jest-preset-default": "^12.37.0",
"@wordpress/postcss-plugins-preset": "^5.37.0",
"@wordpress/prettier-config": "^4.37.0",
"@wordpress/readable-js-assets-webpack-plugin": "^3.37.0",
"@wordpress/scripts": "^31.2.0",
"@wordpress/style-engine": "^2.37.0",
"@wordpress/stylelint-config": "^23.29.0",
"@wordpress/token-list": "^3.37.0",
"ajv": "^8.17.1",
"autoprefixer": "^10.4.14",
"babel-jest": "^29.6.1",
"babel-loader": "^10.0.0",
"babel-plugin-macros": "^3.1.0",
"babel-preset-es2015": "^6.24.1",
"chalk": "^4.1.2",
"clsx": "^2.1.1",
"commander": "^8.3.0",
"copy-webpack-plugin": "^10.2.0",
"css-minimizer-webpack-plugin": "^5.0.0",
"cypress": "^13.17.0",
"cypress-image-diff-js": "^2.3.0",
"cypress-log-to-output": "^1.1.2",
"cypress-real-events": "^1.12.0",
"deep-object-diff": "^1.1.9",
"dotenv": "^16.4.5",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-ft-flow": "^3.0.1",
"eslint-plugin-storybook": "^0.8.0",
"esm": "^3.2.25",
"flow-bin": "^0.203.1",
"framer-motion": "^10.12.15",
"fs": "^0.0.1-security",
"git-conventional-commits": "^2.6.5",
"hermes-eslint": "^0.17.1",
"history": "^5.3.0",
"html-webpack-plugin": "^5.5.3",
"husky": "^8.0.0",
"inquirer": "^8.2.0",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "13.0.0",
"jest-snapshot": "^27.4.5",
"jsdom": "^16.7.0",
"lint-staged": "^12.1.1",
"mini-css-extract-plugin": "^2.7.6",
"nanoid": "^4.0.2",
"npm-run-all": "^4.1.5",
"path": "^0.12.7",
"postcss-lit": "^1.1.0",
"postcss-loader": "^7.3.3",
"postcss-scss": "^4.0.6",
"prettier": "^3.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.1",
"react-rnd": "^10.4.1",
"react-router-dom": "^6.14.0",
"react-test-renderer": "^18.2.0",
"remove-accents": "^0.5.0",
"rtlcss-webpack-plugin": "^4.0.6",
"sass": "^1.63.3",
"sass-loader": "^13.2.2",
"semver": "^7.6.3",
"simple-git": "^3.16.0",
"source-map-loader": "3.0.0",
"sprintf-js": "^1.1.3",
"storybook": "^8.1.9",
"storybook-source-link": "^4.0.1",
"string-hash": "^1.1.3",
"style-loader": "^3.3.2",
"stylelint": "^16.8.2",
"terser-webpack-plugin": "^5.3.7",
"tiny-swiper": "^2.2.0",
"ts-jest": "^29.1.0",
"typescript": "^5.8.3",
"use-immer": "^0.9.0",
"uuid": "^8.3.2",
"webpack": "^5.90.3"
},
"peerDependencies": {
"@babel/core": "^7.0 || ^7.21.4 || ^7.22.9",
"@storybook/addons": "^6.4.0 || 7.0.18",
"react": "^16.8.0 || ^17.0.0 || ^18.2.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^16.8.0 || ^17.0.0 || ^18.2.0",
"stylelint": "^16.8.2"
},
"scripts": {
"build": "wp-scripts build --progress --mode production",
"format": "wp-scripts format",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:css": "wp-scripts lint-style packages/**/*.scss",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:php": "composer run lint",
"update:changelogs": "node ./bin/plugin/cli.js update-packages-changelog",
"other:changelog": "node ./bin/plugin/cli.js changelog",
"plugin-zip": "wp-scripts plugin-zip",
"start": "rm -rf dist && wp-scripts start --progress --mode development",
"start:debug": "DEBUG_MODE=on wp-scripts start --progress",
"clean": "rm -rf build dist/* node_modules vendor wordpress",
"prepare": "husky install",
"flow": "npx flow status",
"setup": "npm install && npm run build",
"test:e2e": "NODE_OPTIONS=--max_old_space_size=4096 npx cypress run --config video=false --browser chrome",
"test:ct": "NODE_OPTIONS=--max_old_space_size=4096 npx cypress run --component",
"test:ct:debug": "npx cypress open --component",
"test:e2e:debug": "npx cypress open --e2e",
"test:e2e:headed": "npm run test:e2e --headed",
"test:e2e:record": "npx cypress run --browser chrome",
"test:e2e:base": "wp-scripts test-playwright --config playwright.config.js",
"test:e2e:base:ui": "npm run test:e2e:base -- --ui",
"test:js": "wp-scripts test-unit-js --config packages/dev-jest/js/jest.config.js",
"test:js:watch": "wp-scripts test-unit-js --config packages/dev-jest/js/jest.config.js --watch",
"test:js:coverage": "wp-scripts test-unit-js --config packages/dev-jest/js/jest.config.js --coverage",
"test:js:update": "npm run test:js -u",
"test:generate-output": "jest --json --outputFile=.jest-test-results.json",
"test:generate-output:dev": "jest --json --outputFile=.jest-test-results.json -- --watch",
"test:unit:php:setup": "npm run env:start",
"test:unit:php:base": "wp-env run --env-cwd='wp-content/plugins/blockera' tests-wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose --testsuite units",
"test:snapshots:php:base": "wp-env run --env-cwd='wp-content/plugins/blockera' tests-wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose --testsuite snapshots",
"test:unit:php": "npm-run-all test:unit:php:setup test:unit:php:base",
"test:snapshots:php": "npm-run-all test:unit:php:setup test:snapshots:php:base",
"test:unit:php:composer": "composer run-script test",
"test:snapshots:update": "wp-env run --env-cwd='wp-content/plugins/blockera' tests-wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose --testsuite snapshots -d --update-snapshots",
"test:snapshots:import": "node ./bin/plugin/cli.js test:snapshots:import",
"version": "grunt version && grunt update-pot",
"storybook:init": "npx storybook@latest init --type react",
"storybook:start": "storybook dev -p 6008",
"storybook:build": "storybook build",
"storybook:test": "test-storybook",
"storybook:test:start": "test-storybook --watch",
"icons:indexing": "node bin/create-icon-search-index.js",
"env": "wp-env",
"env:stop": "npm run env stop",
"env:start:spx": "node .github/scripts/setup-wp-env.js && wp-env start --spx",
"env:start:xd": "node .github/scripts/setup-wp-env.js && wp-env start --xdebug=profile",
"env:start": "node .github/scripts/setup-wp-env.js && wp-env start",
"env:clean": "npm run env clean all",
"env:reset": "npm run env:start --update --xdebug",
"env:destroy": "npm run env destroy",
"env:tests-cli:bash": "npm run env run tests-cli bash",
"packages:update": "wp-scripts packages-update",
"plugin:activate": "wp-env run tests-cli wp plugin activate blockera",
"plugin:deactivate": "wp-env run tests-cli wp plugin deactivate blockera"
},
"lint-staged": {
"*.{js,json,ts,tsx,yml,yaml}": [
"wp-scripts format"
],
"*.{js,ts,tsx}": [
"npm run lint:js"
],
"*.scss": [
"npm run lint:css"
],
"*.php": [
"./vendor/bin/phpcs --report-full --report-checkstyle=./.cache/phpcs-report.xml --standard=phpcs.xml"
]
},
"wp-env": {
"plugin-dir": "blockera",
"plugin-name": "Blockera Core",
"welcome-build-command": "npm run dev"
}
}