Skip to content

faios/harness-browser3d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Installation

  • delete package-lock.json
  • delete node-modules
  • npm install

Visual Studio Code

Open in Visual Studio Code and run these tasks:

  • generate geometry typescript classes
  • build library
  • run example

Command Line Alternative

cd projects\harness-browser3d-library

npx openapi-typescript assets\geometry-api.yaml --output src\generated\geometry.ts

ng build harness-browser3d-library --configuration production

ng serve --open

Publishing

To publish the lib:

  1. Checkout master + merge develop into master
  2. Update version in package.json in root and in package.json in projects/harness-browser3d-library to the new version
  3. Create tag with version (e.g. 0.3.4)
  4. IMPORTANT: Re-build project completely
  5. Use the following commands to publish to npm
cd dist\harness-browser3d-library

npm login

npm publish --access public

About

An angular component as npm package for rendering harness like structures based on three.js. An example application is also included.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 87.9%
  • HTML 7.2%
  • SCSS 2.7%
  • JavaScript 2.2%