@graphrs/community 0.0.0-canary.4aee852
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/dist/chunk-ELA7RAJX.js +12 -0
- package/dist/chunk-ELA7RAJX.js.map +1 -0
- package/dist/chunk-JRRIBF6J.js +12 -0
- package/dist/chunk-JRRIBF6J.js.map +1 -0
- package/dist/chunk-KW3VHOEA.js +14 -0
- package/dist/chunk-KW3VHOEA.js.map +1 -0
- package/dist/chunk-P4RSJ7VG.js +12 -0
- package/dist/chunk-P4RSJ7VG.js.map +1 -0
- package/dist/chunk-UYGT3LMM.js +12 -0
- package/dist/chunk-UYGT3LMM.js.map +1 -0
- package/dist/chunk-XO43IX2E.js +12 -0
- package/dist/chunk-XO43IX2E.js.map +1 -0
- package/dist/chunk-YCRFRMTW.js +12 -0
- package/dist/chunk-YCRFRMTW.js.map +1 -0
- package/dist/chunk-ZHL6B6AX.js +12 -0
- package/dist/chunk-ZHL6B6AX.js.map +1 -0
- package/dist/fast-greedy.d.ts +5 -0
- package/dist/fast-greedy.js +3 -0
- package/dist/fast-greedy.js.map +1 -0
- package/dist/fluid.d.ts +8 -0
- package/dist/fluid.js +3 -0
- package/dist/fluid.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/infomap.d.ts +8 -0
- package/dist/infomap.js +3 -0
- package/dist/infomap.js.map +1 -0
- package/dist/label-propagation.d.ts +8 -0
- package/dist/label-propagation.js +3 -0
- package/dist/label-propagation.js.map +1 -0
- package/dist/leiden.d.ts +10 -0
- package/dist/leiden.js +3 -0
- package/dist/leiden.js.map +1 -0
- package/dist/louvain.d.ts +8 -0
- package/dist/louvain.js +3 -0
- package/dist/louvain.js.map +1 -0
- package/dist/spinglass.d.ts +9 -0
- package/dist/spinglass.js +3 -0
- package/dist/spinglass.js.map +1 -0
- package/dist/walktrap.d.ts +8 -0
- package/dist/walktrap.js +3 -0
- package/dist/walktrap.js.map +1 -0
- package/package.json +79 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getWasm } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
// src/walktrap.ts
|
|
4
|
+
async function walktrap(graph, options) {
|
|
5
|
+
await getWasm();
|
|
6
|
+
void graph._getEdgePairs();
|
|
7
|
+
throw new Error("Not yet implemented \u2014 WASM bindings pending");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { walktrap };
|
|
11
|
+
//# sourceMappingURL=chunk-ELA7RAJX.js.map
|
|
12
|
+
//# sourceMappingURL=chunk-ELA7RAJX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/walktrap.ts"],"names":[],"mappings":";;;AAMA,eAAsB,QAAA,CAAS,OAAc,OAAA,EAAqD;AAChG,EAAc,MAAM,OAAA;AAGpB,EAAA,KAAK,MAAM,aAAA,EAAc;AACzB,EAAA,MAAM,IAAI,MAAM,kDAA6C,CAAA;AAC/D","file":"chunk-ELA7RAJX.js","sourcesContent":["import { getWasm, type Graph, type CommunityResult } from '@graphrs/core';\n\nexport interface WalktrapOptions {\n steps?: number;\n}\n\nexport async function walktrap(graph: Graph, options?: WalktrapOptions): Promise<CommunityResult> {\n const _wasm = await getWasm();\n void _wasm;\n void options;\n void graph._getEdgePairs();\n throw new Error('Not yet implemented — WASM bindings pending');\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getWasm } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
// src/spinglass.ts
|
|
4
|
+
async function spinglass(graph, options) {
|
|
5
|
+
await getWasm();
|
|
6
|
+
void graph._getEdgePairs();
|
|
7
|
+
throw new Error("Not yet implemented \u2014 WASM bindings pending");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { spinglass };
|
|
11
|
+
//# sourceMappingURL=chunk-JRRIBF6J.js.map
|
|
12
|
+
//# sourceMappingURL=chunk-JRRIBF6J.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/spinglass.ts"],"names":[],"mappings":";;;AAOA,eAAsB,SAAA,CACpB,OACA,OAAA,EAC0B;AAC1B,EAAc,MAAM,OAAA;AAGpB,EAAA,KAAK,MAAM,aAAA,EAAc;AACzB,EAAA,MAAM,IAAI,MAAM,kDAA6C,CAAA;AAC/D","file":"chunk-JRRIBF6J.js","sourcesContent":["import { getWasm, type Graph, type CommunityResult } from '@graphrs/core';\n\nexport interface SpinglassOptions {\n spins?: number;\n gamma?: number;\n}\n\nexport async function spinglass(\n graph: Graph,\n options?: SpinglassOptions,\n): Promise<CommunityResult> {\n const _wasm = await getWasm();\n void _wasm;\n void options;\n void graph._getEdgePairs();\n throw new Error('Not yet implemented — WASM bindings pending');\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getWasm } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
// src/louvain.ts
|
|
4
|
+
async function louvain(graph, options) {
|
|
5
|
+
await getWasm();
|
|
6
|
+
graph._getEdgePairs();
|
|
7
|
+
graph._getWeights();
|
|
8
|
+
options?.resolution ?? 1;
|
|
9
|
+
throw new Error("Not yet implemented \u2014 WASM bindings pending");
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { louvain };
|
|
13
|
+
//# sourceMappingURL=chunk-KW3VHOEA.js.map
|
|
14
|
+
//# sourceMappingURL=chunk-KW3VHOEA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/louvain.ts"],"names":[],"mappings":";;;AAMA,eAAsB,OAAA,CAAQ,OAAc,OAAA,EAAoD;AAC9F,EAAc,MAAM,OAAA;AACpB,EAAe,MAAM,aAAA;AACrB,EAAiB,MAAM,WAAA;AACvB,EAAoB,SAAS,UAAA,IAAc;AAK3C,EAAA,MAAM,IAAI,MAAM,kDAA6C,CAAA;AAC/D","file":"chunk-KW3VHOEA.js","sourcesContent":["import { getWasm, type Graph, type CommunityResult } from '@graphrs/core';\n\nexport interface LouvainOptions {\n resolution?: number;\n}\n\nexport async function louvain(graph: Graph, options?: LouvainOptions): Promise<CommunityResult> {\n const _wasm = await getWasm();\n const _edges = graph._getEdgePairs();\n const _weights = graph._getWeights();\n const _resolution = options?.resolution ?? 1.0;\n void _wasm;\n void _edges;\n void _weights;\n void _resolution;\n throw new Error('Not yet implemented — WASM bindings pending');\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getWasm } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
// src/fluid.ts
|
|
4
|
+
async function fluidCommunities(graph, options) {
|
|
5
|
+
await getWasm();
|
|
6
|
+
void graph._getEdgePairs();
|
|
7
|
+
throw new Error("Not yet implemented \u2014 WASM bindings pending");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { fluidCommunities };
|
|
11
|
+
//# sourceMappingURL=chunk-P4RSJ7VG.js.map
|
|
12
|
+
//# sourceMappingURL=chunk-P4RSJ7VG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/fluid.ts"],"names":[],"mappings":";;;AAMA,eAAsB,gBAAA,CACpB,OACA,OAAA,EAC0B;AAC1B,EAAc,MAAM,OAAA;AAGpB,EAAA,KAAK,MAAM,aAAA,EAAc;AACzB,EAAA,MAAM,IAAI,MAAM,kDAA6C,CAAA;AAC/D","file":"chunk-P4RSJ7VG.js","sourcesContent":["import { getWasm, type Graph, type CommunityResult } from '@graphrs/core';\n\nexport interface FluidOptions {\n numCommunities: number;\n}\n\nexport async function fluidCommunities(\n graph: Graph,\n options: FluidOptions,\n): Promise<CommunityResult> {\n const _wasm = await getWasm();\n void _wasm;\n void options;\n void graph._getEdgePairs();\n throw new Error('Not yet implemented — WASM bindings pending');\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getWasm } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
// src/fast-greedy.ts
|
|
4
|
+
async function fastGreedy(graph) {
|
|
5
|
+
await getWasm();
|
|
6
|
+
void graph._getEdgePairs();
|
|
7
|
+
throw new Error("Not yet implemented \u2014 WASM bindings pending");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { fastGreedy };
|
|
11
|
+
//# sourceMappingURL=chunk-UYGT3LMM.js.map
|
|
12
|
+
//# sourceMappingURL=chunk-UYGT3LMM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/fast-greedy.ts"],"names":[],"mappings":";;;AAEA,eAAsB,WAAW,KAAA,EAAwC;AACvE,EAAc,MAAM,OAAA;AAEpB,EAAA,KAAK,MAAM,aAAA,EAAc;AACzB,EAAA,MAAM,IAAI,MAAM,kDAA6C,CAAA;AAC/D","file":"chunk-UYGT3LMM.js","sourcesContent":["import { getWasm, type Graph, type CommunityResult } from '@graphrs/core';\n\nexport async function fastGreedy(graph: Graph): Promise<CommunityResult> {\n const _wasm = await getWasm();\n void _wasm;\n void graph._getEdgePairs();\n throw new Error('Not yet implemented — WASM bindings pending');\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getWasm } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
// src/label-propagation.ts
|
|
4
|
+
async function labelPropagation(graph, options) {
|
|
5
|
+
await getWasm();
|
|
6
|
+
void graph._getEdgePairs();
|
|
7
|
+
throw new Error("Not yet implemented \u2014 WASM bindings pending");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { labelPropagation };
|
|
11
|
+
//# sourceMappingURL=chunk-XO43IX2E.js.map
|
|
12
|
+
//# sourceMappingURL=chunk-XO43IX2E.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/label-propagation.ts"],"names":[],"mappings":";;;AAMA,eAAsB,gBAAA,CACpB,OACA,OAAA,EAC0B;AAC1B,EAAc,MAAM,OAAA;AAGpB,EAAA,KAAK,MAAM,aAAA,EAAc;AACzB,EAAA,MAAM,IAAI,MAAM,kDAA6C,CAAA;AAC/D","file":"chunk-XO43IX2E.js","sourcesContent":["import { getWasm, type Graph, type CommunityResult } from '@graphrs/core';\n\nexport interface LabelPropagationOptions {\n fixed?: number[];\n}\n\nexport async function labelPropagation(\n graph: Graph,\n options?: LabelPropagationOptions,\n): Promise<CommunityResult> {\n const _wasm = await getWasm();\n void _wasm;\n void options;\n void graph._getEdgePairs();\n throw new Error('Not yet implemented — WASM bindings pending');\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getWasm } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
// src/leiden.ts
|
|
4
|
+
async function leiden(graph, options) {
|
|
5
|
+
await getWasm();
|
|
6
|
+
void graph._getEdgePairs();
|
|
7
|
+
throw new Error("Not yet implemented \u2014 WASM bindings pending");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { leiden };
|
|
11
|
+
//# sourceMappingURL=chunk-YCRFRMTW.js.map
|
|
12
|
+
//# sourceMappingURL=chunk-YCRFRMTW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/leiden.ts"],"names":[],"mappings":";;;AAQA,eAAsB,MAAA,CAAO,OAAc,OAAA,EAAmD;AAC5F,EAAc,MAAM,OAAA;AAGpB,EAAA,KAAK,MAAM,aAAA,EAAc;AACzB,EAAA,MAAM,IAAI,MAAM,kDAA6C,CAAA;AAC/D","file":"chunk-YCRFRMTW.js","sourcesContent":["import { getWasm, type Graph, type CommunityResult } from '@graphrs/core';\n\nexport interface LeidenOptions {\n resolution?: number;\n beta?: number;\n iterations?: number;\n}\n\nexport async function leiden(graph: Graph, options?: LeidenOptions): Promise<CommunityResult> {\n const _wasm = await getWasm();\n void _wasm;\n void options;\n void graph._getEdgePairs();\n throw new Error('Not yet implemented — WASM bindings pending');\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getWasm } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
// src/infomap.ts
|
|
4
|
+
async function infomap(graph, options) {
|
|
5
|
+
await getWasm();
|
|
6
|
+
void graph._getEdgePairs();
|
|
7
|
+
throw new Error("Not yet implemented \u2014 WASM bindings pending");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { infomap };
|
|
11
|
+
//# sourceMappingURL=chunk-ZHL6B6AX.js.map
|
|
12
|
+
//# sourceMappingURL=chunk-ZHL6B6AX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/infomap.ts"],"names":[],"mappings":";;;AAMA,eAAsB,OAAA,CAAQ,OAAc,OAAA,EAAoD;AAC9F,EAAc,MAAM,OAAA;AAGpB,EAAA,KAAK,MAAM,aAAA,EAAc;AACzB,EAAA,MAAM,IAAI,MAAM,kDAA6C,CAAA;AAC/D","file":"chunk-ZHL6B6AX.js","sourcesContent":["import { getWasm, type Graph, type CommunityResult } from '@graphrs/core';\n\nexport interface InfomapOptions {\n trials?: number;\n}\n\nexport async function infomap(graph: Graph, options?: InfomapOptions): Promise<CommunityResult> {\n const _wasm = await getWasm();\n void _wasm;\n void options;\n void graph._getEdgePairs();\n throw new Error('Not yet implemented — WASM bindings pending');\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"fast-greedy.js"}
|
package/dist/fluid.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Graph, CommunityResult } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
interface FluidOptions {
|
|
4
|
+
numCommunities: number;
|
|
5
|
+
}
|
|
6
|
+
declare function fluidCommunities(graph: Graph, options: FluidOptions): Promise<CommunityResult>;
|
|
7
|
+
|
|
8
|
+
export { type FluidOptions, fluidCommunities };
|
package/dist/fluid.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"fluid.js"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { LouvainOptions, louvain } from './louvain.js';
|
|
2
|
+
export { LeidenOptions, leiden } from './leiden.js';
|
|
3
|
+
export { InfomapOptions, infomap } from './infomap.js';
|
|
4
|
+
export { LabelPropagationOptions, labelPropagation } from './label-propagation.js';
|
|
5
|
+
export { WalktrapOptions, walktrap } from './walktrap.js';
|
|
6
|
+
export { fastGreedy } from './fast-greedy.js';
|
|
7
|
+
export { SpinglassOptions, spinglass } from './spinglass.js';
|
|
8
|
+
export { FluidOptions, fluidCommunities } from './fluid.js';
|
|
9
|
+
import '@graphrs/core';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { walktrap } from './chunk-ELA7RAJX.js';
|
|
2
|
+
export { fastGreedy } from './chunk-UYGT3LMM.js';
|
|
3
|
+
export { fluidCommunities } from './chunk-P4RSJ7VG.js';
|
|
4
|
+
export { infomap } from './chunk-ZHL6B6AX.js';
|
|
5
|
+
export { labelPropagation } from './chunk-XO43IX2E.js';
|
|
6
|
+
export { leiden } from './chunk-YCRFRMTW.js';
|
|
7
|
+
export { louvain } from './chunk-KW3VHOEA.js';
|
|
8
|
+
export { spinglass } from './chunk-JRRIBF6J.js';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/infomap.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"infomap.js"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Graph, CommunityResult } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
interface LabelPropagationOptions {
|
|
4
|
+
fixed?: number[];
|
|
5
|
+
}
|
|
6
|
+
declare function labelPropagation(graph: Graph, options?: LabelPropagationOptions): Promise<CommunityResult>;
|
|
7
|
+
|
|
8
|
+
export { type LabelPropagationOptions, labelPropagation };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"label-propagation.js"}
|
package/dist/leiden.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Graph, CommunityResult } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
interface LeidenOptions {
|
|
4
|
+
resolution?: number;
|
|
5
|
+
beta?: number;
|
|
6
|
+
iterations?: number;
|
|
7
|
+
}
|
|
8
|
+
declare function leiden(graph: Graph, options?: LeidenOptions): Promise<CommunityResult>;
|
|
9
|
+
|
|
10
|
+
export { type LeidenOptions, leiden };
|
package/dist/leiden.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"leiden.js"}
|
package/dist/louvain.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"louvain.js"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Graph, CommunityResult } from '@graphrs/core';
|
|
2
|
+
|
|
3
|
+
interface SpinglassOptions {
|
|
4
|
+
spins?: number;
|
|
5
|
+
gamma?: number;
|
|
6
|
+
}
|
|
7
|
+
declare function spinglass(graph: Graph, options?: SpinglassOptions): Promise<CommunityResult>;
|
|
8
|
+
|
|
9
|
+
export { type SpinglassOptions, spinglass };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"spinglass.js"}
|
package/dist/walktrap.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"walktrap.js"}
|
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@graphrs/community",
|
|
3
|
+
"version": "0.0.0-canary.4aee852",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "Community detection algorithms (Louvain, Leiden, Infomap, Walktrap, etc.) for @graphrs",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"graph",
|
|
9
|
+
"community-detection",
|
|
10
|
+
"louvain",
|
|
11
|
+
"leiden",
|
|
12
|
+
"clustering"
|
|
13
|
+
],
|
|
14
|
+
"author": "Totoro-jam <moqiuchen66@gmail.com>",
|
|
15
|
+
"homepage": "https://github.com/Totoro-jam/graphrs#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/Totoro-jam/graphrs/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/Totoro-jam/graphrs",
|
|
22
|
+
"directory": "packages/community"
|
|
23
|
+
},
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./louvain": {
|
|
31
|
+
"types": "./dist/louvain.d.ts",
|
|
32
|
+
"import": "./dist/louvain.js"
|
|
33
|
+
},
|
|
34
|
+
"./leiden": {
|
|
35
|
+
"types": "./dist/leiden.d.ts",
|
|
36
|
+
"import": "./dist/leiden.js"
|
|
37
|
+
},
|
|
38
|
+
"./infomap": {
|
|
39
|
+
"types": "./dist/infomap.d.ts",
|
|
40
|
+
"import": "./dist/infomap.js"
|
|
41
|
+
},
|
|
42
|
+
"./label-propagation": {
|
|
43
|
+
"types": "./dist/label-propagation.d.ts",
|
|
44
|
+
"import": "./dist/label-propagation.js"
|
|
45
|
+
},
|
|
46
|
+
"./walktrap": {
|
|
47
|
+
"types": "./dist/walktrap.d.ts",
|
|
48
|
+
"import": "./dist/walktrap.js"
|
|
49
|
+
},
|
|
50
|
+
"./fast-greedy": {
|
|
51
|
+
"types": "./dist/fast-greedy.d.ts",
|
|
52
|
+
"import": "./dist/fast-greedy.js"
|
|
53
|
+
},
|
|
54
|
+
"./spinglass": {
|
|
55
|
+
"types": "./dist/spinglass.d.ts",
|
|
56
|
+
"import": "./dist/spinglass.js"
|
|
57
|
+
},
|
|
58
|
+
"./fluid": {
|
|
59
|
+
"types": "./dist/fluid.d.ts",
|
|
60
|
+
"import": "./dist/fluid.js"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"main": "./dist/index.js",
|
|
64
|
+
"types": "./dist/index.d.ts",
|
|
65
|
+
"files": [
|
|
66
|
+
"dist"
|
|
67
|
+
],
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "tsup",
|
|
70
|
+
"test": "vitest run --passWithNoTests",
|
|
71
|
+
"test:ci": "vitest run --reporter=default --passWithNoTests",
|
|
72
|
+
"lint": "tsc --noEmit",
|
|
73
|
+
"typecheck": "tsc --noEmit",
|
|
74
|
+
"clean": "rm -rf dist"
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"@graphrs/core": "workspace:^"
|
|
78
|
+
}
|
|
79
|
+
}
|