diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-15 15:54:10 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-09-15 15:54:10 +0800 |
| commit | 3c1cb22767294c462e66fd18c1f8908404ca9ec1 (patch) | |
| tree | 3a0d660f0cefeb16e2bec407b4655097122c9401 /package.json | |
| parent | eb4009e21b5c1d94353862d10ae4d4c96ef4ca8b (diff) | |
refactor: rename project to libra, minify output
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 15 |
1 files changed, 10 insertions, 5 deletions
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" }, |
