2018-02-13 19:03:53 +00:00
|
|
|
{
|
2019-01-15 21:43:18 +00:00
|
|
|
"name": "woocommerce-product-blocks",
|
|
|
|
"title": "WooCommerce Blocks",
|
|
|
|
"version": "1.3.0",
|
2018-02-13 19:03:53 +00:00
|
|
|
"homepage": "https://woocommerce.com/",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com:woocommerce/woocommerce-gutenberg-products-block.git"
|
|
|
|
},
|
|
|
|
"license": "GPL-3.0+",
|
|
|
|
"main": "Gruntfile.js",
|
|
|
|
"scripts": {
|
2019-01-30 15:31:05 +00:00
|
|
|
"postinstall": "composer install",
|
2019-01-17 16:58:53 +00:00
|
|
|
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack && npm run i18n:php",
|
2018-11-13 19:21:04 +00:00
|
|
|
"start": "cross-env BABEL_ENV=default webpack --watch",
|
2018-12-04 14:51:21 +00:00
|
|
|
"i18n:php": "pot-to-php ./languages/woo-gutenberg-products-block.pot ./languages/woo-gutenberg-products-block.php woo-gutenberg-products-block",
|
2018-11-15 15:45:49 +00:00
|
|
|
"lint": "npm run lint:css && npm run lint:js",
|
|
|
|
"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": {
|
2018-12-15 16:47:54 +00:00
|
|
|
"@babel/core": "7.2.2",
|
2019-01-10 01:39:51 +00:00
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
|
|
|
|
"@wordpress/babel-plugin-makepot": "2.1.3",
|
|
|
|
"@wordpress/babel-preset-default": "3.0.2",
|
2018-11-16 15:43:51 +00:00
|
|
|
"@wordpress/blocks": "5.3.1",
|
2019-01-29 19:18:34 +00:00
|
|
|
"@wordpress/components": "7.0.8",
|
2019-01-17 15:31:01 +00:00
|
|
|
"@wordpress/date": "3.0.1",
|
2018-11-16 15:43:51 +00:00
|
|
|
"@wordpress/editor": "7.0.1",
|
2019-01-10 01:39:51 +00:00
|
|
|
"@wordpress/element": "2.1.9",
|
|
|
|
"@wordpress/i18n": "3.1.1",
|
2018-11-21 16:45:09 +00:00
|
|
|
"@wordpress/jest-preset-default": "3.0.3",
|
2019-01-29 19:18:34 +00:00
|
|
|
"@wordpress/rich-text": "3.0.7",
|
2019-01-10 01:39:51 +00:00
|
|
|
"@wordpress/scripts": "2.5.0",
|
2019-01-29 17:46:25 +00:00
|
|
|
"autoprefixer": "9.4.7",
|
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-01-04 16:37:42 +00:00
|
|
|
"babel-loader": "8.0.5",
|
2019-01-13 17:28:41 +00:00
|
|
|
"classnames": "2.2.6",
|
2019-01-22 12:33:55 +00:00
|
|
|
"clean-webpack-plugin": "1.0.1",
|
2019-01-22 12:49:15 +00:00
|
|
|
"core-js": "2.6.3",
|
2018-11-13 19:12:32 +00:00
|
|
|
"cross-env": "5.2.0",
|
2019-01-03 18:27:23 +00:00
|
|
|
"css-loader": "2.1.0",
|
2019-01-10 18:16:37 +00:00
|
|
|
"cssnano": "4.1.8",
|
2019-01-18 22:05:13 +00:00
|
|
|
"eslint": "5.12.1",
|
2018-11-15 21:59:05 +00:00
|
|
|
"eslint-config-wordpress": "2.0.0",
|
2019-01-09 15:18:30 +00:00
|
|
|
"eslint-plugin-jest": "22.1.3",
|
2019-01-29 17:42:52 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.0",
|
2019-01-17 15:35:57 +00:00
|
|
|
"eslint-plugin-react": "7.12.4",
|
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-01-03 18:28:02 +00:00
|
|
|
"husky": "1.3.1",
|
2018-11-27 19:41:06 +00:00
|
|
|
"interpolate-components": "1.1.1",
|
2019-01-29 17:46:03 +00:00
|
|
|
"lint-staged": "8.1.1",
|
2018-12-08 16:24:47 +00:00
|
|
|
"mini-css-extract-plugin": "0.5.0",
|
2018-12-09 02:48:04 +00:00
|
|
|
"node-sass": "4.11.0",
|
2018-11-15 21:59:05 +00:00
|
|
|
"postcss-loader": "3.0.0",
|
2018-12-20 15:25:53 +00:00
|
|
|
"react-test-renderer": "16.7.0",
|
2018-11-15 21:59:05 +00:00
|
|
|
"sass-loader": "7.1.0",
|
|
|
|
"style-loader": "0.23.1",
|
2019-01-21 15:53:03 +00:00
|
|
|
"stylelint": "9.10.1",
|
2018-11-15 21:59:05 +00:00
|
|
|
"stylelint-config-wordpress": "13.1.0",
|
2019-01-21 15:53:26 +00:00
|
|
|
"webpack": "4.29.0",
|
2019-01-07 15:04:55 +00:00
|
|
|
"webpack-cli": "3.2.1"
|
2018-02-13 19:03:53 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-01-03 18:28:32 +00:00
|
|
|
"node": "10.15.0",
|
2019-01-24 10:56:00 +00:00
|
|
|
"npm": "6.7.0"
|
2018-11-19 16:33:17 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-01-16 23:58:37 +00:00
|
|
|
"@woocommerce/components": "1.4.0",
|
2018-12-04 00:17:22 +00:00
|
|
|
"gridicons": "^3.1.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": [
|
|
|
|
"assets/**",
|
|
|
|
"build/**",
|
|
|
|
"includes/**",
|
|
|
|
"languages/**",
|
|
|
|
"license.txt",
|
|
|
|
"readme.txt",
|
|
|
|
"woocommerce-gutenberg-products-block.php"
|
|
|
|
]
|
2018-09-05 18:30:46 +00:00
|
|
|
}
|