@equinor/videx-map 1.12.4 → 1.13.0-beta.1
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/LICENSE +21 -21
- package/README.md +119 -119
- package/dist/ExplorationLayer.d.ts +1 -1
- package/dist/FaultlineModule.d.ts +2 -2
- package/dist/FieldModule.d.ts +3 -3
- package/dist/GeoJSONModule/GeoJSONModule.d.ts +2 -2
- package/dist/GeoJSONModule/labels.d.ts +1 -1
- package/dist/GeoJSONModule/linestring.d.ts +2 -2
- package/dist/GeoJSONModule/multipolygon.d.ts +2 -2
- package/dist/GeoJSONModule/point.d.ts +1 -1
- package/dist/GeoJSONModule/polygon.d.ts +1 -1
- package/dist/ModuleInterface.d.ts +3 -3
- package/dist/WellboreModule.d.ts +3 -2
- package/dist/index.esm.js +1 -15
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/utils/ComparableArray.d.ts +60 -0
- package/dist/utils/LineDictionary.d.ts +2 -2
- package/dist/utils/Mesh.d.ts +2 -2
- package/dist/utils/PointDictionary.d.ts +1 -1
- package/dist/utils/Rect.d.ts +27 -0
- package/dist/utils/TriangleDictionary.d.ts +1 -1
- package/dist/utils/centerOfMass.d.ts +1 -1
- package/dist/utils/fields/Highlighter.d.ts +1 -1
- package/dist/utils/fields/LabelManager.d.ts +2 -2
- package/dist/utils/generateCircle.d.ts +1 -1
- package/dist/utils/lineReducer.d.ts +9 -0
- package/dist/utils/wellbores/Colors.d.ts +1 -1
- package/dist/utils/wellbores/Config.d.ts +3 -3
- package/dist/utils/wellbores/DataManager.d.ts +15 -0
- package/dist/utils/wellbores/Highlight.d.ts +1 -1
- package/dist/utils/wellbores/LabelType.d.ts +9 -0
- package/dist/utils/wellbores/Projector.d.ts +1 -1
- package/dist/utils/wellbores/RealtimeWellbore.d.ts +1 -1
- package/dist/utils/wellbores/Shader.d.ts +11 -14
- package/dist/utils/wellbores/data/Group.d.ts +1 -1
- package/dist/utils/wellbores/data/RootData.d.ts +2 -1
- package/dist/utils/wellbores/data/SourceData.d.ts +25 -0
- package/dist/utils/wellbores/data/WellboreData.d.ts +4 -0
- package/dist/utils/wellbores/data/WellboreEventData.d.ts +2 -2
- package/dist/utils/wellbores/highlight-helper.d.ts +3 -3
- package/dist/utils/wellbores/labels/Label.d.ts +3 -1
- package/dist/utils/wellbores/labels/label-helper.d.ts +1 -1
- package/dist/utils/wellbores/registries/CallbackRegistry.d.ts +23 -0
- package/dist/utils/wellbores/registries/ColorRegistry.d.ts +22 -0
- package/dist/utils/wellbores/registries/index.d.ts +2 -0
- package/package.json +101 -89
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import Vector2 from '@equinor/videx-vector2';
|
|
2
|
+
import { VectorLike } from '@equinor/videx-linear-algebra';
|
|
3
|
+
export default class Rect {
|
|
4
|
+
lowerLeft: Vector2;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
rotation: number;
|
|
8
|
+
constructor(lowerLeft: Vector2, width: number, height: number, rotation: number);
|
|
9
|
+
/**
|
|
10
|
+
* Check if a point is inside.
|
|
11
|
+
* @param vector Vector to evaluate
|
|
12
|
+
* @returns True if point is inside rectangle
|
|
13
|
+
*/
|
|
14
|
+
isInside(vector: VectorLike): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Check if a point is inside.
|
|
17
|
+
* @param x X position to evaluate
|
|
18
|
+
* @param y Y position to evaluate
|
|
19
|
+
* @returns True if point is inside rectangle
|
|
20
|
+
*/
|
|
21
|
+
isInside(x: number, y: number): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Transforms position from world space to local space.
|
|
24
|
+
* @param position
|
|
25
|
+
*/
|
|
26
|
+
inverseTransformPoint(x: number, y: number): Vector2;
|
|
27
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as PIXI from 'pixi.js';
|
|
2
2
|
import Vector2 from '@equinor/videx-vector2';
|
|
3
3
|
/** Data for label. */
|
|
4
|
-
export
|
|
4
|
+
export type LabelData = {
|
|
5
5
|
position: Vector2;
|
|
6
6
|
mass: number;
|
|
7
7
|
};
|
|
@@ -12,7 +12,7 @@ interface Field {
|
|
|
12
12
|
instance?: PIXI.Text;
|
|
13
13
|
}
|
|
14
14
|
/** Instance of a multi-label entry. */
|
|
15
|
-
export
|
|
15
|
+
export type Label = {
|
|
16
16
|
position: Vector2;
|
|
17
17
|
mass: number;
|
|
18
18
|
instance: PIXI.Text;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VectorLike } from '@equinor/videx-linear-algebra';
|
|
2
|
+
/**
|
|
3
|
+
* Reduce complexity of a line by removing points with little information.
|
|
4
|
+
* @param points Collection of points to reduce
|
|
5
|
+
* @param maxDeviation Max deviation of a single point
|
|
6
|
+
* @param distanceWeight Scale allowed deviatin by distance from last point
|
|
7
|
+
* @returns Reduced line
|
|
8
|
+
*/
|
|
9
|
+
export declare function reduce<T extends VectorLike>(points: T[], maxDeviation: number, distanceWeight: number): T[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WellboreEventData } from
|
|
2
|
-
import { HighlightEvent } from
|
|
3
|
-
import { EventHandler } from
|
|
1
|
+
import { WellboreEventData } from './data';
|
|
2
|
+
import { HighlightEvent } from './data/WellboreEventData';
|
|
3
|
+
import { EventHandler } from '../../EventHandler';
|
|
4
4
|
import { ResizeConfig } from '../../ResizeConfigInterface';
|
|
5
5
|
export interface TickConfig {
|
|
6
6
|
width: number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SourceData, WellboreData, RootData, Group } from './data';
|
|
2
|
+
export default abstract class DataManager {
|
|
3
|
+
wellbores: {
|
|
4
|
+
[key: number]: WellboreData;
|
|
5
|
+
};
|
|
6
|
+
roots: {
|
|
7
|
+
[key: number]: RootData;
|
|
8
|
+
};
|
|
9
|
+
/** Map group keys ('Drilled', 'Planned', etc.) to keys in wellbores dictionary. */
|
|
10
|
+
groups: {
|
|
11
|
+
[key: string]: Group;
|
|
12
|
+
};
|
|
13
|
+
addWellbore(_key: number, _data: SourceData): void;
|
|
14
|
+
removeWellbore(_key: number): void;
|
|
15
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WellboreData } from './data/WellboreData';
|
|
2
2
|
import { pixiOverlayBase } from '../../pixiOverlayInterfaces';
|
|
3
|
-
|
|
3
|
+
type vec2 = [number, number];
|
|
4
4
|
/** Class for handling realtime position of wellbore. */
|
|
5
5
|
export default class RealtimeWellbore {
|
|
6
6
|
private map;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as PIXI from 'pixi.js';
|
|
2
2
|
import { Color } from './Colors';
|
|
3
|
-
|
|
3
|
+
type vec3 = [number, number, number];
|
|
4
4
|
/** Uniforms used by the shader. */
|
|
5
5
|
export interface WellboreUniforms {
|
|
6
6
|
/** Color of lighted wellbore on the format: [R, G, B]. */
|
|
@@ -13,32 +13,29 @@ export interface WellboreUniforms {
|
|
|
13
13
|
wellboreVisible: boolean;
|
|
14
14
|
status: number;
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* Get shader for wellbore.
|
|
18
|
-
* @param color Color used for wellbore
|
|
19
|
-
* @param wellboreWidth Width of wellbore
|
|
20
|
-
* @return PIXI shader
|
|
21
|
-
*/
|
|
22
|
-
export declare function getWellboreShader(color: Color, completionVisible: boolean, wellboreVisible: boolean): PIXI.Shader;
|
|
23
16
|
export declare class WellboreShader {
|
|
17
|
+
private static program;
|
|
18
|
+
/**
|
|
19
|
+
* Get shader for wellbore.
|
|
20
|
+
* @param color Color used for wellbore
|
|
21
|
+
* @param wellboreWidth Width of wellbore
|
|
22
|
+
* @return PIXI shader
|
|
23
|
+
*/
|
|
24
|
+
static get(color: Color, completionVisible: boolean, wellboreVisible: boolean): PIXI.Shader;
|
|
24
25
|
/** Build wellbore shader with assigned variables. */
|
|
25
26
|
static build(maxScale: number, wellboreDash: number): void;
|
|
26
|
-
/** Vertex shader */
|
|
27
|
-
static vertexShader: string;
|
|
28
|
-
/** Fragment shader */
|
|
29
|
-
static fragmentShader: string;
|
|
30
27
|
}
|
|
31
28
|
export interface RootUniforms {
|
|
32
29
|
active: boolean;
|
|
33
30
|
circleColor1: [number, number, number];
|
|
34
31
|
circleColor2: [number, number, number];
|
|
32
|
+
rootRadius: number;
|
|
35
33
|
}
|
|
36
34
|
export declare class RootShader {
|
|
35
|
+
private static program;
|
|
37
36
|
/** Get root shader */
|
|
38
37
|
static get(): PIXI.Shader;
|
|
39
38
|
/** Build vertex shader from given resize configs */
|
|
40
39
|
static build(maxScale: number): void;
|
|
41
|
-
static vertexShader: string;
|
|
42
|
-
static fragmentShader: string;
|
|
43
40
|
}
|
|
44
41
|
export {};
|
|
@@ -10,7 +10,7 @@ interface WellboreState {
|
|
|
10
10
|
completionVisible: boolean;
|
|
11
11
|
wellboreVisible: boolean;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
type Filter = (data: SourceData) => boolean;
|
|
14
14
|
export declare class Group {
|
|
15
15
|
key: string;
|
|
16
16
|
colors: Colors;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Date for each interval. */
|
|
2
|
+
export interface Interval {
|
|
3
|
+
/** Type of interval [Screen, Perforation]. */
|
|
4
|
+
type: string;
|
|
5
|
+
/** Start of interval as distance along wellbore. */
|
|
6
|
+
start: number;
|
|
7
|
+
/** End of interval as distance along wellbore. */
|
|
8
|
+
end: number;
|
|
9
|
+
/** Start of interval along wellbore as a value between 0 and 1. */
|
|
10
|
+
l1: number;
|
|
11
|
+
/** End of interval along wellbore as a value between 0 and 1. */
|
|
12
|
+
l2: number;
|
|
13
|
+
}
|
|
14
|
+
/** Wellbore data. */
|
|
15
|
+
export interface SourceData {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
/** Collection of intervals. */
|
|
18
|
+
intervals: Interval[];
|
|
19
|
+
/** Full label of wellbore. */
|
|
20
|
+
label: string;
|
|
21
|
+
/** Short label of wellbore, ie. no country code. */
|
|
22
|
+
labelShort: string;
|
|
23
|
+
/** Path along wellbore on lat/long format. */
|
|
24
|
+
path: [number, number][];
|
|
25
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import WellboreModule from
|
|
1
|
+
import Vector2 from '@equinor/videx-vector2';
|
|
2
|
+
import { WellboreData, HighlightEvent } from './data';
|
|
3
|
+
import WellboreModule from '../../WellboreModule';
|
|
4
4
|
export declare function updateHighlighted(module: WellboreModule, pos: Vector2, onHighlightOn?: (event: HighlightEvent) => void, onHighlightOff?: () => void, originalEvent?: any): void;
|
|
5
5
|
export declare function forceHighlight(module: WellboreModule, wellbore: WellboreData): void;
|
|
6
6
|
export declare function clearHighlight(module: WellboreModule, onHighlightOff?: () => void): void;
|
|
@@ -15,7 +15,8 @@ export declare class Label {
|
|
|
15
15
|
private static style;
|
|
16
16
|
static config: Common;
|
|
17
17
|
static height: number;
|
|
18
|
-
|
|
18
|
+
container: PIXI.Container;
|
|
19
|
+
private text;
|
|
19
20
|
background: PIXI.Graphics;
|
|
20
21
|
metrics: PIXI.TextMetrics;
|
|
21
22
|
private _attachToRoot;
|
|
@@ -30,6 +31,7 @@ export declare class Label {
|
|
|
30
31
|
constructor(label: string, fontColor: number, bgColor: number);
|
|
31
32
|
get visible(): boolean;
|
|
32
33
|
set visible(flag: boolean);
|
|
34
|
+
set fontColor(color: number);
|
|
33
35
|
get attachToRoot(): boolean;
|
|
34
36
|
set attachToRoot(val: boolean);
|
|
35
37
|
getBoundingBox(): PIXI.Rectangle;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type Callback = (wellboreId: number) => void;
|
|
2
|
+
export declare class CallbackRegistry {
|
|
3
|
+
/** Internal callback register. */
|
|
4
|
+
registry: {
|
|
5
|
+
[key: string]: Callback;
|
|
6
|
+
};
|
|
7
|
+
/** Can map multiple strings to same callback. */
|
|
8
|
+
map: {
|
|
9
|
+
[key: string]: Callback;
|
|
10
|
+
};
|
|
11
|
+
constructor();
|
|
12
|
+
/** Register callback */
|
|
13
|
+
register(key: string, callback: Callback): void;
|
|
14
|
+
/**
|
|
15
|
+
* Used to map key given as first parameter in 'WellboreModule' with a callback in internal registy.
|
|
16
|
+
* If key is blank, will try to retrieve 'setKey' from registry. Else key will map to default callback.
|
|
17
|
+
* @param setKey Key to map to registry.
|
|
18
|
+
* @param key Key in registry.
|
|
19
|
+
*/
|
|
20
|
+
mapKey(setKey: string, key?: string): void;
|
|
21
|
+
get(setKey?: string): Callback;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Colors } from '../Colors';
|
|
2
|
+
export declare class ColorRegistry {
|
|
3
|
+
/** Internal color register. */
|
|
4
|
+
registry: {
|
|
5
|
+
[key: string]: Colors;
|
|
6
|
+
};
|
|
7
|
+
/** Can map multiple strings to same instance in registry. */
|
|
8
|
+
map: {
|
|
9
|
+
[key: string]: Colors;
|
|
10
|
+
};
|
|
11
|
+
constructor();
|
|
12
|
+
/** Color collection */
|
|
13
|
+
register(key: string, colors: Colors): void;
|
|
14
|
+
/**
|
|
15
|
+
* Used to map key given as first parameter in 'WellboreModule' with a color collection in internal registy.
|
|
16
|
+
* If key is blank, will try to retrieve 'setKey' from registry. Else key will map to default color configurations.
|
|
17
|
+
* @param setKey Key to map to registry.
|
|
18
|
+
* @param key Key in registry.
|
|
19
|
+
*/
|
|
20
|
+
mapKey(setKey: string, key?: string): void;
|
|
21
|
+
get(setKey?: string): Colors;
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -1,89 +1,101 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@equinor/videx-map",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Component for Pixi-overlay in Leaflet.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.esm.js",
|
|
7
|
-
"browser": "dist/index.umd.js",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"types": "dist/index.d.ts",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"start": "start-storybook",
|
|
14
|
-
"prebuild": "rimraf dist",
|
|
15
|
-
"build": "rollup -c",
|
|
16
|
-
"prepub": "npm run build",
|
|
17
|
-
"pub": "npm publish --access=public",
|
|
18
|
-
"test": "jest",
|
|
19
|
-
"test:watch": "jest --watchAll",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"@types/
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"eslint-
|
|
56
|
-
"eslint
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@equinor/videx-map",
|
|
3
|
+
"version": "1.13.0-beta.1",
|
|
4
|
+
"description": "Component for Pixi-overlay in Leaflet.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.esm.js",
|
|
7
|
+
"browser": "dist/index.umd.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"types": "dist/index.d.ts",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"start": "start-storybook",
|
|
14
|
+
"prebuild": "rimraf dist",
|
|
15
|
+
"build": "rollup -c",
|
|
16
|
+
"prepub": "npm run build",
|
|
17
|
+
"pub": "npm publish --access=public",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"test:watch": "jest --watchAll",
|
|
20
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
|
|
21
|
+
"lint:ci": "eslint --ext .js,.jsx,.ts,.tsx src --color --format table --quiet",
|
|
22
|
+
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx src --fix",
|
|
23
|
+
"predocs": "rimraf docs",
|
|
24
|
+
"docs": "typedoc --out docs src",
|
|
25
|
+
"postdocs": "copyfiles images/* docs && copyfiles .nojekyll docs",
|
|
26
|
+
"lint-staged": "lint-staged",
|
|
27
|
+
"prepare": "husky install"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/equinor/videx-map.git"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"videx",
|
|
35
|
+
"leaflet",
|
|
36
|
+
"pixi.js",
|
|
37
|
+
"typescript"
|
|
38
|
+
],
|
|
39
|
+
"author": "Tom Kristian Tjemsland",
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/equinor/videx-map/issues"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/equinor/videx-map#readme",
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@babel/core": "^7.11.6",
|
|
47
|
+
"@equinor/videx-storybook-input": "^1.0.0",
|
|
48
|
+
"@storybook/html": "^6.2.3",
|
|
49
|
+
"@types/d3": "^5.7.2",
|
|
50
|
+
"@types/earcut": "^2.1.1",
|
|
51
|
+
"@types/geojson": "^7946.0.3",
|
|
52
|
+
"@types/jest": "^26.0.13",
|
|
53
|
+
"@types/leaflet": "^1.5.17",
|
|
54
|
+
"@types/uuid": "^8.3.0",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
|
56
|
+
"@typescript-eslint/parser": "^5.46.1",
|
|
57
|
+
"babel-loader": "^8.1.0",
|
|
58
|
+
"copyfiles": "^2.3.0",
|
|
59
|
+
"eslint-formatter-table": "^7.32.1",
|
|
60
|
+
"husky": "^8.0.3",
|
|
61
|
+
"jest": "^26.4.2",
|
|
62
|
+
"jest-canvas-mock": "^2.2.0",
|
|
63
|
+
"leaflet": "^1.7.1",
|
|
64
|
+
"leaflet-pixi-overlay": "^1.8.2",
|
|
65
|
+
"lint-staged": "^11.1.2",
|
|
66
|
+
"rimraf": "^3.0.2",
|
|
67
|
+
"rollup": "^2.45.2",
|
|
68
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
69
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
70
|
+
"rollup-plugin-typescript2": "^0.30.0",
|
|
71
|
+
"simplex-noise": "^2.4.0",
|
|
72
|
+
"ts-jest": "^26.3.0",
|
|
73
|
+
"ts-loader": "^9.4.2",
|
|
74
|
+
"tslib": "^2.4.1",
|
|
75
|
+
"typedoc": "^0.23.23",
|
|
76
|
+
"typescript": "^4.9.4"
|
|
77
|
+
},
|
|
78
|
+
"jest": {
|
|
79
|
+
"transform": {
|
|
80
|
+
".(ts|tsx)": "ts-jest"
|
|
81
|
+
},
|
|
82
|
+
"testRegex": "(/tests/.*|(\\.|/)test)\\.ts$",
|
|
83
|
+
"setupFiles": [
|
|
84
|
+
"jest-canvas-mock"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"lint-staged": {
|
|
88
|
+
"*.ts": [
|
|
89
|
+
"npm run lint:ci"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"dependencies": {
|
|
93
|
+
"@equinor/videx-linear-algebra": "^1.0.7",
|
|
94
|
+
"@equinor/videx-math": "^1.1.0",
|
|
95
|
+
"@equinor/videx-vector2": "^1.0.44",
|
|
96
|
+
"d3-color": "^3.1.0",
|
|
97
|
+
"earcut": "^2.2.2",
|
|
98
|
+
"pixi.js": "^7.1.2",
|
|
99
|
+
"uuid": "^8.3.2"
|
|
100
|
+
}
|
|
101
|
+
}
|