From d045efe8efde62ed129a6255904da170245e6a43 Mon Sep 17 00:00:00 2001 From: rickkky Date: Tue, 21 Nov 2023 08:56:00 +0800 Subject: [PATCH] chore: rename project --- README.md | 4 ++-- package.json | 18 +++++++++--------- vite.config.ts | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e0931b2..26fab0f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# glas +# vectrix -Graphics linear algebra subroutine. A easy-to-use math library to perform vector and matrix operations in JavaScript/TypeScript, designed for the needs of graphics apis like WebGL or WebGPU. +A easy-to-use math library to perform vector and matrix operations in JavaScript/TypeScript, designed for the needs of graphics apis like WebGL or WebGPU. diff --git a/package.json b/package.json index 1211160..5c6decb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "glas", - "version": "0.1.1", - "description": "Graphics linear algebra subroutine. A easy-to-use math library to perform vector and matrix operations in JavaScript/TypeScript, designed for the needs of graphics apis like WebGL or WebGPU.", + "name": "vectrix", + "version": "0.0.0", + "description": "A easy-to-use math library to perform vector and matrix operations in JavaScript/TypeScript, designed for the needs of graphics apis like WebGL or WebGPU.", "keywords": [ "math", "linear-algebra", @@ -16,14 +16,14 @@ "files": [ "dist" ], - "main": "./dist/glas.umd.cjs", - "module": "./dist/glas.js", - "types": "./dist/glas.d.ts", + "main": "./dist/vectrix.umd.cjs", + "module": "./dist/vectrix.js", + "types": "./dist/vectrix.d.ts", "exports": { ".": { - "import": "./dist/glas.js", - "require": "./dist/glas.umd.cjs", - "types": "./dist/glas.d.ts" + "import": "./dist/vectrix.js", + "require": "./dist/vectrix.umd.cjs", + "types": "./dist/vectrix.d.ts" } }, "scripts": { diff --git a/vite.config.ts b/vite.config.ts index feee8f8..bedce97 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,8 +8,8 @@ export default defineConfig(() => { build: { lib: { entry: resolve(__dirname, 'src/index.ts'), - name: 'glas', - fileName: 'glas', + name: 'vectrix', + fileName: 'vectrix', }, }, plugins: [