forked from woocommerce/google-listings-and-ads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 5.84 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
{
"name": "google-listings-and-ads",
"title": "Google Listings and Ads",
"version": "2.5.2",
"description": "google-listings-and-ads",
"author": "Automattic",
"license": "GPL-3.0-or-later",
"keywords": [
"WooCommerce",
"Google"
],
"homepage": "https://woocommerce.com/products/google-listings-and-ads/",
"repository": {
"type": "git",
"url": "[email protected]: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",
"@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",
"@types/puppeteer": "^5.4.6",
"@woocommerce/dependency-extraction-webpack-plugin": "^2.0.0",
"@woocommerce/e2e-environment": "^0.3.0",
"@woocommerce/e2e-utils": "^0.2.0",
"@woocommerce/eslint-plugin": "^1.2.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.4.0",
"@wordpress/env": "^8.4.0",
"@wordpress/prettier-config": "^1.1.2",
"@wordpress/scripts": "^24.6.0",
"bundlewatch": "^0.3.3",
"eslint": "^7.17.0",
"eslint-import-resolver-webpack": "^0.13.1",
"eslint-plugin-import": "^2.25.4",
"jest-environment-jsdom": "^27.5.1",
"path-browserify": "^1.0.1",
"prettier": "npm:[email protected]",
"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?9eb10353728dc915bf5f7bdd4b8e218c625355a9",
"woocommerce-grow-storybook": "https://gitpkg.now.sh/woocommerce/grow/packages/js/storybook?fecfad52db350afd3550842e2374dee8dbc587ea"
},
"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 && 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",
"dewps:woo": "node bin/list-woo-dewped.mjs",
"doc:hooks": "php bin/HooksDocsGenerator.php",
"doc:tracking": "woocommerce-grow-jsdoc ./js/src",
"docker:up": "WP_VERSION=6.1 npx wc-e2e docker:up",
"docker:down": "npx wc-e2e docker:down",
"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 `cat .externalized.json | sed 's/[][\",]/ /g'` || 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",
"start:hot": "npm run dev -- --config ./webpack-development.config.js && npm start -- --hot --allowed-hosts all",
"storybook": "storybook",
"storybook:build": "storybook build",
"storybook:deploy": "storybook deploy",
"test:e2e": "npx wc-e2e test:e2e",
"test:e2e-dev": "npx wc-e2e test:e2e-dev",
"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"
},
"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": "1.74 kB"
},
{
"path": "./js/build/index.js",
"maxSize": "248 kB"
},
{
"path": "./js/build/*.css",
"maxSize": "364 B"
},
{
"path": "./js/build/index.css",
"maxSize": "15.4 kB"
},
{
"path": "./google-listings-and-ads.zip",
"maxSize": "11.8 mB",
"compression": "none"
}
],
"ci": {
"trackBranches": [
"trunk",
"develop"
]
}
},
"engines": {
"node": "^14",
"npm": "^6"
}
}