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-05-15 07:37:48 +00:00
|
|
|
"version": "2.2.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-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-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 .",
|
2018-11-15 15:45:49 +00:00
|
|
|
"lint:css": "stylelint assets/css",
|
2018-11-16 15:43:51 +00:00
|
|
|
"lint:js": "eslint assets/js --ext=js,jsx",
|
|
|
|
"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"
|
2018-02-13 19:03:53 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-04-29 14:25:19 +00:00
|
|
|
"@babel/core": "7.4.4",
|
2019-03-20 19:04:08 +00:00
|
|
|
"@wordpress/babel-preset-default": "4.1.0",
|
2019-05-21 09:06:12 +00:00
|
|
|
"@wordpress/blocks": "6.2.5",
|
|
|
|
"@wordpress/components": "7.3.2",
|
2019-03-20 19:04:08 +00:00
|
|
|
"@wordpress/date": "3.2.0",
|
2019-05-21 09:06:12 +00:00
|
|
|
"@wordpress/editor": "9.2.5",
|
2019-03-20 19:04:08 +00:00
|
|
|
"@wordpress/element": "2.3.0",
|
|
|
|
"@wordpress/i18n": "3.3.0",
|
2019-03-06 18:50:44 +00:00
|
|
|
"@wordpress/jest-preset-default": "4.0.0",
|
2019-05-21 09:06:12 +00:00
|
|
|
"@wordpress/rich-text": "3.2.3",
|
2019-03-20 19:04:08 +00:00
|
|
|
"@wordpress/scripts": "3.1.0",
|
2019-04-08 18:53:19 +00:00
|
|
|
"autoprefixer": "9.5.1",
|
2018-11-16 15:43:51 +00:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2018-11-15 21:59:05 +00:00
|
|
|
"babel-eslint": "10.0.1",
|
2019-05-13 11:45:16 +00:00
|
|
|
"babel-loader": "8.0.6",
|
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-10 14:37:53 +00:00
|
|
|
"clean-webpack-plugin": "2.0.2",
|
2019-05-21 09:19:08 +00:00
|
|
|
"core-js": "2.6.7",
|
2018-11-13 19:12:32 +00:00
|
|
|
"cross-env": "5.2.0",
|
2019-03-07 16:03:03 +00:00
|
|
|
"css-loader": "2.1.1",
|
2019-02-14 18:00:43 +00:00
|
|
|
"cssnano": "4.1.10",
|
2019-04-01 15:03:46 +00:00
|
|
|
"eslint": "5.16.0",
|
2018-11-15 21:59:05 +00:00
|
|
|
"eslint-config-wordpress": "2.0.0",
|
2019-04-25 14:21:01 +00:00
|
|
|
"eslint-plugin-jest": "22.5.1",
|
2019-02-04 09:24:19 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.1",
|
2019-05-03 14:33:53 +00:00
|
|
|
"eslint-plugin-react": "7.13.0",
|
2018-11-13 19:21:04 +00:00
|
|
|
"eslint-plugin-wordpress": "git://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress.git#1774343f6226052a46b081e01db3fca8793cc9f1",
|
2018-11-27 19:41:06 +00:00
|
|
|
"har-validator": "5.1.3",
|
2019-05-14 20:23:57 +00:00
|
|
|
"husky": "2.3.0",
|
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-05-15 07:48:23 +00:00
|
|
|
"lint-staged": "8.1.7",
|
2019-04-10 19:45:21 +00:00
|
|
|
"mini-css-extract-plugin": "0.6.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-03-28 14:47:40 +00:00
|
|
|
"react-test-renderer": "16.8.6",
|
2019-02-19 21:18:25 +00:00
|
|
|
"rimraf": "2.6.3",
|
2018-11-15 21:59:05 +00:00
|
|
|
"sass-loader": "7.1.0",
|
|
|
|
"style-loader": "0.23.1",
|
2019-04-16 20:20:30 +00:00
|
|
|
"stylelint": "10.0.1",
|
2019-04-18 15:14:56 +00:00
|
|
|
"stylelint-config-wordpress": "14.0.0",
|
2019-05-21 09:09:58 +00:00
|
|
|
"webpack": "4.32.0",
|
2019-05-10 14:38:04 +00:00
|
|
|
"webpack-cli": "3.3.2",
|
2019-05-13 11:45:09 +00:00
|
|
|
"yargs": "13.2.4"
|
2018-02-13 19:03:53 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-03-05 18:13:00 +00:00
|
|
|
"node": "10.15.3",
|
2019-03-06 19:18:39 +00:00
|
|
|
"npm": "6.9.0"
|
2018-11-19 16:33:17 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-04-12 15:47:29 +00:00
|
|
|
"@woocommerce/components": "2.0.0",
|
2019-05-02 15:33:40 +00:00
|
|
|
"gridicons": "3.3.1"
|
2018-11-29 15:23:27 +00:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"linters": {
|
|
|
|
"*.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}",
|
|
|
|
"build/**/*.{js,css}",
|
|
|
|
"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
|
|
|
}
|