diff options
Diffstat (limited to 'plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json')
-rw-r--r-- | plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json new file mode 100644 index 00000000..4e641fa5 --- /dev/null +++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json @@ -0,0 +1,22 @@ +{ + "private": true, + "browserslist": "extends @wordpress/browserslist-config", + "scripts": { + "build": "pnpm run clean && pnpm run build-js", + "build-js": "webpack", + "build-production": "pnpm run clean && pnpm run build-production-js && pnpm run validate", + "build-production-js": "NODE_ENV=production BABEL_ENV=production pnpm run build-js", + "clean": "rm -rf build", + "test": "jest tests", + "test-coverage": "jest tests --coverage --collectCoverageFrom='src/**/*.js' --coverageDirectory=\"$COVERAGE_DIR/js\" --coverageReporters=clover", + "validate": "pnpm exec validate-es build/" + }, + "devDependencies": { + "@automattic/jetpack-webpack-config": "^1.3", + "@wordpress/browserslist-config": "4.1.2", + "md5-es": "1.8.2", + "jest": "28.1.0", + "webpack": "5.72.1", + "webpack-cli": "4.9.1" + } +} |