2018-06-06 08:21:10 +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",
|
2021-12-17 18:13:06 +00:00
|
|
|
"version": "2.0.5",
|
2018-06-06 08:21:10 +00:00
|
|
|
"homepage": "http://github.com/woocommerce/woocommerce-beta-tester",
|
|
|
|
"devDependencies": {
|
2019-04-02 19:28:24 +00:00
|
|
|
"eslint": "5.16.0",
|
|
|
|
"husky": "1.3.1",
|
|
|
|
"lint-staged": "8.1.5",
|
|
|
|
"uglify-js": "^3.5.3"
|
2018-06-06 08:21:10 +00:00
|
|
|
},
|
|
|
|
"assets": {
|
|
|
|
"js": {
|
|
|
|
"min": "assets/js/*.min.js",
|
|
|
|
"js": "assets/js/*.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
2021-01-19 12:56:37 +00:00
|
|
|
"build": "./bin/build-zip.sh",
|
2021-03-13 05:11:01 +00:00
|
|
|
"build:dev": "npm run lint:js && npm run uglify",
|
2018-06-06 08:21:10 +00:00
|
|
|
"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",
|
2019-04-02 19:28:24 +00:00
|
|
|
"lint:js": "eslint assets/js --ext=js"
|
2018-06-06 08:21:10 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-04-02 19:28:24 +00:00
|
|
|
"node": ">=10.15.0",
|
|
|
|
"npm": ">=6.4.1"
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"linters": {
|
|
|
|
"*.php": [
|
|
|
|
"php -d display_errors=1 -l",
|
|
|
|
"composer run-script phpcs-pre-commit"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ignore": [
|
|
|
|
"*.min.js"
|
|
|
|
]
|
2021-01-19 12:56:37 +00:00
|
|
|
},
|
2021-09-21 19:26:33 +00:00
|
|
|
"woorelease": {
|
|
|
|
"svn_reauth": "true",
|
2021-01-19 12:56:37 +00:00
|
|
|
"wp_org_slug": "woocommerce-beta-tester"
|
2018-06-06 08:21:10 +00:00
|
|
|
}
|
|
|
|
}
|