@predy-js/math 0.1.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +970 -0
- package/dist/index.mjs +913 -0
- package/dist/mat3.d.ts +9 -0
- package/dist/mat4.d.ts +16 -0
- package/dist/quat.d.ts +7 -0
- package/dist/vec.d.ts +19 -0
- package/dist/vec3.d.ts +13 -0
- package/package.json +64 -0
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Mars JSON definition
|
|
2
|
+
|
|
3
|
+
## 环境准备
|
|
4
|
+
|
|
5
|
+
- Node.js `>= 10.0.0`
|
|
6
|
+
|
|
7
|
+
## 本地开发
|
|
8
|
+
|
|
9
|
+
``` bash
|
|
10
|
+
# 1. 安装依赖(首次)
|
|
11
|
+
npm install
|
|
12
|
+
# 2. 编译
|
|
13
|
+
npm run build
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## 测试
|
|
17
|
+
|
|
18
|
+
``` bash
|
|
19
|
+
npm run test
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
> 浏览器打开:http://localhost:9003/test/
|
|
23
|
+
|
|
24
|
+
## 发布
|
|
25
|
+
|
|
26
|
+
``` bash
|
|
27
|
+
tnpm publish
|
|
28
|
+
```
|