woocommerce/plugins/woocommerce-admin/package.json

371 lines
14 KiB
JSON

{
"name": "@woocommerce/admin-library",
"private": true,
"version": "3.3.0",
"license": "GPL-3.0-or-later",
"author": "Automattic",
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce-admin/README.md",
"repository": {
"type": "git",
"url": "https://github.com:woocommerce/woocommerce.git"
},
"files": [
"build"
],
"scripts": {
"build": "pnpm --if-present --filter=\"$npm_package_name...\" build:project",
"build:project": "pnpm --if-present /^build:project:.*$/",
"build:project:bundle": "wireit",
"build:project:feature-config": "php ../woocommerce/bin/generate-feature-config.php",
"changelog": "composer install && composer exec -- changelogger",
"lint": "pnpm --if-present '/^lint:lang:.*$/'",
"lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'",
"lint:fix:lang:css": "stylelint '**/*.scss' --fix --ip 'storybook/wordpress'",
"lint:fix:lang:js": "pnpm lint:js --fix --ext=js,ts,tsx",
"lint:lang:css": "stylelint '**/*.scss'",
"lint:lang:js": "eslint ./client --ext=js,ts,tsx",
"test:js": "wireit",
"watch:build": "pnpm build:project --watch"
},
"lint-staged": {
"*.scss": [
"pnpm lint:css-fix"
],
"client/**/*.(t|j)s?(x)": [
"pnpm lint:js-pre-commit",
"pnpm test-staged"
]
},
"dependencies": {
"@automattic/components": "^2.0.1",
"@automattic/explat-client": "^0.0.3",
"@automattic/explat-client-react-helpers": "^0.0.4",
"@automattic/interpolate-components": "^1.2.1",
"@react-spring/web": "^9.7.3",
"@types/wordpress__blocks": "11.0.7",
"@woocommerce/api": "^0.2.0",
"@wordpress/a11y": "wp-6.0",
"@wordpress/api-fetch": "wp-6.0",
"@wordpress/base-styles": "wp-6.0",
"@wordpress/blob": "wp-6.0",
"@wordpress/blocks": "^11.21.0",
"@wordpress/components": "wp-6.0",
"@wordpress/compose": "wp-6.0",
"@wordpress/core-data": "wp-6.0",
"@wordpress/data-controls": "wp-6.0",
"@wordpress/date": "wp-6.0",
"@wordpress/dom": "wp-6.0",
"@wordpress/dom-ready": "wp-6.0",
"@wordpress/edit-site": "5.15.0",
"@wordpress/element": "wp-6.0",
"@wordpress/hooks": "wp-6.0",
"@wordpress/html-entities": "wp-6.0",
"@wordpress/i18n": "wp-6.0",
"@wordpress/icons": "wp-6.0",
"@wordpress/interface": "^5.24.0",
"@wordpress/keycodes": "wp-6.0",
"@wordpress/media-utils": "wp-6.0",
"@wordpress/notices": "wp-6.0",
"@wordpress/plugins": "wp-6.0",
"@wordpress/primitives": "wp-6.0",
"@wordpress/router": "0.7.0",
"@wordpress/url": "wp-6.0",
"@wordpress/viewport": "wp-6.0",
"@wordpress/warning": "wp-6.0",
"@xstate/react": "3.2.1",
"classnames": "^2.3.2",
"core-js": "^3.34.0",
"debug": "^4.3.4",
"dompurify": "^2.4.7",
"github-label-sync": "^2.3.1",
"grapheme-splitter": "^1.0.4",
"gridicons": "^3.4.2",
"history": "^5.3.0",
"lodash": "^4.17.21",
"memize": "^1.1.0",
"qrcode.react": "^3.1.0",
"qs": "^6.11.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "~6.3.0",
"react-transition-group": "^4.4.5",
"react-visibility-sensor": "^5.1.1",
"redux": "^4.2.1",
"xstate": "4.37.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@automattic/color-studio": "^2.5.0",
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-async-to-generator": "^7.23.3",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "^7.23.5",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.5",
"@octokit/core": "^3.6.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@testing-library/dom": "8.11.3",
"@testing-library/jest-dom": "5.16.2",
"@testing-library/react": "12.1.3",
"@testing-library/react-hooks": "7.0.2",
"@testing-library/user-event": "13.5.0",
"@types/cookie": "^0.4.1",
"@types/dompurify": "^2.4.0",
"@types/expect-puppeteer": "^4.4.7",
"@types/jest": "^27.5.2",
"@types/lodash": "^4.14.202",
"@types/puppeteer": "^4.0.3",
"@types/qs": "^6.9.10",
"@types/react": "^17.0.71",
"@types/react-router-dom": "^5.3.3",
"@types/react-transition-group": "^4.4.10",
"@types/testing-library__jest-dom": "^5.14.9",
"@types/tinymce": "^4.6.9",
"@types/wordpress__components": "^19.10.5",
"@types/wordpress__compose": "4.0.1",
"@types/wordpress__data": "6.0.0",
"@types/wordpress__data-controls": "~2.2.0",
"@types/wordpress__media-utils": "3.0.0",
"@types/wordpress__notices": "3.3.0",
"@types/wordpress__plugins": "3.0.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@woocommerce/admin-e2e-tests": "workspace:*",
"@woocommerce/admin-layout": "workspace:*",
"@woocommerce/ai": "workspace:0.1.0-beta.0",
"@woocommerce/components": "workspace:*",
"@woocommerce/csv-export": "workspace:*",
"@woocommerce/currency": "workspace:*",
"@woocommerce/customer-effort-score": "workspace:*",
"@woocommerce/data": "workspace:*",
"@woocommerce/date": "workspace:*",
"@woocommerce/dependency-extraction-webpack-plugin": "workspace:*",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/experimental": "workspace:*",
"@woocommerce/explat": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",
"@woocommerce/navigation": "workspace:*",
"@woocommerce/notices": "workspace:*",
"@woocommerce/number": "workspace:*",
"@woocommerce/onboarding": "workspace:*",
"@woocommerce/product-editor": "workspace:*",
"@woocommerce/tracks": "workspace:*",
"@wordpress/babel-preset-default": "^6.17.0",
"@wordpress/block-editor": "^9.8.0",
"@wordpress/browserslist-config": "wp-6.0",
"@wordpress/custom-templated-path-webpack-plugin": "^2.13.0",
"@wordpress/jest-preset-default": "^8.5.2",
"@wordpress/postcss-plugins-preset": "^1.6.0",
"@wordpress/postcss-themes": "^1.0.5",
"@wordpress/prettier-config": "2.17.0",
"@wordpress/scripts": "^12.6.1",
"@wordpress/stylelint-config": "^20.0.3",
"@xstate/inspect": "0.8.0",
"@xstate/test": "0.5.1",
"autoprefixer": "^10.4.16",
"await-exec": "^0.1.2",
"babel-jest": "~27.5.1",
"babel-loader": "^8.3.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-template-literals": "^6.22.0",
"chalk": "^4.1.2",
"comment-parser": "^1.4.1",
"concurrently": "^7.6.0",
"config": "3.3.7",
"copy-webpack-plugin": "^10.2.4",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"eslint": "^8.55.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-import-resolver-webpack": "^0.13.8",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-xstate": "^1.1.3",
"expose-loader": "^3.1.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"jest": "~27.5.1",
"jest-environment-jsdom": "~27.5.1",
"jest-environment-node": "~27.5.1",
"md5": "^2.3.0",
"merge-config": "^2.0.0",
"mini-css-extract-plugin": "^2.7.6",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"moment-timezone-data-webpack-plugin": "^1.5.1",
"node-watch": "^0.7.4",
"postcss": "^8.4.32",
"postcss-color-function": "^4.1.0",
"postcss-loader": "^4.3.0",
"prettier": "npm:wp-prettier@^2.8.5",
"promptly": "^3.2.0",
"prop-types": "^15.8.1",
"puppeteer": "^2.1.1",
"raw-loader": "^4.0.2",
"react-refresh": "^0.14.0",
"readline-sync": "^1.4.10",
"replace": "^1.2.2",
"rimraf": "^3.0.2",
"rtlcss": "^2.6.2",
"sass": "^1.69.5",
"sass-loader": "^10.5.0",
"style-loader": "^0.23.1",
"stylelint": "^14.16.1",
"ts-jest": "~29.1.1",
"typescript": "^5.3.3",
"url-loader": "^1.1.2",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.1",
"webpack-fix-style-only-entries": "^0.6.1",
"webpack-merge": "^5.10.0",
"webpack-rtl-plugin": "^2.0.0",
"wireit": "^0.14.1"
},
"peerDependencies": {
"@wordpress/data": "wp-6.0"
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
},
"wireit": {
"build:project:bundle": {
"command": "webpack",
"env": {
"NODE_ENV": "production",
"WC_ADMIN_PHASE": "core"
},
"files": [
"webpack.config.js",
"tsconfig.json",
"client/**/*.{js,jsx,ts,tsx}",
"client/**/*.scss"
],
"output": [
"build"
],
"dependencies": [
"dependencyOutputs"
]
},
"test:js": {
"command": "jest --config client/jest.config.js",
"dependencies": [
"build:project"
]
},
"dependencyOutputs": {
"allowUsuallyExcludedPaths": true,
"files": [
"node_modules/@woocommerce/tracks/",
"node_modules/@woocommerce/product-editor/",
"node_modules/@woocommerce/onboarding/",
"node_modules/@woocommerce/number/",
"node_modules/@woocommerce/notices/",
"node_modules/@woocommerce/navigation/",
"node_modules/@woocommerce/internal-style-build/",
"node_modules/@woocommerce/internal-js-tests/",
"node_modules/@woocommerce/explat/",
"node_modules/@woocommerce/experimental/",
"node_modules/@woocommerce/eslint-plugin/configs",
"node_modules/@woocommerce/eslint-plugin/rules",
"node_modules/@woocommerce/eslint-plugin/index.js",
"node_modules/@woocommerce/dependency-extraction-webpack-plugin/",
"node_modules/@woocommerce/date/",
"node_modules/@woocommerce/data/",
"node_modules/@woocommerce/customer-effort-score/",
"node_modules/@woocommerce/currency/",
"node_modules/@woocommerce/csv-export/",
"node_modules/@woocommerce/components/",
"node_modules/@woocommerce/ai/",
"node_modules/@woocommerce/admin-layout/",
"node_modules/@woocommerce/admin-e2e-tests/build/",
"package.json",
"!node_modules/@woocommerce/admin-e2e-tests/*.ts.map",
"!node_modules/@woocommerce/admin-e2e-tests/*.tsbuildinfo",
"!node_modules/@woocommerce/admin-layout/node_modules",
"!node_modules/@woocommerce/admin-layout/.git",
"!node_modules/@woocommerce/admin-layout/.svn",
"!node_modules/@woocommerce/admin-layout/src",
"!node_modules/@woocommerce/ai/node_modules",
"!node_modules/@woocommerce/ai/.git",
"!node_modules/@woocommerce/ai/.svn",
"!node_modules/@woocommerce/ai/src",
"!node_modules/@woocommerce/components/node_modules",
"!node_modules/@woocommerce/components/.git",
"!node_modules/@woocommerce/components/.svn",
"!node_modules/@woocommerce/components/src",
"!node_modules/@woocommerce/csv-export/node_modules",
"!node_modules/@woocommerce/csv-export/.git",
"!node_modules/@woocommerce/csv-export/.svn",
"!node_modules/@woocommerce/csv-export/src",
"!node_modules/@woocommerce/currency/node_modules",
"!node_modules/@woocommerce/currency/.git",
"!node_modules/@woocommerce/currency/.svn",
"!node_modules/@woocommerce/currency/src",
"!node_modules/@woocommerce/customer-effort-score/node_modules",
"!node_modules/@woocommerce/customer-effort-score/.git",
"!node_modules/@woocommerce/customer-effort-score/.svn",
"!node_modules/@woocommerce/customer-effort-score/src",
"!node_modules/@woocommerce/data/node_modules",
"!node_modules/@woocommerce/data/.git",
"!node_modules/@woocommerce/data/.svn",
"!node_modules/@woocommerce/data/src",
"!node_modules/@woocommerce/date/node_modules",
"!node_modules/@woocommerce/date/.git",
"!node_modules/@woocommerce/date/.svn",
"!node_modules/@woocommerce/date/src",
"!node_modules/@woocommerce/dependency-extraction-webpack-plugin/node_modules",
"!node_modules/@woocommerce/dependency-extraction-webpack-plugin/.git",
"!node_modules/@woocommerce/dependency-extraction-webpack-plugin/.svn",
"!node_modules/@woocommerce/dependency-extraction-webpack-plugin/src",
"!node_modules/@woocommerce/experimental/node_modules",
"!node_modules/@woocommerce/experimental/.git",
"!node_modules/@woocommerce/experimental/.svn",
"!node_modules/@woocommerce/experimental/src",
"!node_modules/@woocommerce/explat/node_modules",
"!node_modules/@woocommerce/explat/.git",
"!node_modules/@woocommerce/explat/.svn",
"!node_modules/@woocommerce/explat/src",
"!node_modules/@woocommerce/internal-js-tests/node_modules",
"!node_modules/@woocommerce/internal-js-tests/.git",
"!node_modules/@woocommerce/internal-js-tests/.svn",
"!node_modules/@woocommerce/internal-js-tests/src",
"!node_modules/@woocommerce/internal-style-build/node_modules",
"!node_modules/@woocommerce/internal-style-build/.git",
"!node_modules/@woocommerce/internal-style-build/.svn",
"!node_modules/@woocommerce/internal-style-build/src",
"!node_modules/@woocommerce/navigation/node_modules",
"!node_modules/@woocommerce/navigation/.git",
"!node_modules/@woocommerce/navigation/.svn",
"!node_modules/@woocommerce/navigation/src",
"!node_modules/@woocommerce/notices/node_modules",
"!node_modules/@woocommerce/notices/.git",
"!node_modules/@woocommerce/notices/.svn",
"!node_modules/@woocommerce/notices/src",
"!node_modules/@woocommerce/number/node_modules",
"!node_modules/@woocommerce/number/.git",
"!node_modules/@woocommerce/number/.svn",
"!node_modules/@woocommerce/number/src",
"!node_modules/@woocommerce/onboarding/node_modules",
"!node_modules/@woocommerce/onboarding/.git",
"!node_modules/@woocommerce/onboarding/.svn",
"!node_modules/@woocommerce/onboarding/src",
"!node_modules/@woocommerce/product-editor/node_modules",
"!node_modules/@woocommerce/product-editor/.git",
"!node_modules/@woocommerce/product-editor/.svn",
"!node_modules/@woocommerce/product-editor/src",
"!node_modules/@woocommerce/tracks/node_modules",
"!node_modules/@woocommerce/tracks/.git",
"!node_modules/@woocommerce/tracks/.svn",
"!node_modules/@woocommerce/tracks/src"
]
}
}
}