2023-01-31 13:38:28 +00:00
|
|
|
{
|
|
|
|
"name": "@woocommerce/product-editor",
|
2023-11-28 20:23:08 +00:00
|
|
|
"version": "1.1.0",
|
2023-01-31 13:38:28 +00:00
|
|
|
"description": "React components for the WooCommerce admin product editor.",
|
2023-12-06 19:36:12 +00:00
|
|
|
"author": "Automattic",
|
|
|
|
"license": "GPL-2.0-or-later",
|
2023-01-31 13:38:28 +00:00
|
|
|
"keywords": [
|
|
|
|
"wordpress",
|
|
|
|
"woocommerce"
|
|
|
|
],
|
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/product-editor/README.md",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
2023-12-06 19:36:12 +00:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
|
|
},
|
|
|
|
"main": "build/index.js",
|
|
|
|
"module": "build-module/index.js",
|
|
|
|
"types": "build-types",
|
|
|
|
"react-native": "src/index",
|
2023-01-31 13:38:28 +00:00
|
|
|
"sideEffects": [
|
|
|
|
"build-style/**",
|
|
|
|
"src/**/*.scss"
|
|
|
|
],
|
2023-12-06 19:36:12 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
2023-01-31 13:38:28 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-12-09 15:12:20 +00:00
|
|
|
"@types/lodash": "^4.14.202",
|
|
|
|
"@types/prop-types": "^15.7.11",
|
2023-12-05 08:36:30 +00:00
|
|
|
"@types/wordpress__blocks": "11.0.7",
|
2023-03-22 10:30:06 +00:00
|
|
|
"@woocommerce/admin-layout": "workspace:*",
|
2023-09-27 20:38:56 +00:00
|
|
|
"@woocommerce/block-templates": "workspace:*",
|
2023-01-31 13:38:28 +00:00
|
|
|
"@woocommerce/components": "workspace:*",
|
2023-03-06 17:11:54 +00:00
|
|
|
"@woocommerce/currency": "workspace:*",
|
2023-03-28 17:38:08 +00:00
|
|
|
"@woocommerce/customer-effort-score": "workspace:*",
|
2023-05-03 04:13:48 +00:00
|
|
|
"@woocommerce/data": "workspace:*",
|
2023-03-28 17:38:08 +00:00
|
|
|
"@woocommerce/experimental": "workspace:*",
|
2023-12-09 15:12:20 +00:00
|
|
|
"@woocommerce/navigation": "workspace:^",
|
2023-03-06 17:11:54 +00:00
|
|
|
"@woocommerce/number": "workspace:*",
|
2023-03-17 17:03:10 +00:00
|
|
|
"@woocommerce/settings": "^1.0.0",
|
2023-12-09 15:12:20 +00:00
|
|
|
"@woocommerce/tracks": "workspace:^",
|
2023-04-13 15:45:50 +00:00
|
|
|
"@wordpress/api-fetch": "wp-6.0",
|
2023-03-08 09:51:59 +00:00
|
|
|
"@wordpress/block-editor": "^9.8.0",
|
2023-12-09 15:12:20 +00:00
|
|
|
"@wordpress/blocks": "^12.24.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/components": "wp-6.0",
|
|
|
|
"@wordpress/compose": "wp-6.0",
|
2023-03-13 14:45:25 +00:00
|
|
|
"@wordpress/core-data": "wp-6.0",
|
|
|
|
"@wordpress/data": "wp-6.0",
|
2023-04-11 14:53:37 +00:00
|
|
|
"@wordpress/date": "wp-6.0",
|
2023-09-27 20:38:56 +00:00
|
|
|
"@wordpress/deprecated": "wp-6.0",
|
2023-12-06 19:36:12 +00:00
|
|
|
"@wordpress/edit-post": "wp-6.0",
|
2023-12-07 12:43:27 +00:00
|
|
|
"@wordpress/editor": "wp-6.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/element": "wp-6.0",
|
2023-12-07 12:43:27 +00:00
|
|
|
"@wordpress/hooks": "wp-6.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/html-entities": "wp-6.0",
|
|
|
|
"@wordpress/i18n": "wp-6.0",
|
|
|
|
"@wordpress/icons": "wp-6.0",
|
2023-03-13 14:45:25 +00:00
|
|
|
"@wordpress/interface": "wp-6.0",
|
|
|
|
"@wordpress/keyboard-shortcuts": "wp-6.0",
|
2023-04-18 17:52:28 +00:00
|
|
|
"@wordpress/keycodes": "wp-6.0",
|
2023-03-13 14:45:25 +00:00
|
|
|
"@wordpress/media-utils": "wp-6.0",
|
2023-03-22 10:30:06 +00:00
|
|
|
"@wordpress/plugins": "wp-6.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/url": "wp-6.0",
|
2023-12-09 15:12:20 +00:00
|
|
|
"classnames": "^2.3.2",
|
|
|
|
"dompurify": "^2.4.7",
|
2023-03-06 22:33:10 +00:00
|
|
|
"lodash": "^4.17.21",
|
2023-04-11 14:53:37 +00:00
|
|
|
"moment": "^2.29.4",
|
2023-03-28 17:38:08 +00:00
|
|
|
"prop-types": "^15.8.1",
|
2023-12-05 08:36:30 +00:00
|
|
|
"react-router-dom": "~6.3.0"
|
2023-01-31 13:38:28 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-12-09 15:12:20 +00:00
|
|
|
"@babel/core": "^7.23.5",
|
|
|
|
"@babel/runtime": "^7.23.5",
|
2023-12-05 08:36:30 +00:00
|
|
|
"@testing-library/jest-dom": "5.16.2",
|
|
|
|
"@testing-library/react": "12.1.3",
|
|
|
|
"@testing-library/react-hooks": "8.0.1",
|
|
|
|
"@testing-library/user-event": "13.5.0",
|
2023-12-09 15:12:20 +00:00
|
|
|
"@types/dompurify": "^2.4.0",
|
|
|
|
"@types/jest": "^27.5.2",
|
|
|
|
"@types/react": "^17.0.71",
|
|
|
|
"@types/testing-library__jest-dom": "^5.14.9",
|
2023-12-05 08:36:30 +00:00
|
|
|
"@types/wordpress__block-editor": "7.0.0",
|
|
|
|
"@types/wordpress__block-library": "2.6.1",
|
|
|
|
"@types/wordpress__blocks": "11.0.7",
|
2023-12-09 15:12:20 +00:00
|
|
|
"@types/wordpress__components": "^19.10.5",
|
2023-12-05 08:36:30 +00:00
|
|
|
"@types/wordpress__core-data": "2.4.5",
|
|
|
|
"@types/wordpress__data": "6.0.2",
|
|
|
|
"@types/wordpress__date": "3.3.2",
|
2023-12-06 19:36:12 +00:00
|
|
|
"@types/wordpress__edit-post": "7.5.4",
|
2023-12-07 12:43:27 +00:00
|
|
|
"@types/wordpress__editor": "13.0.0",
|
2023-12-05 08:36:30 +00:00
|
|
|
"@types/wordpress__keycodes": "2.3.1",
|
|
|
|
"@types/wordpress__media-utils": "3.0.0",
|
|
|
|
"@types/wordpress__plugins": "3.0.0",
|
|
|
|
"@types/wordpress__rich-text": "3.4.6",
|
2023-01-31 13:38:28 +00:00
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
2023-03-24 01:02:20 +00:00
|
|
|
"@woocommerce/internal-js-tests": "workspace:*",
|
2023-03-28 07:15:17 +00:00
|
|
|
"@woocommerce/internal-style-build": "workspace:*",
|
2023-03-06 22:33:10 +00:00
|
|
|
"@wordpress/block-editor": "^9.8.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/browserslist-config": "wp-6.0",
|
2023-12-09 15:12:20 +00:00
|
|
|
"concurrently": "^7.6.0",
|
2023-03-31 17:36:40 +00:00
|
|
|
"copy-webpack-plugin": "^9.1.0",
|
2023-01-31 13:38:28 +00:00
|
|
|
"css-loader": "^3.6.0",
|
2023-12-09 15:12:20 +00:00
|
|
|
"eslint": "^8.55.0",
|
2023-12-05 08:36:30 +00:00
|
|
|
"jest": "~27.5.1",
|
|
|
|
"jest-cli": "~27.5.1",
|
2023-12-09 15:12:20 +00:00
|
|
|
"postcss": "^8.4.32",
|
2023-03-08 21:13:25 +00:00
|
|
|
"postcss-loader": "^4.3.0",
|
2023-02-23 17:48:49 +00:00
|
|
|
"react": "^17.0.2",
|
2023-02-24 13:37:53 +00:00
|
|
|
"react-dom": "^17.0.2",
|
|
|
|
"rimraf": "^3.0.2",
|
2023-12-09 15:12:20 +00:00
|
|
|
"sass-loader": "^10.5.0",
|
2023-12-05 08:36:30 +00:00
|
|
|
"ts-jest": "~29.1.1",
|
2023-12-09 15:12:20 +00:00
|
|
|
"typescript": "^5.3.3",
|
|
|
|
"webpack": "^5.89.0",
|
2023-12-06 19:36:12 +00:00
|
|
|
"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",
|
|
|
|
"test": "pnpm test:js",
|
|
|
|
"test:js": "pnpm -w exec turbo run turbo:test --filter=$npm_package_name",
|
|
|
|
"lint": "eslint 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-02-23 17:48:49 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2023-12-09 15:16:39 +00:00
|
|
|
"@types/react": "^17.0.71",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/data": "wp-6.0",
|
2023-03-06 22:33:10 +00:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2"
|
2023-01-31 13:38:28 +00:00
|
|
|
}
|
|
|
|
}
|