@genome-spy/core 0.37.1 → 0.37.2

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 +9 -14
package/package.json CHANGED
@@ -7,23 +7,16 @@
7
7
  },
8
8
  "contributors": [],
9
9
  "license": "MIT",
10
- "version": "0.37.1",
10
+ "version": "0.37.2",
11
11
  "jsdelivr": "dist/bundle/index.js",
12
12
  "unpkg": "dist/bundle/index.js",
13
13
  "browser": "dist/bundle/index.js",
14
14
  "type": "module",
15
15
  "exports": {
16
- ".": "./src/index.js",
17
- "./*": "./src/*",
16
+ ".": "./dist/src/index.js",
17
+ "./*": "./dist/src/*",
18
18
  "./schema.json": "./dist/schema.json"
19
19
  },
20
- "publishConfig": {
21
- "exports": {
22
- ".": "./dist/src/index.js",
23
- "./*": "./dist/src/*",
24
- "./schema.json": "./dist/schema.json"
25
- }
26
- },
27
20
  "files": [
28
21
  "dist/"
29
22
  ],
@@ -34,11 +27,13 @@
34
27
  },
35
28
  "scripts": {
36
29
  "dev": "node dev-server.js",
37
- "build": "mkdir -p dist && node build.mjs && vite build && npm run build:schema && npm run build:typings",
30
+ "build": "rm -rf dist && mkdir -p dist && node scripts/build.mjs && vite build && npm run build:schema && npm run build:typings",
38
31
  "prepublishOnly": "npm run build",
39
32
  "test:tsc": "tsc -p tsconfig.json --noEmit",
40
33
  "build:schema": "mkdir -p dist && ts-json-schema-generator --path 'src/spec/*.ts' --type RootSpec > dist/schema.json",
41
- "build:typings": "tsc -p tsconfig.json --declaration --emitDeclarationOnly --declarationMap --outDir dist/src"
34
+ "build:typings": "tsc -p tsconfig.json --declaration --emitDeclarationOnly --declarationMap --outDir dist/src",
35
+ "prepack": "node scripts/prepack.mjs",
36
+ "postpack": "node scripts/postpack.mjs"
42
37
  },
43
38
  "dependencies": {
44
39
  "@gmod/bam": "^1.1.18",
@@ -68,5 +63,5 @@
68
63
  "vega-scale": "^7.1.1",
69
64
  "vega-util": "^1.16.0"
70
65
  },
71
- "gitHead": "36b326de367b35894c5eb33ab0442b723bcf8688"
72
- }
66
+ "gitHead": "347a273ee0d136f6fa5204567614004988e29a63"
67
+ }