-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpackage.json
62 lines (62 loc) · 2.78 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-accommodation-bookings",
"title": "WooCommerce Accommodation Bookings",
"version": "1.3.0",
"config": {
"wp_org_slug": "woocommerce-accommodation-bookings"
},
"homepage": "https://woocommerce.com/products/woocommerce-accommodation-bookings/",
"repository": {
"type": "git",
"url": "https://github.com/woocommerce/woocommerce-accommodation-bookings.git"
},
"description": "An accommodations add-on for the WooCommerce Bookings extension.",
"license": "GPL-3.0+",
"devDependencies": {
"@playwright/test": "^1.44.0",
"@woocommerce/dependency-extraction-webpack-plugin": "^3.0.1",
"@woocommerce/e2e-utils-playwright": "^0.2.1",
"@woocommerce/eslint-plugin": "^2.2.0",
"@woocommerce/woocommerce-rest-api": "^1.0.1",
"@wordpress/env": "^9.10.0",
"@wordpress/prettier-config": "^2.8.0",
"@wordpress/scripts": "^29.0.0",
"mini-css-extract-plugin": "^2.9.0",
"moment": "^2.30.1",
"prettier": "^2.8.3",
"prettier-eslint": "^15.0.1",
"webpack-remove-empty-scripts": "^1.0.4"
},
"scripts": {
"prebuild": "rm -rf ./vendor",
"build": "npm run build:webpack && npm run makepot && npm run archive",
"build:webpack": "wp-scripts build",
"start:webpack": "wp-scripts start",
"build:dev": "composer install && npm run build:webpack && npm run makepot",
"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",
"makepot": "wp i18n make-pot . --exclude=tests,src",
"phpcompat": "./vendor/bin/phpcs --standard=phpcs-compat.xml.dist -p .",
"lint:js": "wp-scripts lint-js src/ --ext=js",
"lint:js-fix": "wp-scripts lint-js src/ --ext=js --fix",
"lint:style": "wp-scripts lint-style",
"lint:style-fix": "wp-scripts lint-style --fix",
"env": "wp-env",
"env:start": "wp-env start",
"env:clean": "wp-env clean",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"postenv:start": "bash ./tests/e2e/bin/initialize.sh",
"env:install-plugins": "bash ./tests/e2e/bin/install-plugins.sh",
"test:e2e": "npx playwright test --config tests/e2e/playwright.config.js",
"test:e2e-local": "export $(cat ./tests/e2e/config/.env | xargs) && npm run test:e2e",
"test:e2e-debug": "npx playwright test --config tests/e2e/playwright.config.js --debug",
"test:e2e-codegen": "npx playwright codegen",
"test:e2e-report": "npx playwright show-report tests/e2e/test-results/playwright-report",
"test:e2e-foundational": "npx playwright test --config tests/e2e/playwright.config.js --grep @foundational"
},
"engines": {
"node": "~16",
"npm": "~8"
}
}