@elarsaks/umap-wasm 0.1.0 → 0.1.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.
Files changed (1) hide show
  1. package/package.json +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elarsaks/umap-wasm",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "JavaScript implementation of UMAP",
5
5
  "author": {
6
6
  "name": "Andy Coenen",
@@ -24,7 +24,8 @@
24
24
  },
25
25
  "files": [
26
26
  "lib",
27
- "dist"
27
+ "dist",
28
+ "wasm/pkg"
28
29
  ],
29
30
  "packageManager": "yarn@4.12.0",
30
31
  "scripts": {
@@ -32,7 +33,8 @@
32
33
  "test:watch": "vitest",
33
34
  "bundle": "rm -rf lib && webpack --config ./webpack/lib.config.ts && webpack --config ./webpack/lib.min.config.ts",
34
35
  "build": "rm -rf dist && tsc && yarn bundle",
35
- "build:wasm": "cd wasm && wasm-pack build --target web --out-dir pkg"
36
+ "build:wasm": "cd wasm && wasm-pack build --target web --out-dir pkg",
37
+ "prepublishOnly": "yarn build:wasm && yarn build"
36
38
  },
37
39
  "devDependencies": {
38
40
  "@types/jest": "^30.0.0",