115 lines
3.5 KiB
JSON
115 lines
3.5 KiB
JSON
{
|
|
"name": "@woocommerce/block-library",
|
|
"title": "WooCommerce Blocks",
|
|
"author": "Automattic",
|
|
"version": "2.3.0-dev",
|
|
"description": "WooCommerce blocks for the Gutenberg editor.",
|
|
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
|
|
"keywords": [
|
|
"woocommerce",
|
|
"wordpress",
|
|
"blocks"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com:woocommerce/woocommerce-gutenberg-products-block.git"
|
|
},
|
|
"license": "GPL-3.0+",
|
|
"scripts": {
|
|
"prepack": "npm install && npm run lint && npm run test && npm run build",
|
|
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
|
|
"start": "cross-env BABEL_ENV=default webpack --watch --info-verbosity none",
|
|
"lint": "npm run lint:php && npm run lint:css && npm run lint:js",
|
|
"lint:php": "composer run-script phpcs .",
|
|
"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.4.5",
|
|
"@wordpress/babel-preset-default": "4.3.0",
|
|
"@wordpress/blocks": "6.4.0",
|
|
"@wordpress/components": "8.0.0",
|
|
"@wordpress/date": "3.3.0",
|
|
"@wordpress/dependency-extraction-webpack-plugin": "1.0.1",
|
|
"@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",
|
|
"autoprefixer": "9.6.0",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "10.0.2",
|
|
"babel-loader": "8.0.6",
|
|
"chalk": "2.4.2",
|
|
"classnames": "2.2.6",
|
|
"clean-webpack-plugin": "3.0.0",
|
|
"core-js": "3.1.4",
|
|
"cross-env": "5.2.0",
|
|
"css-loader": "3.0.0",
|
|
"cssnano": "4.1.10",
|
|
"eslint": "6.0.1",
|
|
"eslint-config-wordpress": "2.0.0",
|
|
"eslint-plugin-jest": "22.7.1",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-react": "7.14.2",
|
|
"eslint-plugin-wordpress": "git://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress.git#1774343f6226052a46b081e01db3fca8793cc9f1",
|
|
"har-validator": "5.1.3",
|
|
"husky": "2.4.1",
|
|
"interpolate-components": "1.1.1",
|
|
"js-md5": "0.7.3",
|
|
"lint-staged": "8.2.1",
|
|
"mini-css-extract-plugin": "0.7.0",
|
|
"node-sass": "4.12.0",
|
|
"po2json": "1.0.0-alpha",
|
|
"postcss-loader": "3.0.0",
|
|
"progress-bar-webpack-plugin": "1.12.1",
|
|
"react-test-renderer": "16.8.6",
|
|
"rimraf": "2.6.3",
|
|
"sass-loader": "7.1.0",
|
|
"style-loader": "0.23.1",
|
|
"stylelint": "10.1.0",
|
|
"stylelint-config-wordpress": "14.0.0",
|
|
"webpack": "4.35.2",
|
|
"webpack-cli": "3.3.5",
|
|
"yargs": "13.2.4"
|
|
},
|
|
"engines": {
|
|
"node": "10.16.0",
|
|
"npm": "6.9.2"
|
|
},
|
|
"dependencies": {
|
|
"@woocommerce/components": "2.0.0",
|
|
"gridicons": "3.3.1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"*.php": [
|
|
"php -d display_errors=1 -l",
|
|
"composer run-script phpcs"
|
|
]
|
|
}
|
|
},
|
|
"browserslist": [
|
|
"last 1 version",
|
|
"not dead"
|
|
],
|
|
"files": [
|
|
"assets/**/*.{js,scss,php}",
|
|
"build/**/*.{js,json,css}",
|
|
"includes/**/*.php",
|
|
"languages/**/*.json",
|
|
"license.txt",
|
|
"woocommerce-gutenberg-products-block.php"
|
|
]
|
|
}
|