-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
60 lines (60 loc) · 2.17 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
{
"name": "woocommerce-google-analytics-integration",
"title": "Google Analytics for WooCommerce",
"version": "2.1.9",
"license": "GPL-2.0",
"homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
"repository": {
"type": "git",
"url": "git://github.com/woocommerce/woocommerce-google-analytics-integration.git"
},
"dependencies": {
"@wordpress/hooks": "^4.0.0",
"@wordpress/i18n": "^5.0.0"
},
"devDependencies": {
"@playwright/test": "^1.43.0",
"@wordpress/env": "^10.0.2",
"@wordpress/eslint-plugin": "^19.0.1",
"@wordpress/scripts": "^30.1.0",
"@wordpress/url": "^4.0.1",
"axios": "^1.7.7",
"eslint": "^8.3.0",
"node-wp-i18n": "~1.2.3",
"prettier": "npm:wp-prettier@^3.0.3"
},
"assets": {
"js": {
"min": "assets/js/*.min.js",
"js": "assets/js/*.js"
}
},
"scripts": {
"dev": "NODE_ENV=development wp-scripts build",
"start": "wp-scripts start",
"makepot": "wpi18n makepot --domain-path languages --pot-file $npm_package_name.pot --type plugin --main-file $npm_package_name.php --exclude node_modules,tests,docs,assets/js/src",
"lint:js": "wp-scripts lint-js",
"lint:php": "vendor/bin/phpcs",
"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",
"build": "NODE_ENV=production wp-scripts build && npm run makepot && npm run archive",
"prebuild": "rm -rf ./vendor",
"test:e2e": "npx playwright test --config=tests/e2e/config/playwright.config.js",
"test:e2e-dev": "npx playwright test --config=tests/e2e/config/playwright.config.js --debug",
"wp-env": "wp-env",
"wp-env:up": "npm run -- wp-env start --update",
"wp-env:down": "npm run wp-env stop"
},
"engines": {
"node": ">=20",
"npm": ">=10 || ^9"
},
"config": {
"wp_org_slug": "woocommerce-google-analytics-integration",
"version_replace_paths": [
"includes",
"tests",
"woocommerce-google-analytics-integration.php"
]
}
}