2018-02-13 19:03:53 +00:00
|
|
|
{
|
2019-03-04 17:30:06 +00:00
|
|
|
"name": "@woocommerce/block-library",
|
2019-01-15 21:43:18 +00:00
|
|
|
"title": "WooCommerce Blocks",
|
2019-03-04 17:30:06 +00:00
|
|
|
"author": "Automattic",
|
2019-08-29 09:46:11 +00:00
|
|
|
"version": "2.5.0-dev",
|
2019-03-04 17:30:06 +00:00
|
|
|
"description": "WooCommerce blocks for the Gutenberg editor.",
|
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
|
|
|
|
"keywords": [
|
|
|
|
"woocommerce",
|
|
|
|
"wordpress",
|
|
|
|
"blocks"
|
|
|
|
],
|
2018-02-13 19:03:53 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com:woocommerce/woocommerce-gutenberg-products-block.git"
|
|
|
|
},
|
|
|
|
"license": "GPL-3.0+",
|
|
|
|
"scripts": {
|
2019-07-11 11:05:20 +00:00
|
|
|
"deploy": "composer install --no-dev && npm run build --loglevel error && sh ./bin/github-deploy.sh",
|
2019-07-04 15:01:06 +00:00
|
|
|
"release": "sh ./bin/wordpress-deploy.sh",
|
2019-03-15 16:55:34 +00:00
|
|
|
"prepack": "npm install && npm run lint && npm run test && npm run build",
|
2019-01-31 20:59:13 +00:00
|
|
|
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
|
2019-08-09 18:08:31 +00:00
|
|
|
"build:ci": "npm run build && npm run size-check && npm run lint:js && npm run lint:css",
|
2019-05-13 12:08:32 +00:00
|
|
|
"start": "cross-env BABEL_ENV=default webpack --watch --info-verbosity none",
|
2019-03-15 16:55:34 +00:00
|
|
|
"lint": "npm run lint:php && npm run lint:css && npm run lint:js",
|
|
|
|
"lint:php": "composer run-script phpcs .",
|
2019-07-09 10:50:09 +00:00
|
|
|
"lint:css": "stylelint 'assets/**/*.scss'",
|
|
|
|
"lint:css-fix": "stylelint 'assets/**/*.scss' --fix",
|
2018-11-16 15:43:51 +00:00
|
|
|
"lint:js": "eslint assets/js --ext=js,jsx",
|
2019-07-09 10:50:09 +00:00
|
|
|
"lint:js-fix": "eslint assets/js --ext=js,jsx --fix",
|
2019-07-09 11:37:25 +00:00
|
|
|
"package-plugin": "./bin/build-plugin-zip.sh",
|
2018-11-16 15:43:51 +00:00
|
|
|
"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",
|
2019-08-09 18:08:31 +00:00
|
|
|
"test:watch": "npm run test -- --watch",
|
2019-08-19 10:46:32 +00:00
|
|
|
"size-check": "bundlesize",
|
|
|
|
"changelog": "node ./bin/changelog.js "
|
2018-02-13 19:03:53 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-07-18 09:16:30 +00:00
|
|
|
"@babel/core": "7.5.5",
|
2019-08-28 10:02:10 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "7.5.5",
|
2019-09-04 08:49:19 +00:00
|
|
|
"@octokit/rest": "16.28.9",
|
2019-08-22 19:01:10 +00:00
|
|
|
"@woocommerce/navigation": "3.0.0",
|
2019-08-08 12:07:34 +00:00
|
|
|
"@wordpress/babel-preset-default": "4.4.0",
|
|
|
|
"@wordpress/blocks": "6.5.0",
|
2019-08-09 16:18:46 +00:00
|
|
|
"@wordpress/browserslist-config": "2.6.0",
|
2019-08-08 12:07:34 +00:00
|
|
|
"@wordpress/components": "8.1.0",
|
|
|
|
"@wordpress/date": "3.4.0",
|
|
|
|
"@wordpress/dependency-extraction-webpack-plugin": "1.1.0",
|
|
|
|
"@wordpress/editor": "9.5.0",
|
|
|
|
"@wordpress/element": "2.6.0",
|
|
|
|
"@wordpress/i18n": "3.6.0",
|
2019-08-28 10:02:10 +00:00
|
|
|
"@wordpress/is-shallow-equal": "1.5.0",
|
2019-08-08 12:07:34 +00:00
|
|
|
"@wordpress/jest-preset-default": "4.3.0",
|
|
|
|
"@wordpress/rich-text": "3.5.0",
|
|
|
|
"@wordpress/scripts": "3.4.0",
|
2019-07-08 13:21:16 +00:00
|
|
|
"autoprefixer": "9.6.1",
|
2018-11-16 15:43:51 +00:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2019-08-28 10:05:01 +00:00
|
|
|
"babel-eslint": "10.0.3",
|
2019-05-13 11:45:16 +00:00
|
|
|
"babel-loader": "8.0.6",
|
2019-08-09 16:18:46 +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-08-13 14:44:07 +00:00
|
|
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
2019-08-09 16:18:46 +00:00
|
|
|
"babel-plugin-transform-runtime": "6.23.0",
|
|
|
|
"babel-preset-env": "1.7.0",
|
2019-08-12 09:05:20 +00:00
|
|
|
"bundlesize": "0.18.0",
|
2019-05-13 13:07:47 +00:00
|
|
|
"chalk": "2.4.2",
|
2019-01-13 17:28:41 +00:00
|
|
|
"classnames": "2.2.6",
|
2019-05-30 14:17:00 +00:00
|
|
|
"clean-webpack-plugin": "3.0.0",
|
2019-08-13 10:40:31 +00:00
|
|
|
"core-js": "3.2.1",
|
2019-09-04 08:50:08 +00:00
|
|
|
"cross-env": "5.2.1",
|
2019-08-08 12:00:03 +00:00
|
|
|
"css-loader": "3.2.0",
|
2019-02-14 18:00:43 +00:00
|
|
|
"cssnano": "4.1.10",
|
2019-09-04 08:51:47 +00:00
|
|
|
"eslint": "6.3.0",
|
2019-09-04 08:56:25 +00:00
|
|
|
"eslint-plugin-jest": "22.16.0",
|
2018-11-27 19:41:06 +00:00
|
|
|
"har-validator": "5.1.3",
|
2019-06-25 09:20:28 +00:00
|
|
|
"husky": "2.4.1",
|
2019-08-15 15:05:26 +00:00
|
|
|
"ignore-loader": "0.1.2",
|
2018-11-27 19:41:06 +00:00
|
|
|
"interpolate-components": "1.1.1",
|
2019-03-13 13:59:12 +00:00
|
|
|
"js-md5": "0.7.3",
|
2019-08-28 10:05:10 +00:00
|
|
|
"lint-staged": "9.2.5",
|
2019-07-17 09:55:48 +00:00
|
|
|
"mini-css-extract-plugin": "0.8.0",
|
2019-04-29 14:25:38 +00:00
|
|
|
"node-sass": "4.12.0",
|
2019-03-13 13:59:12 +00:00
|
|
|
"po2json": "1.0.0-alpha",
|
2018-11-15 21:59:05 +00:00
|
|
|
"postcss-loader": "3.0.0",
|
2019-05-13 13:07:47 +00:00
|
|
|
"progress-bar-webpack-plugin": "1.12.1",
|
2019-08-19 13:29:06 +00:00
|
|
|
"promptly": "3.0.3",
|
2019-03-28 14:47:40 +00:00
|
|
|
"react-test-renderer": "16.8.6",
|
2019-08-19 13:29:06 +00:00
|
|
|
"request-promise": "4.2.4",
|
2019-08-28 10:17:07 +00:00
|
|
|
"rimraf": "3.0.0",
|
2019-08-28 10:06:26 +00:00
|
|
|
"sass-loader": "7.3.1",
|
2019-08-08 12:04:33 +00:00
|
|
|
"style-loader": "1.0.0",
|
2019-06-10 13:30:08 +00:00
|
|
|
"stylelint": "10.1.0",
|
2019-04-18 15:14:56 +00:00
|
|
|
"stylelint-config-wordpress": "14.0.0",
|
2019-08-28 10:02:01 +00:00
|
|
|
"webpack": "4.39.3",
|
2019-08-19 09:28:58 +00:00
|
|
|
"webpack-cli": "3.3.7",
|
2019-09-03 17:55:20 +00:00
|
|
|
"webpack-rtl-plugin": "2.0.0",
|
2019-08-28 10:06:44 +00:00
|
|
|
"yargs": "14.0.0"
|
2018-02-13 19:03:53 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-08-16 15:29:08 +00:00
|
|
|
"node": "10.16.3",
|
2019-08-28 10:06:15 +00:00
|
|
|
"npm": "6.11.2"
|
2018-11-19 16:33:17 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-08-16 06:50:48 +00:00
|
|
|
"@woocommerce/components": "3.2.0",
|
2019-08-15 14:55:57 +00:00
|
|
|
"gridicons": "3.3.1",
|
2019-08-15 15:05:26 +00:00
|
|
|
"trim-html": "0.1.9"
|
2018-11-29 15:23:27 +00:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-07-09 10:50:09 +00:00
|
|
|
"*.scss": [
|
|
|
|
"npm run lint:css"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"npm run lint:js"
|
|
|
|
],
|
2019-07-04 14:12:04 +00:00
|
|
|
"*.php": [
|
|
|
|
"php -d display_errors=1 -l",
|
|
|
|
"composer run-script phpcs"
|
|
|
|
]
|
2019-01-15 21:43:18 +00:00
|
|
|
},
|
|
|
|
"files": [
|
2019-03-04 17:30:06 +00:00
|
|
|
"assets/**/*.{js,scss,php}",
|
2019-06-26 16:37:50 +00:00
|
|
|
"build/**/*.{js,json,css}",
|
2019-03-04 17:30:06 +00:00
|
|
|
"includes/**/*.php",
|
|
|
|
"languages/**/*.json",
|
2019-01-15 21:43:18 +00:00
|
|
|
"license.txt",
|
|
|
|
"woocommerce-gutenberg-products-block.php"
|
|
|
|
]
|
2018-09-05 18:30:46 +00:00
|
|
|
}
|