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" : {
"eslint" : "5.16.0" ,
"uglify-js" : "^3.5.3"
} ,
"assets" : {
"js" : {
"min" : "assets/js/*.min.js" ,
"js" : "assets/js/*.js"
}
} ,
"scripts" : {
2022-04-29 18:56:39 +00:00
"postinstall" : "composer install" ,
2022-04-27 03:10:48 +00:00
"build" : "pnpm run uglify" ,
"build:zip" : "./bin/build-zip.sh" ,
"build:dev" : "pnpm run lint:js && pnpm run uglify" ,
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-04-27 03:10:48 +00:00
"lint" : "eslint assets/js --ext=js" ,
"lint:fix" : "eslint assets/js --ext=js --fix"
} ,
"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"
] ,
"!(*min).js" : [
"pnpm lint:fix"
]
}
2018-06-06 08:21:10 +00:00
}