woocommerce/plugins/woocommerce-blocks/package.json

210 lines
7.3 KiB
JSON

{
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "2.6.0-rc1",
"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/**",
"./assets/js/settings/blocks/**",
"./assets/js/middleware/**"
],
"repository": {
"type": "git",
"url": "https://github.com:woocommerce/woocommerce-gutenberg-products-block.git"
},
"license": "GPL-3.0+",
"scripts": {
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
"build:e2e-test": "npm run build",
"build:map": "cross-env BABEL_ENV=default NODE_ENV=production FORCE_MAP=true webpack",
"changelog": "node ./bin/changelog",
"changelog:zenhub": "node ./bin/changelog --changelogSrcType='ZENHUB_RELEASE'",
"deploy": "cross-env WOOCOMMERCE_BLOCKS_PHASE=stable composer install --no-dev && npm run build --loglevel error && sh ./bin/github-deploy.sh",
"dev": "cross-env BABEL_ENV=default webpack",
"explore": "source-map-explorer",
"lint": "npm run lint:php && npm run lint:css && npm run lint:js",
"lint:ci": "npm run lint:js && npm run lint:css",
"lint:css": "stylelint 'assets/**/*.scss'",
"lint:css-fix": "stylelint 'assets/**/*.scss' --fix",
"lint:js": "wp-scripts lint-js",
"lint:js-fix": "eslint assets/js --ext=js,jsx --fix",
"lint:php": "composer run-script phpcs ./src",
"package-plugin": "./bin/build-plugin-zip.sh",
"package-plugin:dev": "./bin/build-plugin-zip.sh -d",
"package-plugin:zip-only": "./bin/build-plugin-zip.sh -z",
"phpunit": "docker-compose up -d db && docker-compose up -d --build wordpress-unit-tests && docker exec -it --workdir /var/www/html/wp-content/plugins/woocommerce-gutenberg-products-block wordpress_test php ./vendor/bin/phpunit",
"reformat-files": "prettier --ignore-path .eslintignore --write \"**/*.{js,jsx,json,ts,tsx}\"",
"release": "sh ./bin/wordpress-deploy.sh",
"start": "cross-env BABEL_ENV=default webpack --watch --info-verbosity none",
"storybook": "start-storybook -c ./storybook -p 6006 --ci",
"storybook:build": "build-storybook -c ./storybook -o ./storybook/dist",
"test": "wp-scripts test-unit-js --config tests/js/jest.config.json",
"test:e2e:down": "docker-compose down",
"test:e2e:down:reset": "docker-compose down -v",
"test:e2e:ssh": "docker exec -it woo-blocks_wordpress-www_1 /bin/bash",
"test:e2e:up": "docker-compose up -d",
"test:e2e:up:build": "docker-compose up --build -d",
"test:e2e": "./tests/bin/e2e-test-integration.js",
"test:e2e-dev": "./tests/bin/e2e-test-integration.js --dev",
"test:e2e:update": "./tests/bin/e2e-test-integration.js -- --updateSnapshot",
"test:help": "wp-scripts test-unit-js --help",
"test:update": "wp-scripts test-unit-js --updateSnapshot --config tests/js/jest.config.json",
"test:watch": "npm run test -- --watch"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.9.6",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/polyfill": "7.8.7",
"@babel/preset-env": "7.9.6",
"@octokit/graphql": "4.4.0",
"@storybook/addon-a11y": "5.3.18",
"@storybook/addon-actions": "5.3.18",
"@storybook/addon-docs": "5.3.18",
"@storybook/addon-knobs": "5.3.18",
"@storybook/addon-links": "5.3.18",
"@storybook/addon-storysource": "5.3.18",
"@storybook/addon-viewport": "5.3.18",
"@storybook/addons": "5.3.18",
"@storybook/react": "5.3.18",
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^10.0.4",
"@types/jest": "25.2.3",
"@types/react": "16.9.35",
"@types/wordpress__data": "4.6.7",
"@types/wordpress__element": "2.4.1",
"@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/e2e-test-utils": "4.3.1",
"@wordpress/editor": "9.10.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.8.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-loader": "8.1.0",
"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",
"chalk": "3.0.0",
"clean-webpack-plugin": "3.0.0",
"commander": "4.1.1",
"create-file-webpack": "1.0.2",
"cross-env": "6.0.3",
"css-loader": "3.5.3",
"cssnano": "4.1.10",
"deep-freeze": "0.0.1",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-jest": "23.13.1",
"eslint-plugin-react-hooks": "4.0.0",
"eslint-plugin-woocommerce": "file:bin/eslint-plugin-woocommerce",
"husky": "2.4.1",
"ignore-loader": "0.1.2",
"jest": "25.5.4",
"jest-fetch-mock": "^3.0.3",
"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.14.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.13.0",
"request-promise": "4.2.5",
"rimraf": "3.0.2",
"sass-loader": "7.3.1",
"source-map-explorer": "2.4.2",
"stylelint": "12.0.1",
"stylelint-config-wordpress": "13.1.0",
"typescript": "3.8.3",
"webpack": "4.42.0",
"webpack-cli": "3.3.11",
"webpack-rtl-plugin": "2.0.0",
"woocommerce": "git+https://github.com/woocommerce/woocommerce.git#release/4.1",
"zenhub-api": "0.2.0"
},
"engines": {
"node": "12.16.3",
"npm": "6.14.4"
},
"dependencies": {
"@stripe/react-stripe-js": "1.1.2",
"@stripe/stripe-js": "1.5.0",
"@woocommerce/components": "4.0.0",
"@wordpress/autop": "2.7.0",
"@wordpress/notices": "2.0.0",
"@wordpress/wordcount": "2.8.0",
"classnames": "2.2.6",
"compare-versions": "3.6.0",
"config": "3.3.1",
"dinero.js": "1.8.1",
"downshift": "4.1.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"react-number-format": "4.4.1",
"reakit": "^1.0.0",
"trim-html": "0.1.9",
"use-debounce": "3.4.0",
"wordpress-components": "npm:@wordpress/components@8.5.0",
"wordpress-compose": "npm:@wordpress/compose@3.13.1",
"wordpress-element": "npm:@wordpress/element@2.11.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"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"
]
}