ris-framework 0.1.0-dev.5 → 0.1.0-dev.6
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 +2 -0
- package/package.json +10 -1
- package/src/index.ts +3 -0
package/README.md
CHANGED
|
@@ -38,6 +38,8 @@ npm ci
|
|
|
38
38
|
|
|
39
39
|
Construct `FrameworkConfig`, then pass it to `Framework`. The constructor is `constructor(options: FrameworkConfig | null = null)`. Omitting the argument, or passing `null`, uses `new FrameworkConfig()`.
|
|
40
40
|
|
|
41
|
+
Another project imports that public entry by package name: `import { Framework, FrameworkConfig, TextureSamplerFilteringPreset } from "ris-framework"`.
|
|
42
|
+
|
|
41
43
|
No config field is required. Each field has a default.
|
|
42
44
|
|
|
43
45
|
| Field | Default | What the code does with it |
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ris-framework",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/luka712/ris-framework-ts"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
|
+
"main": "./src/index.ts",
|
|
10
|
+
"types": "./src/index.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./src/index.ts",
|
|
14
|
+
"import": "./src/index.ts",
|
|
15
|
+
"default": "./src/index.ts"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
9
18
|
"scripts": {
|
|
10
19
|
"dev": "vite",
|
|
11
20
|
"build": "tsc && vite build",
|
package/src/index.ts
ADDED