backpack-viewer 0.7.13 → 0.7.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backpack-viewer",
3
- "version": "0.7.13",
3
+ "version": "0.7.14",
4
4
  "description": "Web-based graph visualizer for backpack-ontology — Canvas 2D, force-directed layout, live reload",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Noah Irzinger",
@@ -18,7 +18,8 @@
18
18
  "build": "npm run build:lib && node scripts/bundle-extensions.js && vite build",
19
19
  "preview": "vite preview",
20
20
  "serve": "node bin/serve.js",
21
- "prepare": "npm run build:lib",
21
+ "prepare": "test -d dist || npm run build:lib",
22
+ "prepublishOnly": "npm run build",
22
23
  "preversion": "npm run build",
23
24
  "release:patch": "npm version patch && git push && git push --tags",
24
25
  "release:minor": "npm version minor && git push && git push --tags",