Skip to content

NREL/floorspace.js

Repository files navigation

FloorspaceJS

a widget for creating 2d geometry for building energy models

Getting Started

Read the docs then try out the latest development version in your browser.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build single page output for openstudio
npm run openstudio-build

# alternative if `npm run openstudio-build` does not work, build single page output for openstudio
npm run build
ruby build/build.rb

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Tests are run on each pull request. Current status: Build Status