-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
94 lines (94 loc) · 3.83 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
{
"name": "lazy-blocks",
"title": "Lazy Blocks",
"version": "3.8.3",
"description": "No hassle Gutenberg blocks for WordPress developers",
"license": "GPL-2.0",
"author": "Lazy Blocks Team <https://www.lazyblocks.com/>",
"scripts": {
"dev": "wp-scripts start --hot --progress",
"build": "wp-scripts build --progress",
"build:prod": "npm run make-pot && npm run make-json && npm run build && npm run zip",
"bump:patch": "gulp bump --type patch",
"bump:minor": "gulp bump --type minor",
"bump:major": "gulp bump --type major",
"bump:prerelease": "gulp bump --type prerelease",
"zip": "gulp zip",
"wp-env": "wp-env",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"test": "npm-run-all lint test:unit:php test:e2e",
"test:e2e": "playwright test --config tests/e2e/playwright.config.js",
"test:e2e:ui": "playwright test --config tests/e2e/playwright.config.js --ui",
"test:e2e:install-playwright": "npx playwright install",
"pretest:unit:php": "wp-env start",
"test:unit:php": "wp-env run --env-cwd='wp-content/plugins/lazy-blocks' tests-wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose",
"lint": "concurrently \"npm run lint:js\" \"npm run lint:css\"",
"lint:css": "stylelint --custom-syntax postcss-scss \"assets/**/*.scss\"",
"lint:js": "eslint --ext .js assets/ controls/",
"prelint:php": "wp-env run --env-cwd='wp-content/plugins/lazy-blocks' cli composer install --no-interaction",
"lint:php": "wp-env run --env-cwd='wp-content/plugins/lazy-blocks' cli composer run-script lint",
"format:css": "stylelint --fix --custom-syntax postcss-scss \"assets/**/*.scss\"",
"format:js": "eslint --ext .js --fix assets/ controls/",
"format:php": "wp-env run --env-cwd='wp-content/plugins/lazy-blocks' cli composer run-script format",
"make-pot": "composer wp -- i18n make-pot ./ ./languages/lazy-blocks.pot --skip-audit --exclude=vendor,vendors,node_modules,build,dist-zip --headers='{\"Last-Translator\":\"Lazy Blocks Team\",\"Report-Msgid-Bugs-To\":\"https://github.com/nk-crew/lazyblocks/issues\"}'",
"make-json": "po2json ./languages/lazy-blocks.pot ./languages/lazy-blocks.json --format=jed1.x --pretty --domain=lazy-blocks",
"prepare": "husky install",
"postinstall": "composer install"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.4",
"@wordpress/base-styles": "^3.6.0",
"ace-builds": "^1.22.0",
"array-move": "^4.0.0",
"classnames": "^2.3.2",
"gutenberg-react-select-styles": "^0.0.3",
"html-react-parser": "^4.0.0",
"json5": "^2.2.3",
"react-ace": "^10.1.0",
"react-select": "^5.8.0",
"react-virtualized": "^9.22.5",
"shorthash": "0.0.2",
"slugify": "^1.6.6",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/node": "^7.23.9",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "^7.24.0",
"@babel/register": "^7.23.7",
"@playwright/test": "^1.45.3",
"@wordpress/e2e-test-utils-playwright": "^1.4.0",
"@wordpress/env": "^10.4.0",
"@wordpress/eslint-plugin": "^20.1.0",
"@wordpress/prettier-config": "^4.4.0",
"@wordpress/scripts": "^28.4.0",
"@wordpress/stylelint-config": "^22.4.0",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"del": "^6.1.1",
"eslint-plugin-playwright": "^0.15.3",
"filenamify": "^4.2.0",
"glob": "^10.3.3",
"gulp": "^4.0.2",
"gulp-change-file-content": "^1.0.1",
"gulp-zip": "^5.1.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"md5": "^2.3.0",
"micromatch": "^4.0.5",
"npm-run-all": "^4.1.5",
"parse-version-string": "^1.0.1",
"po2json": "^0.4.5",
"rtlcss-webpack-plugin": "^4.0.7",
"webpack-remove-empty-scripts": "^1.0.3",
"yargs": "^17.7.2"
}
}