-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
62 lines (62 loc) · 2.6 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
{
"name": "woocommerce-square",
"description": "Square for WooCommerce.",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "git://github.com/woocommerce/woocommerce-square.git"
},
"title": "WooCommerce Square",
"version": "4.8.5",
"homepage": "https://woocommerce.com/products/woocommerce-square/",
"scripts": {
"build": "composer install --no-dev && npm run build:webpack && npm run makepot && npm run archive",
"build:dev": "composer install && npm run build:webpack",
"build:webpack": "rimraf build/* && wp-scripts build",
"build-watch:webpack": "rimraf build/* && wp-scripts start",
"lint:js": "wp-scripts lint-js src/ --ext js",
"lint:js:fix": "wp-scripts lint-js src/ --ext js --fix",
"phpcompat": "./vendor/bin/phpcs --standard=phpcs-compat.xml.dist -p .",
"update-deps": "npm install -g rimraf && rimraf node_modules && rimraf npm-shrinkwrap.json && npm install && npm shrinkwrap --dev",
"makepot": "wpi18n makepot --domain-path i18n/languages --pot-file woocommerce-square.pot --type plugin --main-file woocommerce-square.php --exclude node_modules,tests,docs",
"archive": "composer archive --file=$npm_package_name --format=zip",
"postarchive": "rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name",
"woorelease": "npm run build",
"env": "wp-env",
"env:install-plugins": "./tests/bin/install-plugins.sh",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:clean": "wp-env clean",
"env:destroy": "wp-env destroy",
"test:e2e": "npx playwright test --config=tests/e2e/config/playwright.config.js",
"postenv:start": "bash ./tests/e2e/config/env-post-setup.sh"
},
"devDependencies": {
"@playwright/test": "^1.44.1",
"@woocommerce/dependency-extraction-webpack-plugin": "^3.0.1",
"@woocommerce/e2e-utils-playwright": "^0.2.1",
"@woocommerce/eslint-plugin": "^2.3.0",
"@wordpress/env": "^10.0.0",
"@wordpress/scripts": "^24.6.0",
"copy-webpack-plugin": "^12.0.2",
"dotenv": "^16.4.5",
"node-wp-i18n": "^1.2.7"
},
"engines": {
"node": ">=20",
"npm": ">=10"
},
"config": {
"wp_org_slug": "woocommerce-square"
},
"dependencies": {
"@codeamp/block-components": "^0.0.1-beta.13",
"@woocommerce/product-editor": "^1.4.0",
"@woocommerce/tracks": "^1.3.0",
"@wordpress/data": "^7.6.0",
"@wordpress/i18n": "^5.6.0",
"@wordpress/icons": "^10.1.0",
"html-react-parser": "^5.1.10",
"uuid": "^9.0.1"
}
}