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",
|
2019-11-19 19:08:55 +00:00
|
|
|
"version": "2.6.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",
|
|
|
|
"./assets/js/atomic/blocks/product/**"
|
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": {
|
|
|
|
"deploy": "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",
|
|
|
|
"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 .",
|
|
|
|
"lint:css": "stylelint 'assets/**/*.scss'",
|
|
|
|
"lint:css-fix": "stylelint 'assets/**/*.scss' --fix",
|
|
|
|
"lint:js": "eslint assets/js --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:watch": "npm run test -- --watch",
|
2019-12-11 16:30:54 +00:00
|
|
|
"size-check": "bundlewatch",
|
2019-09-05 15:09:31 +00:00
|
|
|
"changelog": "node ./bin/changelog.js "
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-12-11 09:11:17 +00:00
|
|
|
"@babel/core": "7.7.5",
|
2019-11-27 10:18:53 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "7.7.4",
|
2019-11-13 08:48:43 +00:00
|
|
|
"@octokit/rest": "16.35.0",
|
2019-12-10 17:17:46 +00:00
|
|
|
"@wordpress/babel-preset-default": "4.7.0",
|
|
|
|
"@wordpress/blocks": "6.8.0",
|
2019-09-05 15:09:31 +00:00
|
|
|
"@wordpress/browserslist-config": "2.6.0",
|
2019-12-10 17:17:46 +00:00
|
|
|
"@wordpress/components": "8.4.0",
|
|
|
|
"@wordpress/data-controls": "1.4.0",
|
|
|
|
"@wordpress/date": "3.6.0",
|
|
|
|
"@wordpress/dependency-extraction-webpack-plugin": "2.1.0",
|
|
|
|
"@wordpress/editor": "9.8.0",
|
|
|
|
"@wordpress/element": "2.9.0",
|
|
|
|
"@wordpress/i18n": "3.7.0",
|
|
|
|
"@wordpress/is-shallow-equal": "1.6.1",
|
|
|
|
"@wordpress/jest-preset-default": "5.2.0",
|
|
|
|
"@wordpress/rich-text": "3.8.0",
|
2019-12-11 09:09:53 +00:00
|
|
|
"@wordpress/scripts": "6.0.0",
|
2019-12-04 08:04:44 +00:00
|
|
|
"autoprefixer": "9.7.3",
|
2019-09-05 15:09:31 +00:00
|
|
|
"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",
|
|
|
|
"babel-preset-env": "1.7.0",
|
2019-12-11 16:30:54 +00:00
|
|
|
"bundlewatch": "^0.2.5",
|
2019-12-10 17:17:46 +00:00
|
|
|
"chalk": "3.0.0",
|
2019-09-05 15:09:31 +00:00
|
|
|
"classnames": "2.2.6",
|
|
|
|
"clean-webpack-plugin": "3.0.0",
|
2019-12-11 09:11:12 +00:00
|
|
|
"core-js": "3.4.8",
|
2019-10-09 08:32:05 +00:00
|
|
|
"cross-env": "6.0.3",
|
2019-12-11 09:10:56 +00:00
|
|
|
"css-loader": "3.3.0",
|
2019-09-05 15:09:31 +00:00
|
|
|
"cssnano": "4.1.10",
|
2019-10-28 13:53:09 +00:00
|
|
|
"deep-freeze": "0.0.1",
|
2019-12-04 08:04:22 +00:00
|
|
|
"eslint": "6.7.2",
|
2019-11-26 05:36:56 +00:00
|
|
|
"eslint-config-prettier": "6.7.0",
|
2019-12-10 17:17:46 +00:00
|
|
|
"eslint-plugin-jest": "23.1.1",
|
2019-09-05 15:09:31 +00:00
|
|
|
"har-validator": "5.1.3",
|
|
|
|
"husky": "2.4.1",
|
|
|
|
"ignore-loader": "0.1.2",
|
|
|
|
"js-md5": "0.7.3",
|
2019-12-10 17:17:46 +00:00
|
|
|
"lint-staged": "9.5.0",
|
2019-09-05 15:09:31 +00:00
|
|
|
"mini-css-extract-plugin": "0.8.0",
|
2019-11-26 05:37:57 +00:00
|
|
|
"node-sass": "4.13.0",
|
2019-09-05 15:09:31 +00:00
|
|
|
"postcss-loader": "3.0.0",
|
2019-12-10 17:17:46 +00:00
|
|
|
"prettier": "npm:wp-prettier@1.19.1",
|
2019-09-05 15:09:31 +00:00
|
|
|
"progress-bar-webpack-plugin": "1.12.1",
|
|
|
|
"promptly": "3.0.3",
|
2019-11-26 05:38:12 +00:00
|
|
|
"react-test-renderer": "16.12.0",
|
2019-11-27 09:36:34 +00:00
|
|
|
"request-promise": "4.2.5",
|
2019-09-05 15:09:31 +00:00
|
|
|
"rimraf": "3.0.0",
|
|
|
|
"sass-loader": "7.3.1",
|
2019-12-10 17:17:46 +00:00
|
|
|
"style-loader": "1.0.1",
|
|
|
|
"stylelint": "12.0.0",
|
|
|
|
"stylelint-config-wordpress": "13.1.0",
|
|
|
|
"webpack": "4.41.2",
|
|
|
|
"webpack-cli": "3.3.10",
|
2019-09-05 15:09:31 +00:00
|
|
|
"webpack-rtl-plugin": "2.0.0",
|
2019-12-10 17:17:46 +00:00
|
|
|
"yargs": "15.0.2"
|
2019-09-05 15:09:31 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-10-23 08:17:36 +00:00
|
|
|
"node": "10.17.0",
|
2019-09-13 21:49:25 +00:00
|
|
|
"npm": "6.11.3"
|
2019-09-05 15:09:31 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-12-02 19:53:36 +00:00
|
|
|
"@woocommerce/components": "4.0.0",
|
2019-10-16 08:41:15 +00:00
|
|
|
"compare-versions": "3.5.1",
|
2019-12-18 09:23:36 +00:00
|
|
|
"downshift": "3.4.8",
|
2019-11-08 16:30:11 +00:00
|
|
|
"eslint-plugin-woocommerce": "file:bin/eslint-plugin-woocommerce",
|
2019-09-05 15:09:31 +00:00
|
|
|
"gridicons": "3.3.1",
|
2019-10-30 12:13:50 +00:00
|
|
|
"react-number-format": "4.3.1",
|
2019-11-15 14:41:23 +00:00
|
|
|
"trim-html": "0.1.9",
|
2019-12-10 17:17:46 +00:00
|
|
|
"use-debounce": "3.3.0"
|
2019-09-05 15:09:31 +00:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2019-12-11 16:30:54 +00:00
|
|
|
"bundlewatch": {
|
|
|
|
"files": [
|
|
|
|
{
|
|
|
|
"path": "./build/*.js",
|
|
|
|
"maxSize": "200 kB"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./build/*frontend*.js",
|
|
|
|
"maxSize": "60 kB"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./build/*.css",
|
|
|
|
"maxSize": "50kB"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./build/vendors*.js",
|
|
|
|
"maxSize": "350 kb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-09-05 15:09:31 +00:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"assets/**/*.{js,scss,php}",
|
|
|
|
"build/**/*.{js,json,css}",
|
|
|
|
"includes/**/*.php",
|
|
|
|
"languages/**/*.json",
|
|
|
|
"license.txt",
|
|
|
|
"woocommerce-gutenberg-products-block.php"
|
|
|
|
]
|
2018-09-05 18:30:46 +00:00
|
|
|
}
|