-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
177 lines (177 loc) · 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
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
177
{
"name": "google-listings-and-ads",
"title": "Google for WooCommerce",
"version": "2.8.2",
"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": "^10.3.0",
"@woocommerce/currency": "^4.2.0",
"@woocommerce/customer-effort-score": "^2.2.0",
"@woocommerce/data": "^4.1.0",
"@woocommerce/date": "^4.2.0",
"@woocommerce/navigation": "8.1.0",
"@woocommerce/number": "^2.4.0",
"@woocommerce/tracks": "^1.3.0",
"@wordpress/api-fetch": "^6.19.0",
"@wordpress/base-styles": "^4.13.0",
"@wordpress/components": "^19.17.0",
"@wordpress/compose": "^5.20.0",
"@wordpress/data": "^6.15.0",
"@wordpress/data-controls": "^2.22.0",
"@wordpress/date": "^4.22.0",
"@wordpress/dom": "^3.22.0",
"@wordpress/element": "^4.20.0",
"@wordpress/hooks": "^3.22.0",
"@wordpress/html-entities": "^3.22.0",
"@wordpress/i18n": "^4.22.0",
"@wordpress/icons": "^8.4.0",
"@wordpress/primitives": "^3.20.0",
"@wordpress/url": "^3.23.0",
"classnames": "^2.3.1",
"gridicons": "^3.3.1",
"libphonenumber-js": "1.9.22",
"lodash": "^4.17.20",
"prop-types": "^15.7.2",
"rememo": "^3.0.0"
},
"devDependencies": {
"@hapi/h2o2": "^9.1.0",
"@hapi/hapi": "^20.2.2",
"@playwright/test": "^1.42.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@woocommerce/dependency-extraction-webpack-plugin": "^2.3.0",
"@woocommerce/eslint-plugin": "^1.2.0",
"@wordpress/env": "^9.4.0",
"@wordpress/jest-preset-default": "^11.9.0",
"@wordpress/prettier-config": "2.18.1",
"@wordpress/scripts": "^24.6.0",
"axios": "^1.6.0",
"bundlewatch": "^0.3.3",
"eslint": "^7.17.0",
"eslint-import-resolver-webpack": "^0.13.1",
"eslint-plugin-import": "^2.25.4",
"jest": "^29.6.2",
"jest-environment-jsdom": "^27.5.1",
"mini-css-extract-plugin": "^2.7.6",
"path-browserify": "^1.0.1",
"prettier": "npm:wp-prettier@2.6.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"stylelint-config-standard-scss": "^3.0.0",
"woocommerce-grow-jsdoc": "https://gitpkg.now.sh/woocommerce/grow/packages/js/jsdoc?eabdb5c3e6f089499a9bc62ec2e5e2251d7b23ca"
},
"overrides": {
"engine.io-client": {
"xmlhttprequest-ssl@<1.6.2": "1.6.2",
"ws@<6.2.2": "6.2.2"
},
"socket.io-client": {
"debug@<4.3.1": "4.3.1"
}
},
"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": "^16 || ^18",
"npm": "^8 || ^9"
}
}