| 1 |
{ |
| 2 |
"name": "document-gallery", |
| 3 |
"version": "5.1.1", |
| 4 |
"description": "Display non-images (and images) in gallery format on a page or post.", |
| 5 |
"author": "Dan Rossiter", |
| 6 |
"license": "GPLv3", |
| 7 |
"homepage": "https://wordpress.org/plugins/document-gallery/", |
| 8 |
"bugs": { |
| 9 |
"url": "https://wordpress.org/support/plugin/document-gallery/" |
| 10 |
}, |
| 11 |
"repository": { |
| 12 |
"type": "svn", |
| 13 |
"url": "https://plugins.svn.wordpress.org/document-gallery/" |
| 14 |
}, |
| 15 |
"main": "build/block/index.js", |
| 16 |
"scripts": { |
| 17 |
"build": "npm run check-version && wp-scripts build && npm run minify", |
| 18 |
"check-version": "node scripts/check-version.js", |
| 19 |
"minify": "npm run minify:js && npm run minify:css", |
| 20 |
"minify:js": "terser src/assets/js/admin.js -o src/assets/js/admin.min.js -c -m && terser src/assets/js/gallery.js -o src/assets/js/gallery.min.js -c -m && terser src/assets/js/media_manager.js -o src/assets/js/media_manager.min.js -c -m", |
| 21 |
"minify:css": "csso src/assets/css/admin.css -o src/assets/css/admin.min.css", |
| 22 |
"check-engines": "wp-scripts check-engines", |
| 23 |
"check-licenses": "wp-scripts check-licenses", |
| 24 |
"format": "wp-scripts format", |
| 25 |
"lint:css": "wp-scripts lint-style", |
| 26 |
"lint:js": "wp-scripts lint-js", |
| 27 |
"lint:md:docs": "wp-scripts lint-md-docs", |
| 28 |
"lint:pkg-json": "wp-scripts lint-pkg-json", |
| 29 |
"packages-update": "wp-scripts packages-update", |
| 30 |
"plugin-zip": "wp-scripts plugin-zip", |
| 31 |
"start": "wp-scripts start", |
| 32 |
"test:e2e": "wp-scripts test-e2e", |
| 33 |
"test:unit": "wp-scripts test-unit-js" |
| 34 |
}, |
| 35 |
"devDependencies": { |
| 36 |
"@wordpress/scripts": "^26.19.0", |
| 37 |
"csso-cli": "^4.0.2", |
| 38 |
"terser": "^5.36.0" |
| 39 |
} |
| 40 |
} |
| 41 |
|