84 lines
2.5 KiB
JSON
84 lines
2.5 KiB
JSON
{
|
|
"name": "woocommerce-monorepo",
|
|
"title": "WooCommerce Monorepo",
|
|
"description": "Monorepo for the WooCommerce ecosystem",
|
|
"homepage": "https://woocommerce.com/",
|
|
"packageManager": "pnpm@9.1.3",
|
|
"engines": {
|
|
"node": "^20.11.1",
|
|
"pnpm": "9.1.3"
|
|
},
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
},
|
|
"author": "Automattic",
|
|
"license": "GPL-3.0-or-later",
|
|
"bugs": {
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm -r --workspace-concurrency=Infinity --stream '/^build:project:.*$/'",
|
|
"test": "pnpm -r test",
|
|
"lint": "pnpm -r lint",
|
|
"cherry-pick": "node ./tools/cherry-pick/bin/run",
|
|
"clean": "rimraf -g '**/node_modules' '**/.wireit' && pnpm store prune",
|
|
"clean:build": "rimraf -g 'packages/js/*/build' 'packages/js/*/build-*' 'packages/js/*/dist' 'plugins/*/build' 'plugins/woocommerce/client/legacy/build' && git clean --force -d -X --quiet ./plugins/woocommerce/assets",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"postinstall": "husky",
|
|
"sync-dependencies": "pnpm exec syncpack -- fix-mismatches",
|
|
"utils": "./tools/monorepo-utils/bin/run"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.23.5",
|
|
"@babel/runtime": "^7.23.5",
|
|
"@types/node": "^16.18.68",
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
|
"@woocommerce/monorepo-utils": "workspace:*",
|
|
"@wordpress/data": "wp-6.0",
|
|
"@wordpress/eslint-plugin": "14.7.0",
|
|
"@wordpress/prettier-config": "2.17.0",
|
|
"babel-loader": "^8.3.0",
|
|
"chalk": "^4.1.2",
|
|
"copy-webpack-plugin": "^10.2.4",
|
|
"core-js": "^3.34.0",
|
|
"css-loader": "^6.8.1",
|
|
"glob": "^10.3.10",
|
|
"husky": "^9.0.11",
|
|
"jest": "27.5.x",
|
|
"lint-staged": "^12.5.0",
|
|
"mkdirp": "^1.0.4",
|
|
"moment": "^2.29.4",
|
|
"node-stream-zip": "^1.15.0",
|
|
"postcss-loader": "^4.3.0",
|
|
"prettier": "npm:wp-prettier@^2.8.5",
|
|
"regenerator-runtime": "^0.13.11",
|
|
"request": "^2.88.2",
|
|
"rimraf": "5.0.5",
|
|
"sass": "^1.69.5",
|
|
"sass-loader": "^10.5.0",
|
|
"syncpack": "^10.9.3",
|
|
"typescript": "5.3.x",
|
|
"url-loader": "^1.1.2",
|
|
"webpack": "^5.89.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "7.12.9",
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "^3.2.0",
|
|
"@wordpress/babel-preset-default": "^6.17.0",
|
|
"lodash": "^4.17.21",
|
|
"wp-textdomain": "1.0.1"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@types/react": "17.0.x",
|
|
"react-resize-aware": "3.1.1",
|
|
"@automattic/tour-kit>@wordpress/element": "4.4.1"
|
|
},
|
|
"patchedDependencies": {
|
|
"@wordpress/edit-site@5.15.0": "bin/patches/@wordpress__edit-site@5.15.0.patch"
|
|
}
|
|
}
|
|
}
|