2023-01-31 13:38:28 +00:00
|
|
|
{
|
|
|
|
"name": "@woocommerce/product-editor",
|
|
|
|
"version": "1.0.0-beta.0",
|
|
|
|
"description": "React components for the WooCommerce admin product editor.",
|
|
|
|
"author": "Automattic",
|
|
|
|
"license": "GPL-2.0-or-later",
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"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-03-06 22:33:10 +00:00
|
|
|
"@types/lodash": "^4.14.179",
|
2023-03-28 17:38:08 +00:00
|
|
|
"@types/prop-types": "^15.7.4",
|
2023-03-06 22:33:10 +00:00
|
|
|
"@types/wordpress__blocks": "^11.0.7",
|
2023-03-22 10:30:06 +00:00
|
|
|
"@woocommerce/admin-layout": "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-03-13 22:00:50 +00:00
|
|
|
"@woocommerce/navigation": "workspace:^8.1.0",
|
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-02-23 17:48:49 +00:00
|
|
|
"@woocommerce/tracks": "workspace:^1.3.0",
|
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",
|
|
|
|
"@wordpress/blocks": "^12.3.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-03-13 14:45:25 +00:00
|
|
|
"@wordpress/editor": "wp-6.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/element": "wp-6.0",
|
|
|
|
"@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-03-06 22:33:10 +00:00
|
|
|
"classnames": "^2.3.1",
|
2023-03-30 18:22:07 +00:00
|
|
|
"dompurify": "^2.3.6",
|
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-02-23 17:48:49 +00:00
|
|
|
"react-router-dom": "^6.3.0"
|
2023-01-31 13:38:28 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-03-21 02:12:09 +00:00
|
|
|
"@babel/core": "^7.21.3",
|
|
|
|
"@babel/runtime": "^7.17.2",
|
|
|
|
"@testing-library/jest-dom": "^5.16.2",
|
2023-03-06 22:33:10 +00:00
|
|
|
"@testing-library/react": "^12.1.3",
|
2023-03-21 02:12:09 +00:00
|
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
|
|
"@testing-library/user-event": "^13.5.0",
|
2023-03-30 18:22:07 +00:00
|
|
|
"@types/dompurify": "^2.3.3",
|
2023-03-21 02:12:09 +00:00
|
|
|
"@types/jest": "^27.4.1",
|
2023-02-23 17:48:49 +00:00
|
|
|
"@types/react": "^17.0.2",
|
2023-03-21 02:12:09 +00:00
|
|
|
"@types/testing-library__jest-dom": "^5.14.3",
|
2023-03-08 09:51:59 +00:00
|
|
|
"@types/wordpress__block-editor": "^7.0.0",
|
2023-03-13 14:45:25 +00:00
|
|
|
"@types/wordpress__block-library": "^2.6.1",
|
2023-03-08 09:51:59 +00:00
|
|
|
"@types/wordpress__blocks": "^11.0.7",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@types/wordpress__components": "^19.10.3",
|
2023-03-13 14:45:25 +00:00
|
|
|
"@types/wordpress__core-data": "^2.4.5",
|
2023-03-08 09:51:59 +00:00
|
|
|
"@types/wordpress__data": "^6.0.2",
|
2023-04-11 14:53:37 +00:00
|
|
|
"@types/wordpress__date": "^3.3.2",
|
2023-03-13 14:45:25 +00:00
|
|
|
"@types/wordpress__editor": "^13.0.0",
|
2023-04-18 17:52:28 +00:00
|
|
|
"@types/wordpress__keycodes": "^2.3.1",
|
2023-03-08 09:51:59 +00:00
|
|
|
"@types/wordpress__media-utils": "^3.0.0",
|
2023-03-22 10:30:06 +00:00
|
|
|
"@types/wordpress__plugins": "^3.0.0",
|
2023-05-03 04:13:48 +00:00
|
|
|
"@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-02-24 13:37:53 +00:00
|
|
|
"concurrently": "^7.0.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-02-02 10:25:04 +00:00
|
|
|
"eslint": "^8.32.0",
|
2023-01-31 13:38:28 +00:00
|
|
|
"jest": "^27.5.1",
|
|
|
|
"jest-cli": "^27.5.1",
|
2023-03-08 21:13:25 +00:00
|
|
|
"postcss": "^8.4.7",
|
|
|
|
"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",
|
2023-03-06 22:33:10 +00:00
|
|
|
"react-hooks^8.0.1": "link:@testing-library/react-hooks^8.0.1",
|
2023-02-24 13:37:53 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2023-01-31 13:38:28 +00:00
|
|
|
"sass-loader": "^10.2.1",
|
|
|
|
"ts-jest": "^27.1.3",
|
2023-03-24 01:02:20 +00:00
|
|
|
"typescript": "^4.9.5",
|
2023-01-31 13:38:28 +00:00
|
|
|
"webpack": "^5.70.0",
|
|
|
|
"webpack-cli": "^3.3.12"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"turbo:build": "pnpm run build:js && pnpm run build:css",
|
2023-03-21 02:12:09 +00:00
|
|
|
"turbo:test": "jest --config ./jest.config.json",
|
2023-01-31 13:38:28 +00:00
|
|
|
"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-03-21 02:12:09 +00:00
|
|
|
"test": "pnpm -w exec turbo run turbo:test --filter=$npm_package_name",
|
2023-01-31 13:38:28 +00:00
|
|
|
"lint": "eslint src",
|
2023-03-23 18:25:42 +00:00
|
|
|
"build:js": "tsc --project tsconfig.json && tsc --project tsconfig-cjs.json",
|
2023-01-31 13:38:28 +00:00
|
|
|
"build:css": "webpack",
|
2023-03-23 18:25:42 +00:00
|
|
|
"start": "concurrently \"tsc --project tsconfig.json --watch\" \"tsc --project tsconfig-cjs.json --watch\" \"webpack --watch\"",
|
2023-01-31 13:38:28 +00:00
|
|
|
"prepack": "pnpm run clean && pnpm run build",
|
|
|
|
"lint:fix": "eslint src --fix"
|
2023-02-23 17:48:49 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"@types/react": "^17.0.2",
|
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
|
|
|
}
|
|
|
|
}
|