{ "name": "@woocommerce/block-library", "title": "WooCommerce Blocks", "author": "Automattic", "version": "2.6.0-dev", "description": "WooCommerce blocks for the Gutenberg editor.", "homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/", "keywords": [ "woocommerce", "wordpress", "blocks" ], "sideEffects": [ "*.css", "*.scss", "./assets/js/atomic/blocks/product/**", "./assets/js/filters/**" ], "repository": { "type": "git", "url": "https://github.com:woocommerce/woocommerce-gutenberg-products-block.git" }, "license": "GPL-3.0+", "scripts": { "deploy": "cross-env WOOCOMMERCE_BLOCKS_PHASE=stable composer install --no-dev && npm run build --loglevel error && sh ./bin/github-deploy.sh", "release": "sh ./bin/wordpress-deploy.sh", "build": "cross-env BABEL_ENV=default NODE_ENV=production webpack", "build:ci": "npm run build && npm run size-check && npm run lint:js && npm run lint:css", "build:e2e-test": "npm run build", "docker:up": "docker-compose up -d", "docker:up:build": "docker-compose up --build -d", "docker:down": "docker-compose down", "docker:down:reset": "docker-compose down -v", "docker:clear-all": "docker rmi --force $(docker images -q)", "docker:ssh": "docker exec -it woo-blocks_wordpress-www_1 /bin/bash", "start": "cross-env BABEL_ENV=default webpack --watch --info-verbosity none", "lint": "npm run lint:php && npm run lint:css && npm run lint:js", "lint:php": "composer run-script phpcs ./src", "lint:css": "stylelint 'assets/**/*.scss'", "lint:css-fix": "stylelint 'assets/**/*.scss' --fix", "lint:js": "eslint assets/js bin --ext=js,jsx", "lint:js-fix": "eslint assets/js --ext=js,jsx --fix", "package-plugin": "./bin/build-plugin-zip.sh", "reformat-files": "prettier --ignore-path .eslintignore --write \"**/*.{js,jsx,json,ts,tsx}\"", "test": "wp-scripts test-unit-js --config tests/js/jest.config.json", "test:help": "wp-scripts test-unit-js --help", "test:update": "wp-scripts test-unit-js --updateSnapshot --config tests/js/jest.config.json", "test:e2e": "./tests/bin/e2e-test-integration.js", "test:e2e-dev": "./tests/bin/e2e-test-integration.js --dev", "test:watch": "npm run test -- --watch", "size-check": "bundlewatch", "storybook": "start-storybook -c ./storybook -p 6006 --ci", "build-storybook": "build-storybook -c ./storybook", "changelog": "node ./bin/changelog", "changelog:zenhub": "node ./bin/changelog --changelogSrcType='ZENHUB_RELEASE'" }, "devDependencies": { "@babel/cli": "7.8.4", "@babel/core": "7.8.4", "@babel/plugin-proposal-class-properties": "7.8.3", "@babel/polyfill": "7.8.3", "@babel/preset-env": "7.8.4", "@octokit/graphql": "4.3.1", "@storybook/addon-a11y": "5.3.12", "@storybook/addon-actions": "5.3.12", "@storybook/addon-docs": "5.3.12", "@storybook/addon-knobs": "5.3.12", "@storybook/addon-links": "5.3.12", "@storybook/addon-storysource": "5.3.12", "@storybook/addon-viewport": "5.3.12", "@storybook/addons": "5.3.12", "@storybook/react": "5.3.12", "@wordpress/babel-preset-default": "4.10.0", "@wordpress/base-styles": "1.4.0", "@wordpress/blocks": "6.12.0", "@wordpress/browserslist-config": "2.6.0", "@wordpress/components": "8.5.0", "@wordpress/data-controls": "1.6.0", "@wordpress/dependency-extraction-webpack-plugin": "2.1.0", "@wordpress/editor": "9.10.0", "@wordpress/e2e-test-utils": "4.0.0", "@wordpress/element": "2.10.0", "@wordpress/eslint-plugin": "3.3.0", "@wordpress/html-entities": "2.5.0", "@wordpress/i18n": "3.8.0", "@wordpress/is-shallow-equal": "1.7.0", "@wordpress/jest-preset-default": "5.3.1", "@wordpress/scripts": "6.2.0", "autoprefixer": "9.7.4", "babel-core": "7.0.0-bridge.0", "babel-eslint": "10.0.3", "babel-loader": "8.0.6", "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", "babel-plugin-transform-react-remove-prop-types": "0.4.24", "babel-plugin-transform-runtime": "6.23.0", "bundlewatch": "0.2.5", "chalk": "3.0.0", "clean-webpack-plugin": "3.0.0", "create-file-webpack": "1.0.2", "commander": "4.1.1", "cross-env": "6.0.3", "css-loader": "3.4.2", "cssnano": "4.1.10", "deep-freeze": "0.0.1", "eslint": "6.8.0", "eslint-config-prettier": "6.10.0", "eslint-plugin-jest": "23.7.0", "eslint-plugin-woocommerce": "file:bin/eslint-plugin-woocommerce", "husky": "2.4.1", "ignore-loader": "0.1.2", "jest": "25.1.0", "jest-puppeteer": "4.4.0", "lint-staged": "9.5.0", "merge-config": "2.0.0", "mini-css-extract-plugin": "0.9.0", "node-sass": "4.13.1", "postcss-loader": "3.0.0", "prettier": "npm:wp-prettier@1.19.1", "progress-bar-webpack-plugin": "1.12.1", "promptly": "3.0.3", "puppeteer": "2.1.1", "react-test-renderer": "16.12.0", "request-promise": "4.2.5", "rimraf": "3.0.2", "sass-loader": "7.3.1", "stylelint": "12.0.1", "stylelint-config-wordpress": "13.1.0", "webpack": "4.41.5", "webpack-cli": "3.3.10", "webpack-rtl-plugin": "2.0.0", "woocommerce": "git+https://github.com/woocommerce/woocommerce.git", "zenhub-api": "0.2.0" }, "engines": { "node": "12.16.1", "npm": "6.13.7" }, "dependencies": { "@woocommerce/components": "4.0.0", "classnames": "2.2.6", "compare-versions": "3.6.0", "downshift": "4.1.0", "config": "3.2.5", "react-number-format": "4.3.1", "trim-html": "0.1.9", "use-debounce": "3.3.0", "wordpress-components": "npm:@wordpress/components@8.5.0", "wordpress-element": "npm:@wordpress/element@2.11.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "bundlewatch": { "files": [ { "path": "./build/*.js", "maxSize": "200 kB" }, { "path": "./build/*frontend*.js", "maxSize": "60 kB" }, { "path": "./build/cart-frontend.js", "maxSize": "140 kB" }, { "path": "./build/*.css", "maxSize": "50kB" }, { "path": "./build/vendors*.js", "maxSize": "350 kb" } ] }, "lint-staged": { "*.scss": [ "npm run lint:css" ], "*.js": [ "prettier --write", "npm run lint:js" ], "*.php": [ "php -d display_errors=1 -l", "composer run-script phpcs" ] }, "changelog": { "labelPrefix": "type:", "skipLabel": "skip-changelog", "defaultPrefix": "dev", "repo": "woocommerce/woocommerce-gutenberg-products-block" }, "files": [ "assets/**/*.{js,scss,php}", "build/**/*.{js,json,css}", "includes/**/*.php", "languages/**/*.json", "license.txt", "woocommerce-gutenberg-products-block.php" ] }