From 0de107cccbab9ff5bd3b307467cbcfcd31223480 Mon Sep 17 00:00:00 2001 From: juunini Date: Sat, 7 Jan 2023 21:36:27 +0900 Subject: [PATCH] Add install description --- README.md | 16 ++++++++++++++++ package.json | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index edafa40..1a88db0 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,23 @@ Using [glTF-Transform](https://github.com/donmccurdy/glTF-Transform) and [webp-c ## Install ```bash +# If you want to use CLI npm install --global gltf-optimizer + +# npm +npm install gltf-optimizer + +# yarn +yarn add gltf-optimizer + +# pnpm +pnpm add gltf-optimizer + +# bun +bun add gltf-optimizer + +# If you install and use browser side +cp node_modules/gltf-optimizer/src/draco3d/* .// ``` ## Usage diff --git a/package.json b/package.json index 8c0b1af..03c00e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gltf-optimizer", - "version": "0.3.3", + "version": "0.3.4", "description": "Optimize glTF model", "homepage": "https://github.com/juunini/gltf-optimizer", "repository": "juunini/gltf-optimizer",