@splinetool/loader 0.9.8

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.
@@ -0,0 +1,2 @@
1
+ import { Scene as SplineScene } from 'spe';
2
+ export declare function applyCloners(scene: SplineScene): SplineScene;
@@ -0,0 +1,2 @@
1
+ import { Scene as SplineScene } from 'spe';
2
+ export declare function convertCameras(scene: SplineScene): SplineScene;
@@ -0,0 +1,2 @@
1
+ import { Scene as SplineScene } from 'spe';
2
+ export declare function convertTransmission(scene: SplineScene): SplineScene;
@@ -0,0 +1,5 @@
1
+ import { Scene as SplineScene } from 'spe';
2
+ /**
3
+ * Makes sure no two distinct objects share the same name
4
+ */
5
+ export declare function deduplicateNames(scene: SplineScene): SplineScene;
@@ -0,0 +1,3 @@
1
+ import { ProxiedObject } from 'collab-data';
2
+ import { DocumentData } from 'spline-data';
3
+ export declare function removeOutlineLayers(data: ProxiedObject<DocumentData>): void;
@@ -0,0 +1,2 @@
1
+ import { Scene as SplineScene } from 'spe';
2
+ export declare function restoreMatrixAutoUpdate(scene: SplineScene): SplineScene;
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@splinetool/loader",
3
+ "version": "0.9.8",
4
+ "type": "module",
5
+ "main": "./build/SplineLoader.js",
6
+ "module": "./build/SplineLoader.js",
7
+ "types": "./build/SplineLoader.d.ts",
8
+ "react-native": "./build/SplineLoader.js",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./build/SplineLoader.js",
12
+ "require": "./build/SplineLoader.cjs"
13
+ }
14
+ },
15
+ "files": [
16
+ "build"
17
+ ],
18
+ "scripts": {
19
+ "build": "cross-env NODE_ENV=production node --experimental-json-modules ./esbuild.mjs && yarn build-types",
20
+ "build-types": "tsc --skipLibCheck --isolatedModules false --noEmit false --emitDeclarationOnly --declaration --outDir build/",
21
+ "lint": "eslint src/ --max-warnings=0 --cache",
22
+ "format": "prettier src/ --write",
23
+ "typecheck": "tsc",
24
+ "analyze": "cross-env GENERATE_SOURCEMAP=true yarn build && cross-env NODE_OPTIONS=--no-experimental-fetch source-map-explorer 'build/SplineLoader.js' --no-border-checks",
25
+ "example": "vite"
26
+ },
27
+ "peerDependencies": {
28
+ "three": ">=0.133.0"
29
+ },
30
+ "devDependencies": {
31
+ "browserslist": "^4.16.7",
32
+ "browserslist-to-esbuild": "^1.1.1",
33
+ "cross-env": "^7.0.3",
34
+ "eslint": "^7.32.0",
35
+ "jest": "26.6.0",
36
+ "lodash-es": "^4.17.21",
37
+ "prettier": "^2.6.2",
38
+ "raw-loader": "^4.0.2",
39
+ "source-map-explorer": "^2.5.2",
40
+ "spe": "0.0.0",
41
+ "three": "^0.142.0",
42
+ "typescript": "^4.1.3",
43
+ "vite": "^2.9.0"
44
+ },
45
+ "browserslist": {
46
+ "development": [
47
+ "last 1 chrome version",
48
+ "last 1 firefox version",
49
+ "last 1 safari version"
50
+ ],
51
+ "production": [
52
+ ">0.2%",
53
+ "not dead",
54
+ "not op_mini all",
55
+ "not IE <= 11",
56
+ "Safari >= 13.0",
57
+ "not Android <= 4.4"
58
+ ]
59
+ }
60
+ }