-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
125 lines (125 loc) · 6.04 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
{
"name": "vk-block",
"version": "1.0.0",
"description": "",
"main": "gulpfile.js",
"scripts": {
"start": "npm install && composer install && npm run build && wp-env start",
"stop": "wp-env stop",
"destroy": "wp-env destroy",
"watch": "npm run build && concurrently \"wp-scripts start\" \"npx gulp watch\"",
"update": "ncu -u -x 'gulp gulp-autoprefixer sass' && rimraf node_modules/ package-lock.json && npm install",
"clean:dist": "rimraf dist",
"create:dist-dir": "mkdir -p dist/vk-blocks-pro && mkdir -p dist/vk-blocks",
"copy:files": "cp -r build inc languages vendor *.txt *.png *.php dist/vk-blocks-pro",
"copy:files:free": "cp -r build inc vendor *.txt *.png *.php dist/vk-blocks",
"dist": "composer install --no-dev && npm run build && npm run clean:dist && npm run create:dist-dir && npm run copy:files && composer install",
"prebuild": "rimraf ./inc/vk-blocks/build/*",
"build:dev": "composer install && gulp text-domain-pro && wp-scripts build --webpack-copy-php --config webpack.config.js --progress --mode=development && gulp build:dev:pro",
"build": "gulp text-domain-pro && wp-scripts build --webpack-copy-php --config webpack.config.js --progress --mode=production && gulp build:pro && npm run build:js && npm run translate",
"build:cache": "composer install && gulp text-domain-pro && wp-scripts build --webpack-copy-php --config webpack.config.js --progress --mode=development --env enableCache=true && gulp build:dev:pro",
"build:dev:cache": "npm run build:cache",
"build:free": "gulp text-domain-free && wp-scripts build --webpack-copy-php --config webpack.config.js && gulp build:free && npm run build:js",
"build:pot": "wp i18n make-pot --merge=languages/vk-blocks-pro-js.pot --skip-js . languages/vk-blocks-pro.pot",
"translate": "npm run build:pot && npm run translate:block && npm run translate:admin && cd languages && wp i18n make-php . && cd ../",
"translate:block": "po2json ./languages/vk-blocks-pro-ja.po ./languages/vk-blocks-pro-ja-vk-blocks-build-js.json -f jed",
"translate:admin": "po2json ./languages/vk-blocks-pro-ja.po ./languages/vk-blocks-pro-ja-vk-blocks-admin-js.json -f jed",
"build:js": "webpack --config webpack2.config.js",
"gulp": "npx gulp",
"lint": "wp-scripts format src/ && wp-scripts lint-js src/ --fix",
"lint:php": "composer install && composer format && composer phpcs",
"fixtures:clean": "rimraf test/e2e-tests/fixtures/blocks/*.json test/e2e-tests/fixtures/blocks/*.serialized.html",
"fixtures:generate": "cross-env GENERATE_MISSING_FIXTURES=y wp-scripts test-unit-js --config test/jest.config.js test/integration/full-content/full-content.test.js",
"fixtures:regenerate": "npm run build && npm run fixtures:clean && npm run fixtures:generate",
"test-unit": "npm run test-unit:clean && npm run fixtures:regenerate",
"test-unit:withcache": "npm run fixtures:regenerate",
"test-unit:clean": "wp-scripts test-unit-js --clearCache",
"test:e2e": "node ./test/e2e-tests/run-tests.js",
"test:e2e-no-gui": "wp-scripts test-e2e --config ./test/e2e-tests/jest-e2e.config.js",
"composer:install": "wp-env run composer \"composer install\"",
"phpunit": "composer install && wp-env run tests-cli --env-cwd='wp-content/plugins/vk-blocks-pro' vendor/bin/phpunit -c .phpunit.xml",
"phpunit:free": "composer install && wp-env run tests-cli --env-cwd='wp-content/plugins/vk-blocks' vendor/bin/phpunit -c .phpunit.xml",
"cli": "npx wp-env run cli",
"packages-update": "npx wp-scripts packages-update",
"reinstall": "rimraf node_modules/ && npm install && npm run build",
"prepare": "husky install",
"wp-env": "wp-env"
},
"author": "",
"license": "MIT",
"browserslist": [
"last 2 version",
"> 5%"
],
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/plugin-transform-async-to-generator": "^7.24.7",
"@babel/plugin-transform-regenerator": "^7.24.7",
"@babel/preset-env": "^7.25.3",
"@codemirror/lang-css": "^6.2.1",
"@codemirror/view": "^6.29.1",
"@emotion/babel-plugin": "^11.12.0",
"@playwright/test": "^1.45.3",
"@rjaros/po2json": "^1.0.0-beta-4",
"@uiw/react-codemirror": "^4.23.0",
"@wordpress/babel-plugin-makepot": "^6.4.0",
"@wordpress/block-editor": "^13.4.0",
"@wordpress/block-library": "^9.5.0",
"@wordpress/block-serialization-default-parser": "^5.4.0",
"@wordpress/blocks": "^13.4.0",
"@wordpress/components": "^28.4.0",
"@wordpress/data": "^10.4.0",
"@wordpress/e2e-test-utils": "^11.4.0",
"@wordpress/edit-post": "^8.4.0",
"@wordpress/element": "^6.4.0",
"@wordpress/env": "10.4.0",
"@wordpress/hooks": "^4.4.0",
"@wordpress/i18n": "^5.4.0",
"@wordpress/icons": "^10.4.0",
"@wordpress/jest-preset-default": "^12.4.0",
"@wordpress/jest-puppeteer-axe": "^7.4.0",
"@wordpress/list-reusable-blocks": "^5.4.0",
"@wordpress/plugins": "^7.4.0",
"@wordpress/scripts": "^28.4.0",
"@wordpress/viewport": "^6.4.0",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.1.3",
"babel-plugin-inline-json-import": "^0.3.2",
"classnames": "^2.5.1",
"compare-versions": "^6.1.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"eslint-plugin-prettier": "^5.2.1",
"gettext-parser": "8.0.0",
"gettext-to-messageformat": "0.4.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-notify": "^4.0.0",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.4",
"gulp-sass": "^5.1.0",
"gulp-uglify": "^3.0.2",
"html-react-parser": "^5.1.12",
"husky": "^9.1.4",
"jest-transform-stub": "^2.0.0",
"memize": "^2.1.0",
"npm-check-updates": "^17.0.2",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"sass": "1.32.12",
"style-loader": "^4.0.0",
"swiper": "^11.1.9"
},
"volta": {
"node": "20.14.0"
},
"dependencies": {
"regenerator-runtime": "^0.14.1"
}
}