-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
176 lines (176 loc) · 6.02 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "google-listings-and-ads",
"title": "Google for WooCommerce",
"version": "2.8.6",
"description": "Google for WooCommerce",
"author": "Automattic",
"license": "GPL-3.0-or-later",
"keywords": [
"WooCommerce",
"Google"
],
"homepage": "https://woocommerce.com/products/google-listings-and-ads/",
"repository": {
"type": "git",
"url": "git@github.com:woocommerce/google-listings-and-ads.git"
},
"bugs": {
"url": "https://github.com/woocommerce/google-listings-and-ads/issues"
},
"dependencies": {
"@woocommerce/components": "^12.3.0",
"@woocommerce/currency": "^4.3.0",
"@woocommerce/customer-effort-score": "^3.0.0",
"@woocommerce/data": "^5.0.0",
"@woocommerce/date": "^4.3.0",
"@woocommerce/navigation": "^8.2.0",
"@woocommerce/number": "^2.5.0",
"@woocommerce/tracks": "^1.4.0",
"@wordpress/api-fetch": "^6.39.13",
"@wordpress/base-styles": "^4.33.13",
"@wordpress/components": "^25.8.14",
"@wordpress/compose": "^6.19.13",
"@wordpress/data": "^9.12.13",
"@wordpress/data-controls": "^3.11.13",
"@wordpress/date": "^4.42.13",
"@wordpress/dom": "^3.42.13",
"@wordpress/element": "^5.19.13",
"@wordpress/hooks": "^3.42.13",
"@wordpress/html-entities": "^3.42.13",
"@wordpress/i18n": "^4.42.13",
"@wordpress/icons": "^9.33.13",
"@wordpress/primitives": "^3.40.13",
"@wordpress/url": "^3.43.13",
"classnames": "^2.5.1",
"gridicons": "^3.4.2",
"libphonenumber-js": "1.9.22",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",
"rememo": "^4.0.2"
},
"devDependencies": {
"@hapi/h2o2": "^10.0.4",
"@hapi/hapi": "^21.3.10",
"@playwright/test": "^1.45.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@woocommerce/dependency-extraction-webpack-plugin": "^3.0.1",
"@woocommerce/eslint-plugin": "^2.3.0",
"@wordpress/env": "^10.4.0",
"@wordpress/jest-preset-default": "^11.29.0",
"@wordpress/prettier-config": "^3.15.0",
"@wordpress/scripts": "^27.9.0",
"axios": "^1.7.2",
"bundlewatch": "^0.4.0",
"eslint": "^8.57.0",
"eslint-import-resolver-webpack": "^0.13.8",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.0",
"path-browserify": "^1.0.1",
"prettier": "npm:wp-prettier@^3.0.3",
"react": "^18",
"react-dom": "^18",
"stylelint-config-standard-scss": "^3.0.0",
"typescript": "^5.5.4",
"woocommerce-grow-jsdoc": "https://gitpkg.now.sh/woocommerce/grow/packages/js/jsdoc?eabdb5c3e6f089499a9bc62ec2e5e2251d7b23ca"
},
"overrides": {
"@woocommerce/eslint-plugin": {
"@wordpress/eslint-plugin@<18.1.0": "^18.1.0"
},
"@woocommerce/components": {
"@woocommerce/csv-export@<1.9.0": "^1.9.0"
}
},
"scripts": {
"prearchive": "rm -rf vendor && composer install --no-dev && composer dump-autoload -o",
"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",
"prebuild": "composer install",
"build": "NODE_ENV=production wp-scripts build --webpack-src-dir=js/src/blocks && npm run i18n",
"postbuild": "npm run archive",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"dev": "NODE_ENV=development wp-scripts build --webpack-src-dir=js/src/blocks",
"doc:tracking": "woocommerce-grow-jsdoc ./js/src",
"format": "wp-scripts format",
"i18n": "WP_CLI_PHP_ARGS='-d memory_limit=2048M' ./vendor/bin/wp i18n make-pot ./ languages/$npm_package_name.pot --slug=$npm_package_name --domain=$npm_package_name --exclude=bin,data,js/src,node_modules,tests,vendor",
"lint": "npm run lint:php && npm run lint:js && npm run lint:css",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:php": "vendor/bin/phpcs",
"lint:php-tests": "vendor/bin/phpcs --standard=tests/phpcs.xml.dist",
"lint:fix:php": "vendor/bin/phpcbf; vendor/bin/phpcbf --standard=tests/phpcs.xml.dist",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"outdated:dewp": "npm outdated --color=always `cat .externalized.json | sed 's/[][\",]/ /g'` | grep -E --color=never \"Depended by|google-listings-and-ads$\" || true",
"outdated:nondewp": "npm outdated --color=always | grep --color=never --invert -E \"^(.\\[31m|.\\[33m)?(`cat .externalized.json | sed 's/[][\"]//g'| sed 's/,/|/g'`)\"",
"packages-update": "wp-scripts packages-update",
"start": "wp-scripts start --webpack-src-dir=js/src/blocks",
"start:hot": "npm run dev -- --config ./webpack-development.config.js && npm start -- --hot --allowed-hosts all",
"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",
"test:js": "wp-scripts test-unit-js --coverage",
"test:js:watch": "npm run test:js -- --watch",
"test-proxy": "node ./tests/proxy",
"wp-env": "wp-env",
"wp-env:up": "npm run -- wp-env start --update",
"wp-env:down": "npm run wp-env stop"
},
"config": {
"wp_org_slug": "google-listings-and-ads",
"version_replace_paths": [
"src",
"views",
"bin",
"uninstall.php",
"google-listings-and-ads.php"
]
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"bundlewatch": {
"files": [
{
"path": "./js/build/*.js",
"maxSize": "10 kB"
},
{
"path": "./js/build/index.js",
"maxSize": "18.05 kB"
},
{
"path": "./js/build/commons.js",
"maxSize": "54.14 kB"
},
{
"path": "./js/build/vendors.js",
"maxSize": "39.37 kB"
},
{
"path": "./js/build/*.css",
"maxSize": "7.5 kB"
},
{
"path": "./google-listings-and-ads.zip",
"maxSize": "8.22 mB",
"compression": "none"
}
],
"ci": {
"trackBranches": [
"trunk",
"develop"
]
}
},
"engines": {
"node": "^20",
"npm": "^10 || ^9"
}
}