2018-04-17 21:03:14 +00:00
|
|
|
{
|
2022-06-17 20:28:34 +00:00
|
|
|
"name": "woocommerce/client/admin",
|
2022-03-29 00:55:07 +00:00
|
|
|
"version": "3.3.0",
|
2022-04-05 06:30:22 +00:00
|
|
|
"license": "GPL-3.0-or-later",
|
|
|
|
"author": "Automattic",
|
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce-admin/README.md",
|
2020-02-14 02:23:21 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-04-05 06:30:22 +00:00
|
|
|
"url": "https://github.com:woocommerce/woocommerce.git"
|
2020-02-14 02:23:21 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-09-15 21:21:42 +00:00
|
|
|
"changelog": "pnpm --filter=woocommerce -r run changelog ",
|
2022-08-22 04:28:57 +00:00
|
|
|
"turbo:build": "pnpm run clean && cross-env NODE_ENV=production WC_ADMIN_PHASE=core webpack",
|
2022-08-05 00:03:17 +00:00
|
|
|
"turbo:test": "pnpm run test:client",
|
2022-04-05 06:31:13 +00:00
|
|
|
"analyze": "cross-env NODE_ENV=production ANALYZE=true webpack",
|
2022-09-15 21:21:42 +00:00
|
|
|
"build": "pnpm -w exec turbo run turbo:build --filter=$npm_package_name",
|
|
|
|
"test": "pnpm -w exec turbo run turbo:test --filter=$npm_package_name",
|
2022-08-05 00:03:17 +00:00
|
|
|
"lint": "pnpm run lint:js && pnpm run lint:css",
|
2022-04-06 02:08:04 +00:00
|
|
|
"build:feature-config": "php ../woocommerce/bin/generate-feature-config.php",
|
2022-07-22 11:32:03 +00:00
|
|
|
"clean": "rimraf ../woocommerce/assets/client/admin/*",
|
2022-04-28 21:28:01 +00:00
|
|
|
"client:watch": "cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config && cross-env WC_ADMIN_PHASE=development webpack --watch",
|
2022-04-05 06:31:13 +00:00
|
|
|
"create-hook-reference": "node ./bin/hook-reference/index.js",
|
2023-02-24 08:28:07 +00:00
|
|
|
"create-wc-extension": "pnpm -w run create-extension",
|
2022-08-05 00:03:17 +00:00
|
|
|
"dev": "cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config && cross-env WC_ADMIN_PHASE=development pnpm -w run build --filter='./packages/js/*' && cross-env WC_ADMIN_PHASE=development webpack",
|
2022-04-05 06:31:13 +00:00
|
|
|
"example": "webpack --config docs/examples/extensions/examples.config.js --watch",
|
|
|
|
"preinstall": "npx only-allow pnpm",
|
2022-04-27 03:08:58 +00:00
|
|
|
"lint:fix": "pnpm lint:js-fix && pnpm lint:css-fix",
|
2020-02-14 02:23:21 +00:00
|
|
|
"lint:css": "stylelint '**/*.scss'",
|
2021-01-22 21:38:55 +00:00
|
|
|
"lint:css-fix": "stylelint '**/*.scss' --fix --ip 'storybook/wordpress'",
|
2022-06-23 04:00:28 +00:00
|
|
|
"lint:js": "eslint ./client --ext=js,ts,tsx",
|
2022-09-21 03:34:24 +00:00
|
|
|
"lint:js-fix": "pnpm run lint:js --fix --ext=js,ts,tsx",
|
2022-06-23 04:00:28 +00:00
|
|
|
"lint:js-packages": "eslint ../../packages/js --ext=js,ts,tsx",
|
|
|
|
"lint:js-pre-commit": "eslint --ext=js,ts,tsx",
|
2022-03-04 04:01:16 +00:00
|
|
|
"prepack": "pnpm install && pnpm run lint && pnpm run test && cross-env WC_ADMIN_PHASE=core pnpm run build",
|
2022-04-05 06:31:13 +00:00
|
|
|
"packages:fix:textdomain": "node ./bin/package-update-textdomain.js",
|
2023-03-17 07:11:33 +00:00
|
|
|
"packages:build": "pnpm run:packages -- build",
|
|
|
|
"packages:watch": "pnpm run:packages -- start",
|
|
|
|
"run:packages": "pnpm run --parallel --filter='../../packages/js/**'",
|
2023-03-16 03:52:03 +00:00
|
|
|
"prestart": "pnpm packages:build && cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config",
|
|
|
|
"start": "concurrently \"cross-env WC_ADMIN_PHASE=development webpack --watch\" \"cross-env WC_ADMIN_PHASE=development pnpm packages:watch\"",
|
2023-03-17 09:52:24 +00:00
|
|
|
"start:hot": "pnpm prestart && concurrently \"cross-env HOT=true WC_ADMIN_PHASE=development webpack serve\" \"cross-env WC_ADMIN_PHASE=development pnpm packages:watch\"",
|
2022-09-21 03:34:24 +00:00
|
|
|
"test-staged": "pnpm run test:client --bail --findRelatedTests",
|
2022-04-05 06:31:13 +00:00
|
|
|
"test:client": "jest --config client/jest.config.js",
|
|
|
|
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --config client/jest.config.js --watch --runInBand --no-cache",
|
2020-02-14 02:23:21 +00:00
|
|
|
"test:help": "wp-scripts test-unit-js --help",
|
2022-09-21 03:34:24 +00:00
|
|
|
"test:update-snapshots": "pnpm run test:client --updateSnapshot && pnpm run --filter @woocommerce/components test:update-snapshots",
|
|
|
|
"test:watch": "pnpm run test:client --watch",
|
2023-03-23 18:25:42 +00:00
|
|
|
"ts:check": "tsc --project tsconfig.json --pretty",
|
2022-04-05 06:31:13 +00:00
|
|
|
"ts:check:watch": "npm run ts:check -- --watch"
|
2020-02-14 02:23:21 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-03-08 02:11:12 +00:00
|
|
|
"@automattic/explat-client": "^0.0.3",
|
2022-03-17 03:15:12 +00:00
|
|
|
"@automattic/explat-client-react-helpers": "^0.0.4",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@automattic/interpolate-components": "^1.2.0",
|
|
|
|
"@react-spring/web": "^9.4.3",
|
2022-10-18 15:55:31 +00:00
|
|
|
"@types/wordpress__blocks": "^11.0.7",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@woocommerce/api": "^0.2.0",
|
|
|
|
"@woocommerce/e2e-environment": "^0.3.0",
|
|
|
|
"@woocommerce/e2e-utils": "^0.2.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/a11y": "wp-6.0",
|
|
|
|
"@wordpress/api-fetch": "wp-6.0",
|
|
|
|
"@wordpress/base-styles": "wp-6.0",
|
2022-10-18 15:55:31 +00:00
|
|
|
"@wordpress/blocks": "^11.17.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@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/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/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/url": "wp-6.0",
|
|
|
|
"@wordpress/viewport": "wp-6.0",
|
|
|
|
"@wordpress/warning": "wp-6.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"classnames": "^2.3.1",
|
|
|
|
"core-js": "^3.21.1",
|
|
|
|
"debug": "^4.3.3",
|
|
|
|
"dompurify": "^2.3.6",
|
|
|
|
"github-label-sync": "^2.0.2",
|
2022-03-07 04:09:26 +00:00
|
|
|
"grapheme-splitter": "^1.0.4",
|
2022-03-15 09:35:18 +00:00
|
|
|
"gridicons": "^3.4.0",
|
2022-05-13 01:28:43 +00:00
|
|
|
"history": "^5.3.0",
|
2022-03-04 04:01:16 +00:00
|
|
|
"lodash": "^4.17.21",
|
2022-03-08 02:11:12 +00:00
|
|
|
"memize": "^1.1.0",
|
|
|
|
"qs": "^6.10.3",
|
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
2022-05-30 06:51:33 +00:00
|
|
|
"react-router-dom": "^6.3.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"react-transition-group": "^4.4.2",
|
|
|
|
"react-visibility-sensor": "^5.1.1",
|
2022-03-15 03:04:46 +00:00
|
|
|
"redux": "^4.1.2"
|
2020-02-14 02:23:21 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-03-08 02:11:12 +00:00
|
|
|
"@automattic/color-studio": "^2.5.0",
|
|
|
|
"@babel/cli": "^7.17.6",
|
|
|
|
"@babel/core": "^7.17.5",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
2022-03-04 04:01:16 +00:00
|
|
|
"@babel/plugin-proposal-private-methods": "^7.16.11",
|
|
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@babel/plugin-transform-async-to-generator": "^7.16.8",
|
|
|
|
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
|
|
|
"@babel/preset-env": "^7.16.11",
|
|
|
|
"@babel/preset-typescript": "^7.16.7",
|
2022-03-04 04:01:16 +00:00
|
|
|
"@babel/runtime": "^7.17.2",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@octokit/core": "^3.5.1",
|
2023-03-16 03:52:03 +00:00
|
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@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.3.3",
|
|
|
|
"@types/expect-puppeteer": "^4.4.7",
|
2022-03-18 11:45:14 +00:00
|
|
|
"@types/jest": "^27.4.1",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@types/lodash": "^4.14.179",
|
|
|
|
"@types/puppeteer": "^4.0.2",
|
2022-10-18 15:55:31 +00:00
|
|
|
"@types/qs": "^6.9.7",
|
2022-11-21 23:06:47 +00:00
|
|
|
"@types/react": "^17.0.2",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@types/react-router-dom": "^5.3.3",
|
|
|
|
"@types/react-transition-group": "^4.4.4",
|
2022-04-14 03:07:40 +00:00
|
|
|
"@types/testing-library__jest-dom": "^5.14.3",
|
2022-11-29 01:01:10 +00:00
|
|
|
"@types/tinymce": "^4.6.5",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@types/wordpress__components": "^19.10.3",
|
2022-04-15 09:00:10 +00:00
|
|
|
"@types/wordpress__compose": "^4.0.1",
|
|
|
|
"@types/wordpress__data": "^6.0.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@types/wordpress__data-controls": "^2.2.0",
|
2022-10-12 18:16:22 +00:00
|
|
|
"@types/wordpress__media-utils": "^3.0.0",
|
2022-03-15 09:35:18 +00:00
|
|
|
"@types/wordpress__notices": "^3.3.0",
|
2022-04-15 09:00:10 +00:00
|
|
|
"@types/wordpress__plugins": "^3.0.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
|
|
"@typescript-eslint/parser": "^5.54.0",
|
2022-03-04 04:01:16 +00:00
|
|
|
"@woocommerce/admin-e2e-tests": "workspace:*",
|
2023-03-10 14:58:02 +00:00
|
|
|
"@woocommerce/admin-layout": "workspace:*",
|
2022-03-04 04:01:16 +00:00
|
|
|
"@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:*",
|
2022-05-31 22:42:00 +00:00
|
|
|
"@woocommerce/internal-js-tests": "workspace:*",
|
2022-08-05 00:03:17 +00:00
|
|
|
"@woocommerce/internal-style-build": "workspace:*",
|
2022-03-04 04:01:16 +00:00
|
|
|
"@woocommerce/navigation": "workspace:*",
|
2022-06-03 23:05:26 +00:00
|
|
|
"@woocommerce/notices": "workspace:*",
|
2022-03-04 04:01:16 +00:00
|
|
|
"@woocommerce/number": "workspace:*",
|
|
|
|
"@woocommerce/onboarding": "workspace:*",
|
2023-03-10 14:58:02 +00:00
|
|
|
"@woocommerce/product-editor": "workspace:*",
|
2022-03-04 04:01:16 +00:00
|
|
|
"@woocommerce/tracks": "workspace:*",
|
2022-02-21 02:34:25 +00:00
|
|
|
"@wordpress/babel-preset-default": "^6.5.1",
|
2022-10-18 15:55:31 +00:00
|
|
|
"@wordpress/block-editor": "^9.8.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/browserslist-config": "wp-6.0",
|
2022-03-18 10:59:05 +00:00
|
|
|
"@wordpress/custom-templated-path-webpack-plugin": "^2.1.2",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@wordpress/jest-preset-default": "^8.0.1",
|
|
|
|
"@wordpress/postcss-plugins-preset": "^1.6.0",
|
|
|
|
"@wordpress/postcss-themes": "^1.0.5",
|
2022-03-18 11:45:14 +00:00
|
|
|
"@wordpress/prettier-config": "^1.1.2",
|
2022-03-08 02:11:12 +00:00
|
|
|
"@wordpress/scripts": "^12.6.1",
|
2022-03-18 11:45:14 +00:00
|
|
|
"@wordpress/stylelint-config": "^20.0.2",
|
2022-03-08 02:11:12 +00:00
|
|
|
"autoprefixer": "^10.4.2",
|
|
|
|
"await-exec": "^0.1.2",
|
2022-03-18 11:45:14 +00:00
|
|
|
"babel-jest": "^27.5.1",
|
2022-03-08 02:11:12 +00:00
|
|
|
"babel-loader": "^8.2.3",
|
|
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
|
|
"babel-plugin-transform-es2015-template-literals": "^6.22.0",
|
2022-04-05 06:45:13 +00:00
|
|
|
"chalk": "^4.1.2",
|
2022-03-08 02:11:12 +00:00
|
|
|
"comment-parser": "^1.3.0",
|
2022-03-18 11:45:14 +00:00
|
|
|
"concurrently": "^7.0.0",
|
2023-02-14 05:34:00 +00:00
|
|
|
"config": "3.3.7",
|
2022-03-18 10:59:05 +00:00
|
|
|
"copy-webpack-plugin": "^10.2.4",
|
2022-03-08 02:11:12 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2022-03-18 10:59:05 +00:00
|
|
|
"css-loader": "^6.7.0",
|
2023-02-02 10:25:04 +00:00
|
|
|
"eslint": "^8.32.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
|
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
|
|
"eslint-plugin-import": "^2.25.4",
|
|
|
|
"eslint-plugin-react": "^7.29.2",
|
2022-03-29 06:56:42 +00:00
|
|
|
"expose-loader": "^3.1.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
|
|
|
"jest": "^27.5.1",
|
2022-03-16 01:13:17 +00:00
|
|
|
"jest-environment-jsdom": "~27.5.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"jest-environment-node": "^27.5.1",
|
|
|
|
"md5": "^2.3.0",
|
|
|
|
"merge-config": "^2.0.0",
|
2022-03-18 10:59:05 +00:00
|
|
|
"mini-css-extract-plugin": "^2.6.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"moment": "^2.29.1",
|
|
|
|
"moment-timezone": "^0.5.34",
|
|
|
|
"moment-timezone-data-webpack-plugin": "^1.5.0",
|
|
|
|
"node-watch": "^0.7.3",
|
|
|
|
"postcss": "^8.4.7",
|
|
|
|
"postcss-color-function": "^4.1.0",
|
2023-03-08 21:13:25 +00:00
|
|
|
"postcss-loader": "^4.3.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"prettier": "npm:wp-prettier@^2.2.1-beta-1",
|
|
|
|
"promptly": "^3.2.0",
|
|
|
|
"prop-types": "^15.8.1",
|
|
|
|
"puppeteer": "^2.0.0",
|
|
|
|
"raw-loader": "^4.0.2",
|
2023-03-16 03:52:03 +00:00
|
|
|
"react-refresh": "^0.14.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"readline-sync": "^1.4.10",
|
|
|
|
"replace": "^1.2.1",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"rtlcss": "^2.6.2",
|
|
|
|
"sass": "^1.49.9",
|
|
|
|
"sass-loader": "^10.2.1",
|
|
|
|
"style-loader": "^0.23.1",
|
2022-03-18 11:45:14 +00:00
|
|
|
"stylelint": "^14.5.3",
|
2022-03-08 02:11:12 +00:00
|
|
|
"ts-jest": "^27.1.3",
|
2023-03-24 01:02:20 +00:00
|
|
|
"typescript": "^4.9.5",
|
2022-03-08 02:11:12 +00:00
|
|
|
"url-loader": "^1.1.2",
|
2022-03-18 10:59:05 +00:00
|
|
|
"webpack": "^5.70.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"webpack-bundle-analyzer": "^3.9.0",
|
2022-03-18 10:59:05 +00:00
|
|
|
"webpack-cli": "^4.9.2",
|
2023-03-16 03:52:03 +00:00
|
|
|
"webpack-dev-server": "^4.11.1",
|
2022-03-08 02:11:12 +00:00
|
|
|
"webpack-fix-style-only-entries": "^0.6.1",
|
2022-03-18 10:59:05 +00:00
|
|
|
"webpack-merge": "^5.8.0",
|
2022-03-08 02:11:12 +00:00
|
|
|
"webpack-rtl-plugin": "^2.0.0"
|
2020-02-14 02:23:21 +00:00
|
|
|
},
|
2022-03-21 10:28:56 +00:00
|
|
|
"peerDependencies": {
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/data": "wp-6.0"
|
2022-03-21 10:28:56 +00:00
|
|
|
},
|
2022-04-06 08:58:17 +00:00
|
|
|
"lint-staged": {
|
2022-04-14 03:07:40 +00:00
|
|
|
"*.scss": [
|
|
|
|
"pnpm lint:css-fix"
|
|
|
|
],
|
2022-04-06 08:58:17 +00:00
|
|
|
"client/**/*.(t|j)s?(x)": [
|
2022-06-23 04:00:28 +00:00
|
|
|
"pnpm lint:js-pre-commit",
|
2022-04-06 08:58:17 +00:00
|
|
|
"pnpm test-staged"
|
|
|
|
]
|
|
|
|
},
|
2020-02-14 02:23:21 +00:00
|
|
|
"engines": {
|
2022-09-26 22:30:52 +00:00
|
|
|
"node": "^16.13.1",
|
2022-10-10 03:59:51 +00:00
|
|
|
"pnpm": "^7.13.3"
|
2020-02-14 02:23:21 +00:00
|
|
|
}
|
2022-08-10 06:45:40 +00:00
|
|
|
}
|