woocommerce/plugins/woocommerce-blocks/package.json

89 lines
2.9 KiB
JSON
Raw Normal View History

{
"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": {
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
"start": "cross-env BABEL_ENV=default webpack --watch",
"i18n:php": "pot-to-php ./languages/woo-gutenberg-products-block.pot ./languages/woo-gutenberg-products-block.php woo-gutenberg-products-block",
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "stylelint assets/css",
"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"
},
"devDependencies": {
"@babel/core": "7.2.2",
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.2",
"@wordpress/babel-plugin-makepot": "2.1.2",
"@wordpress/babel-preset-default": "3.0.1",
"@wordpress/blocks": "5.3.1",
"@wordpress/components": "6.0.2",
"@wordpress/date": "2.2.1",
"@wordpress/editor": "7.0.1",
"@wordpress/element": "2.1.8",
"@wordpress/i18n": "3.1.0",
"@wordpress/jest-preset-default": "3.0.3",
"@wordpress/rich-text": "2.0.4",
"@wordpress/scripts": "2.4.4",
"autoprefixer": "9.4.3",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.1",
"babel-loader": "8.0.4",
"clean-webpack-plugin": "1.0.0",
"core-js": "2.6.1",
"cross-env": "5.2.0",
"css-loader": "2.0.1",
"eslint": "5.10.0",
"eslint-config-wordpress": "2.0.0",
"eslint-plugin-jest": "22.1.2",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1",
"eslint-plugin-wordpress": "git://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress.git#1774343f6226052a46b081e01db3fca8793cc9f1",
"har-validator": "5.1.3",
"husky": "1.3.0",
"interpolate-components": "1.1.1",
"lint-staged": "8.1.0",
"mini-css-extract-plugin": "0.5.0",
2018-12-09 02:48:04 +00:00
"node-sass": "4.11.0",
"postcss-loader": "3.0.0",
"react-test-renderer": "16.6.3",
"sass-loader": "7.1.0",
"style-loader": "0.23.1",
"stylelint": "9.9.0",
"stylelint-config-wordpress": "13.1.0",
"webpack": "4.27.1",
"webpack-cli": "3.1.2"
},
"engines": {
"node": "10.14.2",
2018-12-10 22:39:50 +00:00
"npm": "6.5.0"
},
"dependencies": {
"@woocommerce/components": "1.2.0",
"gridicons": "^3.1.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs"
]
}
}
2018-09-05 18:30:46 +00:00
}