2018-06-06 08:21:10 +00:00
{
2022-04-27 03:10:48 +00:00
"name" : "woocommerce-beta-tester" ,
"description" : "Setting up the local beta tester scripts." ,
"license" : "GPL-2.0" ,
"repository" : {
"type" : "git" ,
"url" : "git://github.com/woocommerce/woocommerce-beta-tester.git"
} ,
"title" : "WooCommerce Beta Tester" ,
"version" : "2.0.5" ,
"homepage" : "http://github.com/woocommerce/woocommerce-beta-tester" ,
"config" : {
"build_step" : "pnpm run build:zip"
} ,
"devDependencies" : {
2022-06-07 03:10:36 +00:00
"@woocommerce/dependency-extraction-webpack-plugin" : "workspace:*" ,
"@woocommerce/eslint-plugin" : "workspace:*" ,
2022-06-07 03:33:20 +00:00
"@wordpress/scripts" : "^23.2.0" ,
2022-04-27 03:10:48 +00:00
"eslint" : "5.16.0" ,
"uglify-js" : "^3.5.3"
} ,
2022-06-07 03:10:36 +00:00
"dependencies" : {
"@woocommerce/data" : "workspace:*" ,
"@wordpress/api-fetch" : "^3.21.5" ,
"@wordpress/components" : "^12.0.7" ,
"@wordpress/compose" : "^3.24.4" ,
"@wordpress/data" : "^4.26.7" ,
"@wordpress/data-controls" : "^1.20.7" ,
"@wordpress/element" : "^2.19.1" ,
"@wordpress/hooks" : "^2.11.1"
} ,
2022-04-27 03:10:48 +00:00
"assets" : {
"js" : {
"min" : "assets/js/*.min.js" ,
"js" : "assets/js/*.js"
}
} ,
"scripts" : {
2022-06-07 03:10:36 +00:00
"postinstall" : "composer install" ,
2022-06-07 03:33:20 +00:00
"build" : "wp-scripts build && pnpm run uglify" ,
2022-04-27 03:10:48 +00:00
"build:zip" : "./bin/build-zip.sh" ,
2022-06-07 03:10:36 +00:00
"build:dev" : "pnpm run lint:js && pnpm run build" ,
2022-05-06 19:11:51 +00:00
"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" ,
2022-06-07 03:10:36 +00:00
"lint:legacy" : "eslint assets/js --ext=js" ,
"lint:legacy:fix" : "eslint assets/js --ext=js --fix" ,
"check-engines" : "wp-scripts check-engines" ,
"check-licenses" : "wp-scripts check-licenses" ,
"format:js" : "wp-scripts format-js" ,
"lint:css" : "wp-scripts lint-style" ,
"lint:js" : "wp-scripts lint-js" ,
"lint:md:docs" : "wp-scripts lint-md-docs" ,
"lint:md:js" : "wp-scripts lint-md-js" ,
"lint:pkg-json" : "wp-scripts lint-pkg-json" ,
"packages-update" : "wp-scripts packages-update" ,
"start" : "wp-scripts start" ,
"test:e2e" : "wp-scripts test-e2e" ,
"test:unit" : "wp-scripts test-unit-js"
2022-04-27 03:10:48 +00:00
} ,
"engines" : {
"node" : ">=10.15.0" ,
"npm" : ">=6.4.1"
} ,
"woorelease" : {
"svn_reauth" : "true" ,
"wp_org_slug" : "woocommerce-beta-tester"
} ,
"lint-staged" : {
"*.php" : [
"php -d display_errors=1 -l" ,
"composer --working-dir=./plugins/woocommerce-beta-tester run-script phpcs-pre-commit"
] ,
2022-06-07 03:10:36 +00:00
"*.(t|j)s?(x)" : [
"npm run format:js" ,
"npm run lint:js && pnpm lint:legacy:fix"
] ,
"*.scss" : [
"npm run lint:css"
2022-04-27 03:10:48 +00:00
]
}
2018-06-06 08:21:10 +00:00
}