105 lines
3.2 KiB
JSON
105 lines
3.2 KiB
JSON
{
|
|
"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": {
|
|
"@automattic/interpolate-components": "^1.2.0",
|
|
"@types/lodash": "^4.14.179",
|
|
"@types/wordpress__blocks": "^11.0.7",
|
|
"@woocommerce/components": "workspace:*",
|
|
"@woocommerce/currency": "workspace:*",
|
|
"@woocommerce/data": "workspace:^4.1.0",
|
|
"@woocommerce/number": "workspace:*",
|
|
"@woocommerce/tracks": "workspace:^1.3.0",
|
|
"@wordpress/block-editor": "^9.8.0",
|
|
"@wordpress/blocks": "^12.3.0",
|
|
"@wordpress/data": "wp-6.0",
|
|
"@wordpress/interface": "wp-6.0",
|
|
"@wordpress/keyboard-shortcuts": "wp-6.0",
|
|
"@wordpress/media-utils": "wp-6.0",
|
|
"@wordpress/components": "wp-6.0",
|
|
"@wordpress/compose": "wp-6.0",
|
|
"@wordpress/element": "wp-6.0",
|
|
"@wordpress/html-entities": "wp-6.0",
|
|
"@wordpress/i18n": "wp-6.0",
|
|
"@wordpress/icons": "wp-6.0",
|
|
"@wordpress/url": "wp-6.0",
|
|
"classnames": "^2.3.1",
|
|
"lodash": "^4.17.21",
|
|
"react-router-dom": "^6.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^12.1.3",
|
|
"@types/react": "^17.0.2",
|
|
"@types/wordpress__block-editor": "^7.0.0",
|
|
"@types/wordpress__blocks": "^11.0.7",
|
|
"@types/wordpress__components": "^19.10.3",
|
|
"@types/wordpress__data": "^6.0.2",
|
|
"@types/wordpress__media-utils": "^3.0.0",
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
|
"@woocommerce/internal-style-build": "workspace:*",
|
|
"@wordpress/block-editor": "^9.8.0",
|
|
"@wordpress/browserslist-config": "wp-6.0",
|
|
"concurrently": "^7.0.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",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-hooks^8.0.1": "link:@testing-library/react-hooks^8.0.1",
|
|
"rimraf": "^3.0.2",
|
|
"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",
|
|
"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",
|
|
"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"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/react": "^17.0.2",
|
|
"@wordpress/data": "wp-6.0",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
}
|
|
}
|