woocommerce/plugins/woocommerce-beta-tester/package.json

43 lines
1.3 KiB
JSON

{
"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.2",
"homepage": "http://github.com/woocommerce/woocommerce-beta-tester",
"devDependencies": {
"clean-css-cli": "^4.2.1",
"less": "^3.9.0",
"uglify-js": "^3.4.9"
},
"assets": {
"js": {
"min": "assets/js/*.min.js",
"js": "assets/js/*.js"
},
"styles": {
"css": "assets/css/*.css",
"less": "assets/css/*.less"
}
},
"scripts": {
"build": "./bin/build-zip.sh",
"preuglify": "rm -f $npm_package_assets_js_min",
"uglify": "for f in $npm_package_assets_js_js; do file=${f%.js}; node_modules/.bin/uglifyjs $f -c -m > $file.min.js; done",
"preless": "rm -f $npm_package_assets_styles_css",
"less": "for f in $npm_package_assets_styles_less; do file=${f%.less}; node_modules/.bin/lessc $f > $file.css; done && rm -f assets/css/mixins.css",
"postless": "for f in $npm_package_assets_styles_css; do file=${f%.css}; node_modules/.bin/cleancss -o $file.css $f; done"
},
"engines": {
"node": ">=6.8.1",
"npm": ">=4.0.5"
},
"config": {
"wp_org_slug": "woocommerce-beta-tester"
}
}