From 3c1cb22767294c462e66fd18c1f8908404ca9ec1 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Mon, 15 Sep 2025 15:54:10 +0800 Subject: refactor: rename project to libra, minify output --- package.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index f8c3cfd..b75bdc0 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,28 @@ { - "name": "libo", + "name": "libra", "version": "1.0.0", "description": "Light-weight and focused JavaScript image lightbox plugin.", "keywords": [ "lightbox" ], - "homepage": "https://github.com/BigCoke233/libo#readme", + "homepage": "https://github.com/BigCoke233/libra#readme", "bugs": { - "url": "https://github.com/BigCoke233/libo/issues" + "url": "https://github.com/BigCoke233/libra/issues" }, "repository": { "type": "git", - "url": "git+https://github.com/BigCoke233/libo.git" + "url": "git+https://github.com/BigCoke233/libra.git" }, "license": "MIT", "author": "Eltrac", "type": "module", "source": "src/lightbox.js", - "main": "dist/lightbox.min.js", + "module": "dist/libra.min.js", + "targets": { + "module": { + "optimize": true + } + }, "directories": { "test": "test" }, -- cgit v1.2.3