-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.75 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.75 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
{
"name": "@wpsyntex/polylang",
"version": "3.8.0",
"description": "Adds multilingual capability to WordPress",
"author": "WP Syntex",
"license": "GPL-3.0-or-later",
"keywords": [
"multilingual",
"bilingual",
"translate",
"translation",
"language",
"multilanguage",
"international",
"localization"
],
"homepage": "https://github.com/polylang/polylang#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/polylang/polylang.git"
},
"bugs": {
"url": "https://github.com/polylang/polylang/issues"
},
"overrides": {
"minimatch": "^9.0.9",
"serialize-javascript": "^7.0.4"
},
"dependencies": {
"@wpsyntex/polylang-react-library": "github:polylang/polylang-react-library"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@wordpress/babel-preset-default": "^8.41.0",
"@wordpress/base-styles": "^6.17.0",
"@wordpress/e2e-test-utils-playwright": "^1.41.0",
"@wordpress/env": "^10.39.0",
"@wordpress/scripts": "^31.6.0",
"@wpsyntex/e2e-test-utils": "github:polylang/e2e-test-utils",
"@wpsyntex/polylang-build-scripts": "^2.1.0",
"babel-loader": "^8.4.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.4",
"css-minimizer-webpack-plugin": "^6.0.0",
"mini-css-extract-plugin": "^2.10.1",
"postcss": "^8.5.8",
"rimraf": "^6.1.3",
"sass": "^1.98.0",
"sass-loader": "^16.0.7",
"terser-webpack-plugin": "^5.4.0",
"webpack": "^5.105.4",
"webpack-cli": "^6.0.1"
},
"scripts": {
"build": "npm run clean && webpack --mode production",
"build:dev": "npm run clean && webpack --mode development",
"dev": "npm run clean && webpack --mode development --watch",
"clean": "rimraf js/build css/build",
"env:start": "wp-env start",
"env:start:docker-browser": "node tests/e2e/run-docker-browser.mjs",
"env:stop": "wp-env stop",
"env:clean": "wp-env clean",
"env:composer": "wp-env run tests-cli --env-cwd=wp-content/plugins/polylang composer",
"wp-env": "wp-env",
"test:e2e": "playwright test --config tests/e2e/playwright.config.mjs",
"test:e2e:docker-browser": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:3000/ playwright test --config tests/e2e/playwright.docker-browser.config.mjs",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/polylang vendor/bin/phpunit",
"test:php:multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/polylang bash -c 'WP_MULTISITE=1 vendor/bin/phpunit'",
"test:php:coverage": "npm run env:composer coverage",
"test:php:coverage:multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/polylang bash -c 'WP_MULTISITE=1 composer coverage'",
"lint:js": "wp-scripts lint-js"
}
}