2018-06-06 08:21:10 +00:00
{
2023-10-23 21:13:02 +00:00
"private" : true ,
2023-10-23 20:17:42 +00:00
"name" : "@woocommerce/plugin-woocommerce-beta-tester" ,
2022-04-27 03:10:48 +00:00
"description" : "Setting up the local beta tester scripts." ,
2023-12-06 19:36:12 +00:00
"license" : "GPL-2.0" ,
2022-04-27 03:10:48 +00:00
"repository" : {
"type" : "git" ,
"url" : "git://github.com/woocommerce/woocommerce-beta-tester.git"
} ,
2023-12-06 19:36:12 +00:00
"title" : "WooCommerce Beta Tester" ,
"version" : "2.3.0" ,
"homepage" : "http://github.com/woocommerce/woocommerce-beta-tester" ,
"devDependencies" : {
2023-12-09 15:12:20 +00:00
"@types/react" : "^17.0.71" ,
"@types/react-dom" : "^17.0.25" ,
"@types/wordpress__components" : "^19.10.5" ,
2023-12-06 19:36:12 +00:00
"@types/wordpress__plugins" : "3.0.0" ,
"@woocommerce/dependency-extraction-webpack-plugin" : "workspace:*" ,
"@woocommerce/eslint-plugin" : "workspace:*" ,
2023-12-09 15:12:20 +00:00
"@wordpress/env" : "^8.13.0" ,
2023-12-06 19:36:12 +00:00
"@wordpress/prettier-config" : "2.17.0" ,
"@wordpress/scripts" : "^19.2.4" ,
2023-12-09 15:12:20 +00:00
"eslint" : "^8.55.0" ,
2023-12-06 19:36:12 +00:00
"prettier" : "npm:wp-prettier@^2.8.5" ,
2023-12-09 15:12:20 +00:00
"ts-loader" : "^9.5.1" ,
"typescript" : "^5.3.3" ,
2023-10-23 21:05:59 +00:00
"uglify-js" : "^3.17.4" ,
2023-12-10 05:56:12 +00:00
"wireit" : "0.14.1"
2023-12-06 19:36:12 +00:00
} ,
"dependencies" : {
2023-12-09 15:12:20 +00:00
"@emotion/react" : "^11.11.1" ,
"@types/prop-types" : "^15.7.11" ,
2023-12-06 19:36:12 +00:00
"@woocommerce/admin-layout" : "workspace:*" ,
"@woocommerce/components" : "workspace:*" ,
"@woocommerce/data" : "workspace:*" ,
"@woocommerce/expression-evaluation" : "workspace:*" ,
"@woocommerce/product-editor" : "workspace:*" ,
"@wordpress/api-fetch" : "wp-6.0" ,
"@wordpress/components" : "wp-6.0" ,
"@wordpress/compose" : "wp-6.0" ,
"@wordpress/data" : "wp-6.0" ,
"@wordpress/data-controls" : "wp-6.0" ,
"@wordpress/element" : "wp-6.0" ,
"@wordpress/hooks" : "wp-6.0" ,
"@wordpress/i18n" : "wp-6.0" ,
"@wordpress/icons" : "wp-6.0" ,
"@wordpress/plugins" : "wp-6.0" ,
"prop-types" : "^15.8.1"
} ,
"peerDependencies" : {
2023-12-09 15:16:39 +00:00
"@types/react" : "^17.0.71" ,
"@types/react-dom" : "^17.0.25" ,
2023-12-06 19:36:12 +00:00
"react" : "^17.0.2" ,
"react-dom" : "^17.0.2"
} ,
2022-04-27 03:10:48 +00:00
"assets" : {
"js" : {
"min" : "assets/js/*.min.js" ,
"js" : "assets/js/*.js"
}
} ,
2023-12-06 19:36:12 +00:00
"config" : {
"build_step" : "pnpm run build:zip"
} ,
2022-04-27 03:10:48 +00:00
"scripts" : {
2023-11-28 22:50:43 +00:00
"build" : "pnpm build:admin && pnpm uglify" ,
2022-06-07 03:37:58 +00:00
"build:admin" : "wp-scripts build" ,
2023-11-28 22:50:43 +00:00
"build:dev" : "pnpm lint:js && pnpm build" ,
2023-11-02 23:06:59 +00:00
"build:zip" : "./bin/build-zip.sh" ,
2023-12-12 19:38:20 +00:00
"changelog" : "composer install && composer exec -- changelogger" ,
2022-06-07 03:10:36 +00:00
"check-engines" : "wp-scripts check-engines" ,
"check-licenses" : "wp-scripts check-licenses" ,
"format:js" : "wp-scripts format-js" ,
2023-11-28 22:50:43 +00:00
"postinstall" : "composer install" ,
2022-06-07 03:10:36 +00:00
"lint:css" : "wp-scripts lint-style" ,
2022-06-08 01:39:59 +00:00
"lint:css:fix" : "wp-scripts lint-style --fix" ,
2022-06-07 03:10:36 +00:00
"lint:js" : "wp-scripts lint-js" ,
2022-06-08 01:39:59 +00:00
"lint:js:fix" : "wp-scripts lint-js --fix" ,
2022-06-07 03:10:36 +00:00
"lint:md:docs" : "wp-scripts lint-md-docs" ,
"lint:md:js" : "wp-scripts lint-md-js" ,
2023-11-28 22:50:43 +00:00
"lint:php" : "composer run-script phpcs" ,
"lint:php:fix" : "composer run-script phpcbf" ,
2022-06-07 03:10:36 +00:00
"lint:pkg-json" : "wp-scripts lint-pkg-json" ,
"packages-update" : "wp-scripts packages-update" ,
"start" : "wp-scripts start" ,
"test:e2e" : "wp-scripts test-e2e" ,
2023-11-28 22:50:43 +00:00
"test:unit" : "wp-scripts test-unit-js" ,
"uglify" : "rm -f $npm_package_assets_js_min && for f in $npm_package_assets_js_js; do file=${f%.js}; node_modules/.bin/uglifyjs $f -c -m > $file.min.js; done"
2023-12-06 19:36:12 +00:00
} ,
"engines" : {
"node" : "^16.14.1" ,
2023-12-18 07:31:49 +00:00
"pnpm" : "^8.12.1"
2022-04-27 03:10:48 +00:00
} ,
"lint-staged" : {
"*.php" : [
"php -d display_errors=1 -l" ,
2022-06-21 19:26:15 +00:00
"composer run-script phpcs-pre-commit"
2022-04-27 03:10:48 +00:00
] ,
2022-06-07 03:10:36 +00:00
"*.(t|j)s?(x)" : [
2022-06-08 01:39:59 +00:00
"npm run lint:js:fix"
2022-06-07 03:10:36 +00:00
] ,
"*.scss" : [
2022-06-08 01:39:59 +00:00
"npm run lint:css:fix"
2022-04-27 03:10:48 +00:00
]
2023-12-06 19:36:12 +00:00
}
2018-06-06 08:21:10 +00:00
}