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
|
|
|
"@automattic/interpolate-components": "^1.2.0",
|
|
|
|
"@types/lodash": "^4.14.179",
|
|
|
|
"@types/wordpress__blocks": "^11.0.7",
|
2023-01-31 13:38:28 +00:00
|
|
|
"@woocommerce/components": "workspace:*",
|
2023-03-06 17:11:54 +00:00
|
|
|
"@woocommerce/currency": "workspace:*",
|
2023-02-23 17:48:49 +00:00
|
|
|
"@woocommerce/data": "workspace:^4.1.0",
|
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-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",
|
|
|
|
"@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",
|
|
|
|
"@wordpress/media-utils": "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",
|
|
|
|
"lodash": "^4.17.21",
|
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",
|
|
|
|
"@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-03-13 14:45:25 +00:00
|
|
|
"@types/wordpress__editor": "^13.0.0",
|
2023-03-08 09:51:59 +00:00
|
|
|
"@types/wordpress__media-utils": "^3.0.0",
|
2023-01-31 13:38:28 +00:00
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
|
|
|
"@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-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",
|
|
|
|
"typescript": "^4.8.3",
|
|
|
|
"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",
|
|
|
|
"build:js": "tsc --build ./tsconfig.json ./tsconfig-cjs.json",
|
|
|
|
"build:css": "webpack",
|
|
|
|
"start": "concurrently \"tsc --build --watch\" \"webpack --watch\"",
|
|
|
|
"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
|
|
|
}
|
|
|
|
}
|