2023-09-27 20:38:56 +00:00
|
|
|
{
|
|
|
|
"name": "@woocommerce/block-templates",
|
|
|
|
"version": "1.0.0-beta.0",
|
|
|
|
"description": "Utilities for working with block templates in WooCommerce admin.",
|
|
|
|
"author": "Automattic",
|
|
|
|
"license": "GPL-2.0-or-later",
|
|
|
|
"keywords": [
|
|
|
|
"wordpress",
|
|
|
|
"woocommerce"
|
|
|
|
],
|
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/block-templates/README.md",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
|
|
},
|
|
|
|
"main": "build/index.js",
|
|
|
|
"module": "build-module/index.js",
|
|
|
|
"types": "build-types",
|
|
|
|
"react-native": "src/index",
|
|
|
|
"sideEffects": [
|
|
|
|
"build-style/**",
|
|
|
|
"src/**/*.scss"
|
|
|
|
],
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-10-18 15:37:10 +00:00
|
|
|
"@woocommerce/expression-evaluation": "workspace:*",
|
2023-09-27 20:38:56 +00:00
|
|
|
"@wordpress/block-editor": "^9.8.0",
|
2023-10-18 15:58:31 +00:00
|
|
|
"@wordpress/blocks": "^12.3.0",
|
2023-10-18 17:31:46 +00:00
|
|
|
"@wordpress/data": "wp-6.0",
|
2023-10-18 15:58:31 +00:00
|
|
|
"@wordpress/element": "wp-6.0"
|
2023-09-27 20:38:56 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.21.3",
|
|
|
|
"@babel/runtime": "^7.17.2",
|
|
|
|
"@testing-library/jest-dom": "^5.16.2",
|
|
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
|
|
"@types/jest": "^27.4.1",
|
2023-10-18 16:07:23 +00:00
|
|
|
"@types/react": "^17.0.2",
|
2023-09-27 20:38:56 +00:00
|
|
|
"@types/testing-library__jest-dom": "^5.14.3",
|
|
|
|
"@types/wordpress__block-editor": "^7.0.0",
|
|
|
|
"@types/wordpress__blocks": "^11.0.7",
|
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
|
|
|
"@woocommerce/internal-js-tests": "workspace:*",
|
|
|
|
"@woocommerce/internal-style-build": "workspace:*",
|
|
|
|
"@wordpress/browserslist-config": "wp-6.0",
|
|
|
|
"copy-webpack-plugin": "^9.1.0",
|
|
|
|
"css-loader": "^3.6.0",
|
|
|
|
"eslint": "^8.32.0",
|
|
|
|
"jest": "^27.5.1",
|
|
|
|
"jest-cli": "^27.5.1",
|
|
|
|
"postcss": "^8.4.7",
|
|
|
|
"postcss-loader": "^4.3.0",
|
2023-10-18 16:07:23 +00:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
2023-09-27 20:38:56 +00:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"sass-loader": "^10.2.1",
|
|
|
|
"ts-jest": "^27.1.3",
|
|
|
|
"typescript": "^5.1.6",
|
|
|
|
"webpack": "^5.70.0",
|
|
|
|
"webpack-cli": "^3.3.12"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"turbo:build": "pnpm run build:js && pnpm run build:css",
|
|
|
|
"turbo:test": "jest --config ./jest.config.json",
|
|
|
|
"prepare": "composer install",
|
|
|
|
"changelog": "composer exec -- changelogger",
|
|
|
|
"clean": "pnpm exec rimraf tsconfig.tsbuildinfo build build-*",
|
|
|
|
"build": "pnpm -w exec turbo run turbo:build --filter=$npm_package_name",
|
2023-10-06 22:41:47 +00:00
|
|
|
"test": "pnpm test:js",
|
|
|
|
"test:js": "pnpm -w exec turbo run turbo:test --filter=$npm_package_name",
|
2023-09-27 20:38:56 +00:00
|
|
|
"lint": "eslint --output-file eslint_report.json --format json src",
|
|
|
|
"build:js": "tsc --project tsconfig.json && tsc --project tsconfig-cjs.json",
|
|
|
|
"build:css": "webpack",
|
|
|
|
"start": "concurrently \"tsc --project tsconfig.json --watch\" \"tsc --project tsconfig-cjs.json --watch\" \"webpack --watch\"",
|
|
|
|
"prepack": "pnpm run clean && pnpm run build",
|
|
|
|
"lint:fix": "eslint src --fix"
|
2023-10-18 16:07:23 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"@types/react": "^17.0.2",
|
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2"
|
2023-09-27 20:38:56 +00:00
|
|
|
}
|
|
|
|
}
|