2018-02-13 19:03:53 +00:00
|
|
|
{
|
|
|
|
"name": "woocommerceproductsblock",
|
|
|
|
"title": "WooCommerce Products Block",
|
|
|
|
"version": "3.3.0",
|
|
|
|
"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": {
|
2018-11-13 19:12:32 +00:00
|
|
|
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
|
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",
|
2018-11-15 21:59:05 +00:00
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.2",
|
2018-12-04 14:51:21 +00:00
|
|
|
"@wordpress/babel-plugin-makepot": "2.1.2",
|
2018-11-15 21:59:05 +00:00
|
|
|
"@wordpress/babel-preset-default": "3.0.1",
|
2018-11-16 15:43:51 +00:00
|
|
|
"@wordpress/blocks": "5.3.1",
|
2018-11-16 19:32:52 +00:00
|
|
|
"@wordpress/components": "6.0.2",
|
2018-11-16 15:43:51 +00:00
|
|
|
"@wordpress/date": "2.2.1",
|
|
|
|
"@wordpress/editor": "7.0.1",
|
2018-11-16 19:32:52 +00:00
|
|
|
"@wordpress/element": "2.1.8",
|
|
|
|
"@wordpress/i18n": "3.1.0",
|
2018-11-21 16:45:09 +00:00
|
|
|
"@wordpress/jest-preset-default": "3.0.3",
|
2018-11-16 15:43:51 +00:00
|
|
|
"@wordpress/rich-text": "2.0.4",
|
2018-11-21 16:45:09 +00:00
|
|
|
"@wordpress/scripts": "2.4.4",
|
2018-12-17 15:04:50 +00:00
|
|
|
"autoprefixer": "9.4.3",
|
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",
|
|
|
|
"babel-loader": "8.0.4",
|
2018-11-16 19:30:39 +00:00
|
|
|
"clean-webpack-plugin": "1.0.0",
|
2018-12-18 15:50:35 +00:00
|
|
|
"core-js": "2.6.1",
|
2018-11-13 19:12:32 +00:00
|
|
|
"cross-env": "5.2.0",
|
2018-12-14 14:56:26 +00:00
|
|
|
"css-loader": "2.0.1",
|
2018-12-08 16:25:34 +00:00
|
|
|
"eslint": "5.10.0",
|
2018-11-15 21:59:05 +00:00
|
|
|
"eslint-config-wordpress": "2.0.0",
|
2018-12-04 14:52:42 +00:00
|
|
|
"eslint-plugin-jest": "22.1.2",
|
2018-11-15 21:59:05 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.1.2",
|
|
|
|
"eslint-plugin-react": "7.11.1",
|
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",
|
2018-12-18 20:01:38 +00:00
|
|
|
"husky": "1.3.0",
|
2018-11-27 19:41:06 +00:00
|
|
|
"interpolate-components": "1.1.1",
|
2018-11-29 18:09:21 +00:00
|
|
|
"lint-staged": "8.1.0",
|
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",
|
2018-11-28 15:57:34 +00:00
|
|
|
"stylelint": "9.9.0",
|
2018-11-15 21:59:05 +00:00
|
|
|
"stylelint-config-wordpress": "13.1.0",
|
2018-12-20 18:09:05 +00:00
|
|
|
"webpack": "4.28.1",
|
2018-11-15 21:59:05 +00:00
|
|
|
"webpack-cli": "3.1.2"
|
2018-02-13 19:03:53 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2018-12-11 22:28:29 +00:00
|
|
|
"node": "10.14.2",
|
2018-12-10 22:39:50 +00:00
|
|
|
"npm": "6.5.0"
|
2018-11-19 16:33:17 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-12-19 15:55:17 +00:00
|
|
|
"@woocommerce/components": "1.3.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"
|
|
|
|
]
|
|
|
|
}
|
2018-02-13 19:03:53 +00:00
|
|
|
}
|
2018-09-05 18:30:46 +00:00
|
|
|
}
|