82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"name": "woocommerce-monorepo",
|
|
"title": "WooCommerce Monorepo",
|
|
"description": "Monorepo for the WooCommerce ecosystem",
|
|
"homepage": "https://woo.com/",
|
|
"engines": {
|
|
"node": "^16.14.1",
|
|
"pnpm": "^8.6.7"
|
|
},
|
|
"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"
|
|
},
|
|
"bin": {
|
|
"utils": "./tools/monorepo-utils/bin/run"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm -r build",
|
|
"test": "pnpm -r test",
|
|
"lint": "pnpm -r lint",
|
|
"cherry-pick": "node ./tools/cherry-pick/bin/run",
|
|
"clean": "pnpm store prune && git clean -fx **/node_modules && pnpm i",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"postinstall": "pnpm git:update-hooks",
|
|
"git:update-hooks": "if test -d .git; then rm -r .git/hooks && mkdir -p .git/hooks && husky install; else husky install; fi",
|
|
"create-extension": "node ./tools/create-extension/index.js",
|
|
"sync-dependencies": "pnpm exec syncpack -- fix-mismatches",
|
|
"utils": "node ./tools/monorepo-utils/dist/index.js"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.23.5",
|
|
"@babel/runtime": "^7.23.5",
|
|
"@types/node": "^16.18.68",
|
|
"@woocommerce/eslint-plugin": "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": "^7.2.3",
|
|
"husky": "^7.0.4",
|
|
"jest": "~27.5.1",
|
|
"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",
|
|
"sass": "^1.69.5",
|
|
"sass-loader": "^10.5.0",
|
|
"syncpack": "^10.9.3",
|
|
"typescript": "^5.3.3",
|
|
"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.71",
|
|
"react": "^17.0.2",
|
|
"react-resize-aware": "3.1.1"
|
|
}
|
|
}
|
|
}
|