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-07-11 10:03:16 +00:00
|
|
|
"version": "2.4.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-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",
|
|
|
|
"test:watch": "npm run test -- --watch"
|
2018-02-13 19:03:53 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-07-18 09:16:30 +00:00
|
|
|
"@babel/core": "7.5.5",
|
2019-06-12 18:14:07 +00:00
|
|
|
"@wordpress/babel-preset-default": "4.3.0",
|
|
|
|
"@wordpress/blocks": "6.4.0",
|
2019-06-12 18:31:11 +00:00
|
|
|
"@wordpress/components": "8.0.0",
|
2019-05-23 14:57:33 +00:00
|
|
|
"@wordpress/date": "3.3.0",
|
2019-06-12 15:50:57 +00:00
|
|
|
"@wordpress/dependency-extraction-webpack-plugin": "1.0.1",
|
2019-06-12 18:14:07 +00:00
|
|
|
"@wordpress/editor": "9.4.0",
|
|
|
|
"@wordpress/element": "2.5.0",
|
|
|
|
"@wordpress/i18n": "3.5.0",
|
|
|
|
"@wordpress/jest-preset-default": "4.2.0",
|
|
|
|
"@wordpress/rich-text": "3.4.0",
|
|
|
|
"@wordpress/scripts": "3.3.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-06-17 14:25:09 +00:00
|
|
|
"babel-eslint": "10.0.2",
|
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-30 14:17:00 +00:00
|
|
|
"clean-webpack-plugin": "3.0.0",
|
2019-06-17 09:40:01 +00:00
|
|
|
"core-js": "3.1.4",
|
2018-11-13 19:12:32 +00:00
|
|
|
"cross-env": "5.2.0",
|
2019-07-18 13:21:22 +00:00
|
|
|
"css-loader": "3.1.0",
|
2019-02-14 18:00:43 +00:00
|
|
|
"cssnano": "4.1.10",
|
2019-07-22 14:09:41 +00:00
|
|
|
"eslint": "6.1.0",
|
2018-11-15 21:59:05 +00:00
|
|
|
"eslint-config-wordpress": "2.0.0",
|
2019-07-22 14:03:26 +00:00
|
|
|
"eslint-plugin-jest": "22.13.0",
|
2019-07-01 09:07:30 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
2019-06-25 09:47:37 +00:00
|
|
|
"eslint-plugin-react": "7.14.2",
|
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-06-25 09:20:28 +00:00
|
|
|
"husky": "2.4.1",
|
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-07-11 09:43:44 +00:00
|
|
|
"lint-staged": "9.2.0",
|
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-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-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-07-18 09:15:35 +00:00
|
|
|
"webpack": "4.36.1",
|
2019-07-15 14:27:46 +00:00
|
|
|
"webpack-cli": "3.3.6",
|
2019-07-16 10:28:57 +00:00
|
|
|
"yargs": "13.3.0"
|
2018-02-13 19:03:53 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-05-29 17:18:46 +00:00
|
|
|
"node": "10.16.0",
|
2019-07-12 10:09:57 +00:00
|
|
|
"npm": "6.10.1"
|
2018-11-19 16:33:17 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-07-05 10:48:12 +00:00
|
|
|
"@woocommerce/components": "3.1.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": {
|
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
|
|
|
},
|
2019-06-10 14:24:22 +00:00
|
|
|
"browserslist": [
|
|
|
|
"last 1 version",
|
|
|
|
"not dead"
|
|
|
|
],
|
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
|
|
|
}
|