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",
|
2022-07-19 08:59:47 +00:00
|
|
|
"version": "8.2.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",
|
|
|
|
"./assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/register-components.ts"
|
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",
|
2020-02-11 17:23:23 +00:00
|
|
|
"build:e2e-test": "npm run build",
|
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'",
|
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",
|
2020-04-06 09:00:47 +00:00
|
|
|
"lint:php": "composer run-script phpcs ./src",
|
2021-11-22 09:43:13 +00:00
|
|
|
"lint:php-fix": "composer run-script phpcbf ./src",
|
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",
|
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",
|
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",
|
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",
|
2022-05-18 12:58:22 +00:00
|
|
|
"test:php": "npm run wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/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",
|
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": {
|
2022-07-19 07:38:57 +00:00
|
|
|
"@actions/core": "1.9.0",
|
|
|
|
"@actions/github": "5.0.3",
|
2021-03-17 21:51:28 +00:00
|
|
|
"@automattic/color-studio": "2.5.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@babel/cli": "7.18.6",
|
|
|
|
"@babel/core": "7.18.6",
|
|
|
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
|
|
"@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",
|
2021-11-24 04:49:55 +00:00
|
|
|
"@octokit/graphql": "4.8.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@storybook/addon-a11y": "6.5.9",
|
|
|
|
"@storybook/addon-essentials": "6.5.9",
|
|
|
|
"@storybook/addon-links": "6.5.9",
|
|
|
|
"@storybook/addon-storysource": "6.5.9",
|
|
|
|
"@storybook/addons": "6.5.9",
|
|
|
|
"@storybook/client-api": "6.5.9",
|
|
|
|
"@storybook/react": "6.5.9",
|
2022-04-13 15:59:14 +00:00
|
|
|
"@testing-library/jest-dom": "5.16.4",
|
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-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",
|
2022-07-25 12:52:12 +00:00
|
|
|
"@types/react": "17.0.47",
|
2022-06-22 10:10:00 +00:00
|
|
|
"@types/react-dom": "17.0.17",
|
2022-05-04 04:02:30 +00:00
|
|
|
"@types/wordpress__block-editor": "6.0.6",
|
2022-07-29 12:02:02 +00:00
|
|
|
"@types/wordpress__blocks": "11.0.5",
|
2021-12-08 05:51:31 +00:00
|
|
|
"@types/wordpress__compose": "4.0.1",
|
2022-05-12 17:06:36 +00:00
|
|
|
"@types/wordpress__data": "4.6.11",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@types/wordpress__data-controls": "2.2.0",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.30.5",
|
|
|
|
"@typescript-eslint/parser": "5.30.5",
|
2021-06-30 02:19:14 +00:00
|
|
|
"@woocommerce/api": "0.2.0",
|
2022-03-16 02:20:32 +00:00
|
|
|
"@woocommerce/e2e-utils": "0.2.0",
|
2022-04-08 13:47:19 +00:00
|
|
|
"@woocommerce/eslint-plugin": "2.0.0",
|
2020-06-05 16:49:07 +00:00
|
|
|
"@woocommerce/woocommerce-rest-api": "1.0.1",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/api-fetch": "6.9.0",
|
|
|
|
"@wordpress/babel-preset-default": "6.14.0",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@wordpress/base-styles": "4.0.4",
|
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",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/browserslist-config": "4.1.2",
|
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",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@wordpress/dom": "3.2.7",
|
2022-07-18 09:38:49 +00:00
|
|
|
"@wordpress/e2e-test-utils": "7.8.0",
|
|
|
|
"@wordpress/e2e-tests": "4.6.0",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@wordpress/element": "4.0.4",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/env": "4.9.0",
|
|
|
|
"@wordpress/html-entities": "3.12.0",
|
|
|
|
"@wordpress/i18n": "4.12.0",
|
|
|
|
"@wordpress/is-shallow-equal": "4.12.0",
|
|
|
|
"@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-07-19 07:38:57 +00:00
|
|
|
"commander": "9.3.0",
|
2022-02-02 02:17:49 +00:00
|
|
|
"copy-webpack-plugin": "6.4.1",
|
2022-07-19 07:38:57 +00:00
|
|
|
"core-js": "3.23.3",
|
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",
|
|
|
|
"follow-redirects": "1.15.1",
|
|
|
|
"fs-extra": "10.1.0",
|
|
|
|
"gh-pages": "4.0.0",
|
|
|
|
"github-label-sync": "2.2.0",
|
2021-06-09 02:02:49 +00:00
|
|
|
"glob": "7.1.7",
|
2022-07-19 07:38:57 +00:00
|
|
|
"glob-promise": "4.2.2",
|
2019-09-05 15:09:31 +00:00
|
|
|
"husky": "2.4.1",
|
|
|
|
"ignore-loader": "0.1.2",
|
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",
|
2022-07-19 07:38:57 +00:00
|
|
|
"lint-staged": "13.0.3",
|
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",
|
2021-02-10 03:22:45 +00:00
|
|
|
"mini-css-extract-plugin": "1.3.6",
|
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",
|
2022-07-19 07:38:57 +00:00
|
|
|
"wp-types": "3.60.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-07-19 07:38:57 +00:00
|
|
|
"@wordpress/autop": "3.12.0",
|
|
|
|
"@wordpress/compose": "5.5.0",
|
|
|
|
"@wordpress/deprecated": "3.12.0",
|
2021-12-07 15:47:50 +00:00
|
|
|
"@wordpress/icons": "6.1.1",
|
2022-07-19 07:38:57 +00:00
|
|
|
"@wordpress/notices": "3.12.0",
|
|
|
|
"@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",
|
|
|
|
"@wordpress/url": "3.13.0",
|
|
|
|
"@wordpress/wordcount": "3.12.0",
|
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",
|
2021-10-29 18:42:18 +00:00
|
|
|
"dinero.js": "1.9.1",
|
2021-09-22 04:00:47 +00:00
|
|
|
"downshift": "6.1.7",
|
2021-01-06 16:21:54 +00:00
|
|
|
"html-react-parser": "0.14.3",
|
2022-05-12 15:52:03 +00:00
|
|
|
"react-number-format": "4.9.3",
|
2021-11-24 02:14:41 +00:00
|
|
|
"reakit": "1.3.11",
|
2022-07-19 07:38:57 +00:00
|
|
|
"snakecase-keys": "5.4.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
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
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
|
|
|
}
|