2018-02-13 19:03:53 +00:00
|
|
|
{
|
2019-09-05 15:09:31 +00:00
|
|
|
"name": "@woocommerce/block-library",
|
|
|
|
"title": "WooCommerce Blocks",
|
|
|
|
"author": "Automattic",
|
2023-07-18 19:37:00 +00:00
|
|
|
"version": "10.8.0-dev",
|
2019-09-05 15:09:31 +00:00
|
|
|
"description": "WooCommerce blocks for the Gutenberg editor.",
|
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
|
|
|
|
"keywords": [
|
|
|
|
"woocommerce",
|
|
|
|
"wordpress",
|
|
|
|
"blocks"
|
|
|
|
],
|
2019-12-11 14:58:49 +00:00
|
|
|
"sideEffects": [
|
|
|
|
"*.css",
|
2019-12-17 17:32:08 +00:00
|
|
|
"*.scss",
|
2020-06-05 12:18:16 +00:00
|
|
|
"./assets/js/atomic/blocks/**",
|
2020-03-27 20:56:48 +00:00
|
|
|
"./assets/js/filters/**",
|
2021-07-22 11:03:00 +00:00
|
|
|
"./assets/js/middleware/**",
|
2022-02-01 11:14:16 +00:00
|
|
|
"./assets/js/blocks/checkout/inner-blocks/**/index.tsx",
|
|
|
|
"./assets/js/blocks/checkout/inner-blocks/register-components.ts",
|
2022-04-01 13:45:18 +00:00
|
|
|
"./assets/js/blocks/cart/inner-blocks/**/index.tsx",
|
|
|
|
"./assets/js/blocks/cart/inner-blocks/register-components.ts",
|
2022-04-07 13:47:58 +00:00
|
|
|
"./assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/**/index.tsx",
|
2022-08-15 19:25:53 +00:00
|
|
|
"./assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/register-components.ts",
|
2022-10-07 15:00:19 +00:00
|
|
|
"./assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx",
|
2022-12-22 14:35:24 +00:00
|
|
|
"./assets/js/blocks/cart-checkout-shared/view-switcher/index.tsx",
|
2022-10-14 03:25:02 +00:00
|
|
|
"./assets/js/blocks/filter-wrapper/register-components.ts",
|
|
|
|
"./assets/js/blocks/product-query/variations/**.tsx",
|
|
|
|
"./assets/js/blocks/product-query/index.tsx",
|
2023-05-16 11:59:49 +00:00
|
|
|
"./assets/js/blocks/product-query/inspector-controls.tsx",
|
|
|
|
"./assets/js/templates/revert-button/index.tsx"
|
2019-12-11 14:58:49 +00:00
|
|
|
],
|
2019-09-05 15:09:31 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com:woocommerce/woocommerce-gutenberg-products-block.git"
|
|
|
|
},
|
|
|
|
"license": "GPL-3.0+",
|
|
|
|
"scripts": {
|
2022-01-28 11:40:23 +00:00
|
|
|
"analyze-bundles": "cross-env WP_BUNDLE_ANALYZER=1 npm run build",
|
2020-07-07 09:05:06 +00:00
|
|
|
"build": "rimraf build/* && cross-env BABEL_ENV=default NODE_ENV=production webpack",
|
2022-02-02 14:56:16 +00:00
|
|
|
"build:check-assets": "rimraf build/* && cross-env ASSET_CHECK=true BABEL_ENV=default NODE_ENV=production webpack",
|
2020-11-25 20:33:23 +00:00
|
|
|
"build:deploy": "rimraf vendor/* && cross-env WOOCOMMERCE_BLOCKS_PHASE=2 composer install --no-dev && cross-env WOOCOMMERCE_BLOCKS_PHASE=2 npm run build --loglevel error",
|
2022-02-02 14:27:46 +00:00
|
|
|
"prebuild:docs": "rimraf docs/extensibility/actions.md & rimraf docs/extensibility/filters.md",
|
2021-10-13 09:45:59 +00:00
|
|
|
"build:docs": "./vendor/bin/wp-hooks-generator --input=src --output=bin/hook-docs/data && node ./bin/hook-docs",
|
2022-04-05 14:22:56 +00:00
|
|
|
"postbuild:docs": "./bin/add-doc-footer.sh",
|
2020-04-06 09:00:47 +00:00
|
|
|
"changelog": "node ./bin/changelog",
|
|
|
|
"changelog:zenhub": "node ./bin/changelog --changelogSrcType='ZENHUB_RELEASE'",
|
2023-03-20 17:07:15 +00:00
|
|
|
"change-versions": "source ./bin/change-versions.sh",
|
2020-07-22 16:36:55 +00:00
|
|
|
"deploy": "npm run build:deploy && sh ./bin/github-deploy.sh",
|
2020-07-07 09:05:06 +00:00
|
|
|
"dev": "rimraf build/* && cross-env BABEL_ENV=default webpack",
|
2020-11-27 20:41:36 +00:00
|
|
|
"labels:dry": "github-label-sync --labels ./.github/label-sync-config.json --allow-added-labels --dry-run woocommerce/woocommerce-gutenberg-products-block",
|
|
|
|
"labels:sync": "github-label-sync --labels ./.github/label-sync-config.json --allow-added-labels woocommerce/woocommerce-gutenberg-products-block",
|
2020-12-28 10:41:46 +00:00
|
|
|
"fix-package-lock": "./bin/fix-package-lock.sh",
|
2019-09-05 15:09:31 +00:00
|
|
|
"lint": "npm run lint:php && npm run lint:css && npm run lint:js",
|
2020-04-06 09:00:47 +00:00
|
|
|
"lint:ci": "npm run lint:js && npm run lint:css",
|
2021-12-03 09:07:51 +00:00
|
|
|
"lint:css": "stylelint '**/*.scss'",
|
|
|
|
"lint:css-fix": "stylelint '**/*.scss' --fix",
|
2021-02-24 01:36:24 +00:00
|
|
|
"lint:js": "wp-scripts lint-js --ext=js,ts,tsx",
|
|
|
|
"lint:js:report": "npm run lint:js -- --output-file eslint_report.json --ext=js,ts,tsx --format json",
|
|
|
|
"lint:js-fix": "eslint assets/js --ext=js,jsx,ts,tsx --fix",
|
2022-06-09 12:43:17 +00:00
|
|
|
"lint:md:docs": "wp-scripts lint-md-docs",
|
2022-09-21 06:29:16 +00:00
|
|
|
"lint:php": "composer run-script phpcs ./src && composer run-script phpcs ./tests/mocks/woo-test-helper",
|
|
|
|
"lint:php-fix": "composer run-script phpcbf ./src && composer run-script phpcbf ./tests/mocks/woo-test-helper",
|
2020-11-25 20:33:23 +00:00
|
|
|
"package-plugin": "rimraf woocommerce-gutenberg-products-block.zip && ./bin/build-plugin-zip.sh",
|
|
|
|
"package-plugin:dev": "rimraf woocommerce-gutenberg-products-block.zip && ./bin/build-plugin-zip.sh -d",
|
|
|
|
"package-plugin:zip-only": "rimraf woocommerce-gutenberg-products-block.zip && ./bin/build-plugin-zip.sh -z",
|
2020-07-22 16:36:55 +00:00
|
|
|
"package-plugin:deploy": "npm run build:deploy && npm run package-plugin:zip-only",
|
2022-06-07 12:09:50 +00:00
|
|
|
"postinstall": "patch-package",
|
2023-04-21 20:51:56 +00:00
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"prepare": "husky install",
|
2019-09-05 15:09:31 +00:00
|
|
|
"reformat-files": "prettier --ignore-path .eslintignore --write \"**/*.{js,jsx,json,ts,tsx}\"",
|
2020-04-06 09:00:47 +00:00
|
|
|
"release": "sh ./bin/wordpress-deploy.sh",
|
2023-04-20 14:46:01 +00:00
|
|
|
"rimraf": "./node_modules/rimraf/bin.js",
|
2021-04-08 12:31:12 +00:00
|
|
|
"start": "rimraf build/* && cross-env BABEL_ENV=default CHECK_CIRCULAR_DEPS=true webpack --watch --info-verbosity none",
|
2020-04-06 09:00:47 +00:00
|
|
|
"storybook": "start-storybook -c ./storybook -p 6006 --ci",
|
2021-12-01 11:28:27 +00:00
|
|
|
"storybook:build": "BABEL_ENV=development build-storybook -c ./storybook -o ./storybook/dist",
|
2021-06-21 09:58:57 +00:00
|
|
|
"storybook:deploy": "rimraf ./storybook/dist/* && npm run storybook:build && gh-pages -d ./storybook/dist",
|
2019-09-05 15:09:31 +00:00
|
|
|
"test": "wp-scripts test-unit-js --config tests/js/jest.config.json",
|
2022-03-09 15:37:36 +00:00
|
|
|
"test:debug": "ndb .",
|
2022-06-13 09:15:29 +00:00
|
|
|
"test:e2e": "npm run wp-env:config && cross-env JEST_PUPPETEER_CONFIG=tests/e2e/config/jest-puppeteer.config.js NODE_CONFIG_DIR=tests/e2e/config wp-scripts test-e2e --config tests/e2e/config/jest.config.js",
|
2022-07-18 09:38:49 +00:00
|
|
|
"test:e2e-dev": "npm run wp-env:config && cross-env JEST_PUPPETEER_CONFIG=tests/e2e/config/jest-puppeteer.config-dev.js NODE_CONFIG_DIR=tests/e2e/config wp-scripts test-e2e --config tests/e2e/config/jest.config.js",
|
|
|
|
"test:e2e-dev-watch": "npm run wp-env:config && cross-env JEST_PUPPETEER_CONFIG=tests/e2e/config/jest-puppeteer.config-dev.js NODE_CONFIG_DIR=tests/e2e/config wp-scripts test-e2e --config tests/e2e/config/jest.config.js --watch",
|
2022-06-13 09:15:29 +00:00
|
|
|
"test:e2e:update": "npm run wp-env:config && cross-env JEST_PUPPETEER_CONFIG=tests/e2e/config/jest-puppeteer.config.js NODE_CONFIG_DIR=tests/e2e/config wp-scripts test-e2e --config tests/e2e/config/jest.config.js --updateSnapshot",
|
2023-04-17 12:01:41 +00:00
|
|
|
"test:e2e-pw": "npx playwright test --config=tests/e2e-pw/playwright.config.ts",
|
|
|
|
"env:start": "npm run wp-env start && ./tests/e2e-pw/bin/test-env-setup.sh",
|
|
|
|
"env:restart": "npm run wp-env clean all && npm run wp-env start && ./tests/e2e-pw/bin/test-env-setup.sh",
|
|
|
|
"env:stop": "npm run wp-env stop",
|
2020-04-06 09:00:47 +00:00
|
|
|
"test:help": "wp-scripts test-unit-js --help",
|
2022-04-15 08:34:18 +00:00
|
|
|
"test:performance": "npm run wp-env:config && cross-env NODE_CONFIG_DIR=tests/e2e/config wp-scripts test-e2e --config tests/e2e/config/jest.performance.config.js -- performance",
|
2023-06-01 12:42:23 +00:00
|
|
|
"test:php": "wp-env run --env-cwd='wp-content/plugins/${PWD##*/}' tests-wordpress vendor/bin/phpunit -c phpunit.xml.dist",
|
2020-04-06 09:00:47 +00:00
|
|
|
"test:update": "wp-scripts test-unit-js --updateSnapshot --config tests/js/jest.config.json",
|
2020-06-17 20:28:11 +00:00
|
|
|
"test:watch": "npm run test -- --watch",
|
2021-02-24 01:36:24 +00:00
|
|
|
"ts:check": "tsc --build",
|
2022-11-02 10:41:10 +00:00
|
|
|
"ts:log-errors": "npm --silent run ts:check | npx -y @bartekbp/typescript-checkstyle > checkstyle.xml",
|
2020-06-17 20:28:11 +00:00
|
|
|
"wp-env": "wp-env",
|
2022-02-23 12:00:45 +00:00
|
|
|
"wp-env:config": "./bin/wp-env-pre-config.sh"
|
2019-09-05 15:09:31 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-04-20 12:44:28 +00:00
|
|
|
"@actions/core": "1.10.0",
|
2023-04-20 14:46:01 +00:00
|
|
|
"@actions/github": "5.1.1",
|
2021-03-17 21:51:28 +00:00
|
|
|
"@automattic/color-studio": "2.5.0",
|
2022-07-29 12:46:31 +00:00
|
|
|
"@babel/cli": "7.18.9",
|
|
|
|
"@babel/core": "7.18.9",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
2023-01-26 11:39:25 +00:00
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.20.7",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@babel/plugin-syntax-jsx": "7.18.6",
|
2020-10-21 13:30:00 +00:00
|
|
|
"@babel/polyfill": "7.12.1",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@babel/preset-typescript": "7.18.6",
|
2022-11-02 10:41:10 +00:00
|
|
|
"@bartekbp/typescript-checkstyle": "5.0.0",
|
2023-04-20 12:44:28 +00:00
|
|
|
"@octokit/action": "5.0.2",
|
2023-04-20 17:55:37 +00:00
|
|
|
"@octokit/graphql": "5.0.5",
|
2023-04-17 12:01:41 +00:00
|
|
|
"@playwright/test": "1.32.3",
|
2023-03-26 19:17:18 +00:00
|
|
|
"@storybook/addon-a11y": "6.5.16",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@storybook/addon-essentials": "6.5.9",
|
|
|
|
"@storybook/addon-links": "6.5.9",
|
|
|
|
"@storybook/addon-storysource": "6.5.9",
|
|
|
|
"@storybook/addons": "6.5.9",
|
2022-12-13 10:32:19 +00:00
|
|
|
"@storybook/client-api": "6.5.14",
|
2023-01-10 16:17:18 +00:00
|
|
|
"@storybook/react": "6.5.15",
|
2023-05-23 07:28:40 +00:00
|
|
|
"@testing-library/dom": "9.3.0",
|
2023-03-13 08:30:10 +00:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
2022-04-14 10:19:41 +00:00
|
|
|
"@testing-library/react": "12.1.5",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@testing-library/react-hooks": "7.0.2",
|
|
|
|
"@testing-library/user-event": "13.5.0",
|
2021-06-30 05:07:59 +00:00
|
|
|
"@types/classnames": "2.3.0",
|
2021-10-29 18:42:18 +00:00
|
|
|
"@types/dinero.js": "1.9.0",
|
2022-09-26 16:16:44 +00:00
|
|
|
"@types/dompurify": "2.3.4",
|
2022-03-23 08:00:13 +00:00
|
|
|
"@types/gtag.js": "0.0.10",
|
2022-07-28 13:51:44 +00:00
|
|
|
"@types/jest": "27.5.2",
|
2022-06-13 09:15:29 +00:00
|
|
|
"@types/jest-environment-puppeteer": "5.0.2",
|
2022-03-02 04:39:06 +00:00
|
|
|
"@types/jquery": "3.5.14",
|
2022-05-02 10:43:45 +00:00
|
|
|
"@types/lodash": "4.14.182",
|
2022-05-02 11:49:23 +00:00
|
|
|
"@types/puppeteer": "5.4.6",
|
2023-03-26 14:26:27 +00:00
|
|
|
"@types/react": "18.0.29",
|
2023-01-10 15:35:29 +00:00
|
|
|
"@types/react-dom": "18.0.10",
|
2023-04-05 12:43:03 +00:00
|
|
|
"@types/react-transition-group": "^4.4.5",
|
2022-05-04 04:02:30 +00:00
|
|
|
"@types/wordpress__block-editor": "6.0.6",
|
2023-03-03 11:42:50 +00:00
|
|
|
"@types/wordpress__blocks": "11.0.9",
|
2023-01-09 18:21:09 +00:00
|
|
|
"@types/wordpress__components": "^23.0.0",
|
2022-08-12 14:23:08 +00:00
|
|
|
"@types/wordpress__core-data": "^2.4.5",
|
2023-02-14 13:21:48 +00:00
|
|
|
"@types/wordpress__data": "^6.0.2",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@types/wordpress__data-controls": "2.2.0",
|
2022-08-12 14:23:08 +00:00
|
|
|
"@types/wordpress__editor": "^11.0.0",
|
2022-11-17 13:33:58 +00:00
|
|
|
"@types/wordpress__notices": "^3.5.0",
|
2023-06-07 09:29:15 +00:00
|
|
|
"@types/wordpress__wordcount": "^2.4.2",
|
2023-03-27 17:13:38 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.56.0",
|
2022-09-05 08:49:33 +00:00
|
|
|
"@typescript-eslint/parser": "5.35.1",
|
2021-06-30 02:19:14 +00:00
|
|
|
"@woocommerce/api": "0.2.0",
|
2022-08-12 14:23:08 +00:00
|
|
|
"@woocommerce/data": "^4.1.0",
|
2022-03-16 02:20:32 +00:00
|
|
|
"@woocommerce/e2e-utils": "0.2.0",
|
2022-11-11 19:14:18 +00:00
|
|
|
"@woocommerce/eslint-plugin": "2.2.0",
|
2020-06-05 16:49:07 +00:00
|
|
|
"@woocommerce/woocommerce-rest-api": "1.0.1",
|
2023-01-11 10:14:51 +00:00
|
|
|
"@wordpress/api-fetch": "6.21.0",
|
2023-05-05 14:35:44 +00:00
|
|
|
"@wordpress/babel-preset-default": "7.16.0",
|
2023-01-05 19:10:49 +00:00
|
|
|
"@wordpress/base-styles": "4.14.0",
|
2022-03-10 10:00:23 +00:00
|
|
|
"@wordpress/block-editor": "8.2.0",
|
2022-01-21 12:09:07 +00:00
|
|
|
"@wordpress/blocks": "11.1.5",
|
2023-04-18 12:51:47 +00:00
|
|
|
"@wordpress/browserslist-config": "5.14.0",
|
2021-12-15 03:18:45 +00:00
|
|
|
"@wordpress/components": "19.1.5",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@wordpress/data-controls": "2.2.7",
|
2021-08-05 09:26:00 +00:00
|
|
|
"@wordpress/dependency-extraction-webpack-plugin": "3.2.1",
|
2023-03-06 20:50:15 +00:00
|
|
|
"@wordpress/dom": "3.27.0",
|
2023-04-03 13:02:36 +00:00
|
|
|
"@wordpress/e2e-test-utils": "10.1.0",
|
2023-05-05 11:03:36 +00:00
|
|
|
"@wordpress/e2e-test-utils-playwright": "https://github.com/woocommerce/woocommerce-blocks/files/11286971/wordpress-e2e-test-utils-playwright-0.0.0.tgz",
|
|
|
|
"@wordpress/e2e-tests": "^4.6.0",
|
2022-12-13 13:09:43 +00:00
|
|
|
"@wordpress/element": "4.20.0",
|
2023-05-23 15:45:40 +00:00
|
|
|
"@wordpress/env": "7.0.0",
|
2023-01-03 21:08:45 +00:00
|
|
|
"@wordpress/html-entities": "3.24.0",
|
2023-01-03 18:59:47 +00:00
|
|
|
"@wordpress/i18n": "4.24.0",
|
2023-01-11 11:38:26 +00:00
|
|
|
"@wordpress/is-shallow-equal": "4.24.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/prettier-config": "1.4.0",
|
2022-03-28 13:00:20 +00:00
|
|
|
"@wordpress/scripts": "22.3.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"autoprefixer": "10.4.7",
|
|
|
|
"axios": "0.27.2",
|
2022-03-28 13:00:20 +00:00
|
|
|
"babel-plugin-explicit-exports-references": "^1.0.2",
|
2021-12-08 03:25:48 +00:00
|
|
|
"babel-plugin-react-docgen": "4.2.1",
|
2021-12-01 11:28:27 +00:00
|
|
|
"babel-plugin-transform-async-generator-functions": "6.24.1",
|
|
|
|
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
|
|
|
"babel-plugin-transform-react-jsx": "6.24.1",
|
2019-09-05 15:09:31 +00:00
|
|
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
2021-08-04 02:38:44 +00:00
|
|
|
"chalk": "4.1.2",
|
2021-04-18 21:29:11 +00:00
|
|
|
"circular-dependency-plugin": "5.2.2",
|
2022-09-05 10:34:07 +00:00
|
|
|
"commander": "9.4.0",
|
2022-02-02 02:17:49 +00:00
|
|
|
"copy-webpack-plugin": "6.4.1",
|
2022-09-05 10:17:12 +00:00
|
|
|
"core-js": "3.25.0",
|
2020-02-24 12:52:24 +00:00
|
|
|
"create-file-webpack": "1.0.2",
|
2022-06-09 08:26:23 +00:00
|
|
|
"cross-env": "7.0.3",
|
2022-07-19 07:38:57 +00:00
|
|
|
"cssnano": "5.1.12",
|
2019-10-28 13:53:09 +00:00
|
|
|
"deep-freeze": "0.0.1",
|
2022-07-19 07:38:57 +00:00
|
|
|
"eslint-import-resolver-typescript": "3.2.4",
|
2021-11-09 14:27:57 +00:00
|
|
|
"eslint-import-resolver-webpack": "0.13.2",
|
2022-07-19 07:38:57 +00:00
|
|
|
"eslint-plugin-import": "2.26.0",
|
2020-01-24 12:00:11 +00:00
|
|
|
"eslint-plugin-woocommerce": "file:bin/eslint-plugin-woocommerce",
|
2022-01-21 12:09:07 +00:00
|
|
|
"eslint-plugin-you-dont-need-lodash-underscore": "6.12.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"expect-puppeteer": "6.1.1",
|
2023-06-14 13:32:19 +00:00
|
|
|
"fast-xml-parser": "4.2.4",
|
2022-07-19 07:38:57 +00:00
|
|
|
"follow-redirects": "1.15.1",
|
|
|
|
"fs-extra": "10.1.0",
|
|
|
|
"gh-pages": "4.0.0",
|
|
|
|
"github-label-sync": "2.2.0",
|
2023-03-07 19:19:18 +00:00
|
|
|
"glob": "7.2.3",
|
2022-07-19 07:38:57 +00:00
|
|
|
"glob-promise": "4.2.2",
|
2023-04-18 12:03:02 +00:00
|
|
|
"husky": "8.0.3",
|
2019-09-05 15:09:31 +00:00
|
|
|
"ignore-loader": "0.1.2",
|
2023-05-03 11:09:12 +00:00
|
|
|
"jest": "^29.5.0",
|
2022-06-13 09:15:29 +00:00
|
|
|
"jest-circus": "27.5.1",
|
2022-07-19 07:38:57 +00:00
|
|
|
"jest-environment-puppeteer": "6.1.1",
|
2020-05-21 15:10:11 +00:00
|
|
|
"jest-fetch-mock": "3.0.3",
|
2022-07-19 07:38:57 +00:00
|
|
|
"jest-html-reporters": "3.0.10",
|
2021-10-20 03:04:30 +00:00
|
|
|
"json2md": "1.12.0",
|
2023-03-26 20:28:02 +00:00
|
|
|
"lint-staged": "13.2.0",
|
2021-05-12 12:04:44 +00:00
|
|
|
"lodash": "4.17.21",
|
2022-07-19 07:38:57 +00:00
|
|
|
"markdown-it": "13.0.1",
|
2020-01-30 10:53:22 +00:00
|
|
|
"merge-config": "2.0.0",
|
2022-08-04 10:05:44 +00:00
|
|
|
"mini-css-extract-plugin": "1.6.2",
|
2022-06-07 12:09:50 +00:00
|
|
|
"patch-package": "6.4.7",
|
2022-07-19 07:38:57 +00:00
|
|
|
"postcss": "8.4.14",
|
2021-04-21 13:24:11 +00:00
|
|
|
"postcss-loader": "4.2.0",
|
2022-06-15 09:56:52 +00:00
|
|
|
"prettier": "npm:wp-prettier@2.6.2",
|
2020-07-07 09:05:06 +00:00
|
|
|
"progress-bar-webpack-plugin": "2.1.0",
|
2020-11-11 18:02:29 +00:00
|
|
|
"promptly": "3.2.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"puppeteer": "15.3.2",
|
|
|
|
"react-docgen": "5.4.3",
|
2021-06-09 02:11:20 +00:00
|
|
|
"react-test-renderer": "17.0.2",
|
2020-07-23 13:42:26 +00:00
|
|
|
"request-promise": "4.2.6",
|
2020-07-08 01:10:23 +00:00
|
|
|
"rimraf": "3.0.2",
|
2021-01-07 12:40:00 +00:00
|
|
|
"sass-loader": "10.1.0",
|
2021-12-08 03:25:48 +00:00
|
|
|
"storybook-addon-react-docgen": "1.2.42",
|
2021-06-29 11:18:29 +00:00
|
|
|
"terser-webpack-plugin": "3.0.3",
|
2022-07-19 07:38:57 +00:00
|
|
|
"typescript": "4.7.4",
|
2021-12-07 15:47:50 +00:00
|
|
|
"utility-types": "3.10.0",
|
2020-09-26 15:30:43 +00:00
|
|
|
"webpack": "4.44.2",
|
2022-02-02 02:17:49 +00:00
|
|
|
"webpack-bundle-analyzer": "4.5.0",
|
2020-08-24 08:33:41 +00:00
|
|
|
"webpack-cli": "3.3.12",
|
2019-09-05 15:09:31 +00:00
|
|
|
"webpack-rtl-plugin": "2.0.0",
|
2023-03-07 19:08:07 +00:00
|
|
|
"wp-types": "3.61.0",
|
2020-01-15 15:19:06 +00:00
|
|
|
"zenhub-api": "0.2.0"
|
2019-09-05 15:09:31 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-12-16 11:19:30 +00:00
|
|
|
"node": "^16.13.0",
|
|
|
|
"npm": "^8.0.0"
|
2019-09-05 15:09:31 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-11-11 16:17:49 +00:00
|
|
|
"@dnd-kit/core": "^6.0.5",
|
|
|
|
"@dnd-kit/modifiers": "^6.0.0",
|
|
|
|
"@dnd-kit/sortable": "^7.0.1",
|
|
|
|
"@dnd-kit/utilities": "^3.2.0",
|
|
|
|
"@emotion/styled": "^11.10.5",
|
2023-01-26 11:39:25 +00:00
|
|
|
"@preact/signals": "^1.1.2",
|
2022-09-06 09:23:05 +00:00
|
|
|
"@wordpress/autop": "3.16.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/compose": "5.5.0",
|
2022-09-06 09:44:10 +00:00
|
|
|
"@wordpress/deprecated": "3.16.0",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@wordpress/icons": "6.1.1",
|
2022-12-13 15:25:23 +00:00
|
|
|
"@wordpress/notices": "3.12.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/plugins": "4.10.0",
|
2022-02-02 02:17:49 +00:00
|
|
|
"@wordpress/primitives": "3.0.4",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/server-side-render": "3.10.0",
|
2023-05-12 12:42:16 +00:00
|
|
|
"@wordpress/style-engine": "^1.15.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/url": "3.13.0",
|
2022-08-03 10:02:10 +00:00
|
|
|
"@wordpress/wordcount": "3.13.0",
|
2023-04-28 10:29:45 +00:00
|
|
|
"change-case": "^4.1.2",
|
2021-06-30 05:07:59 +00:00
|
|
|
"classnames": "2.3.1",
|
2022-07-19 07:38:57 +00:00
|
|
|
"compare-versions": "4.1.3",
|
2022-01-19 03:53:40 +00:00
|
|
|
"config": "3.3.7",
|
2022-07-19 07:38:57 +00:00
|
|
|
"dataloader": "2.1.0",
|
2023-01-26 11:39:25 +00:00
|
|
|
"deepsignal": "^1.1.0",
|
2021-10-29 18:42:18 +00:00
|
|
|
"dinero.js": "1.9.1",
|
2022-09-23 18:48:28 +00:00
|
|
|
"dompurify": "^2.4.0",
|
2021-09-22 04:00:47 +00:00
|
|
|
"downshift": "6.1.7",
|
2023-04-28 10:29:45 +00:00
|
|
|
"fast-deep-equal": "^3.1.3",
|
|
|
|
"fast-sort": "^3.4.0",
|
2022-10-13 11:27:54 +00:00
|
|
|
"html-react-parser": "3.0.4",
|
2023-03-14 12:37:28 +00:00
|
|
|
"postcode-validator": "3.7.0",
|
2023-01-26 11:39:25 +00:00
|
|
|
"preact": "^10.11.3",
|
2022-05-12 15:52:03 +00:00
|
|
|
"react-number-format": "4.9.3",
|
2023-04-05 12:43:03 +00:00
|
|
|
"react-transition-group": "^4.4.5",
|
2021-11-24 02:14:41 +00:00
|
|
|
"reakit": "1.3.11",
|
2023-06-16 10:46:03 +00:00
|
|
|
"request": "2.88.2",
|
2019-11-15 14:41:23 +00:00
|
|
|
"trim-html": "0.1.9",
|
2021-11-26 14:47:37 +00:00
|
|
|
"use-debounce": "7.0.1",
|
2021-12-07 15:47:50 +00:00
|
|
|
"wordpress-components": "npm:@wordpress/components@14.2.0"
|
2019-09-05 15:09:31 +00:00
|
|
|
},
|
2022-03-10 10:00:23 +00:00
|
|
|
"peerDependencies": {
|
|
|
|
"react": "^17.0.0",
|
|
|
|
"react-dom": "^17.0.0"
|
|
|
|
},
|
2022-03-23 07:41:43 +00:00
|
|
|
"optionalDependencies": {
|
|
|
|
"ndb": "1.1.5"
|
|
|
|
},
|
2019-09-05 15:09:31 +00:00
|
|
|
"lint-staged": {
|
|
|
|
"*.scss": [
|
|
|
|
"npm run lint:css"
|
|
|
|
],
|
2021-02-24 01:36:24 +00:00
|
|
|
"*.{js,ts,tsx}": [
|
2019-09-05 15:09:31 +00:00
|
|
|
"prettier --write",
|
|
|
|
"npm run lint:js"
|
|
|
|
],
|
|
|
|
"*.php": [
|
|
|
|
"php -d display_errors=1 -l",
|
|
|
|
"composer run-script phpcs"
|
2022-08-24 13:26:14 +00:00
|
|
|
],
|
|
|
|
"*.md": [
|
|
|
|
"npm run lint:md:docs"
|
2019-09-05 15:09:31 +00:00
|
|
|
]
|
|
|
|
},
|
2020-01-13 15:06:32 +00:00
|
|
|
"changelog": {
|
|
|
|
"labelPrefix": "type:",
|
|
|
|
"skipLabel": "skip-changelog",
|
|
|
|
"defaultPrefix": "dev",
|
2020-01-28 13:47:26 +00:00
|
|
|
"repo": "woocommerce/woocommerce-gutenberg-products-block"
|
2020-01-13 15:06:32 +00:00
|
|
|
},
|
2019-09-05 15:09:31 +00:00
|
|
|
"files": [
|
|
|
|
"assets/**/*.{js,scss,php}",
|
|
|
|
"build/**/*.{js,json,css}",
|
|
|
|
"includes/**/*.php",
|
|
|
|
"languages/**/*.json",
|
|
|
|
"license.txt",
|
|
|
|
"woocommerce-gutenberg-products-block.php"
|
|
|
|
]
|
2020-06-17 13:10:46 +00:00
|
|
|
}
|