@speckle/objectloader 2.5.5-alpha.3733 → 2.6.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 (2) hide show
  1. package/package.json +3 -3
  2. package/readme.md +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speckle/objectloader",
3
- "version": "2.5.5-alpha.3733",
3
+ "version": "2.6.2",
4
4
  "description": "Simple API helper to stream in objects from the Speckle Server.",
5
5
  "main": "dist/objectloader.js",
6
6
  "module": "dist/objectloader.esm.js",
@@ -17,6 +17,7 @@
17
17
  "lint": "eslint . --ext .js,.ts",
18
18
  "build:dev": "rollup --config",
19
19
  "build": "NODE_ENV=production rollup --config",
20
+ "prepack": "yarn build",
20
21
  "dev": "rollup --config --watch",
21
22
  "example": "EXAMPLE_BUILD=1 rollup --config && http-server ./examples/browser -p 3031 -o"
22
23
  },
@@ -48,6 +49,5 @@
48
49
  "rollup-plugin-terser": "^7.0.2",
49
50
  "undici": "^4.14.1"
50
51
  },
51
- "gitHead": "5627e490f9a3ecadf19cc4686ad15f344d9ad2d3",
52
- "stableVersion": "2.5.4"
52
+ "gitHead": "5627e490f9a3ecadf19cc4686ad15f344d9ad2d3"
53
53
  }
package/readme.md CHANGED
@@ -14,7 +14,7 @@ This is a small utility class that helps you stream an object and all its sub-co
14
14
 
15
15
  ### Examples
16
16
 
17
- If you've got this repo checked out locally, you can run `npm run example` to run an example web page running ObjectLoader in the browser at 'http://127.0.0.1:3031/'. This will run the example HTML found under ./examples/browser/'.
17
+ If you've got this repo checked out locally, you can run `yarn example` to run an example web page running ObjectLoader in the browser at 'http://127.0.0.1:3031/'. This will run the example HTML found under ./examples/browser/'.
18
18
 
19
19
  To test ObjectLoader in a node environment, just run `node ./examples/node/script.mjs`
20
20
 
@@ -80,7 +80,8 @@ let loader = new ObjectLoader({
80
80
 
81
81
  ## Development
82
82
 
83
- Run `npm run build` to build prod release, run `npm run build:dev` to build dev release. Or run `npm run dev` to run the build in `watch` mode.
83
+ Run `yarn build` to build prod release, run `yarn build:dev` to build dev release.
84
+ Or run `yarn dev` to run the build in `watch` mode.
84
85
 
85
86
  ## Community
86
87