Skip to content

wanjawischmeier/logic-easy

Repository files navigation

LogicEasy

Serving

Development

# Running the main application
npm run dev

# Running the fsm module on its own
npm run fsm:dev

# Running the docs module on its own
npm run docs:dev

Note

Running the main application in development mode uses the most recent build of the submodules. So if you made a change to a submodule, build it again to see the changes in the main app. npm run build automatically builds the submodules.

Production

# Build main application
npm run build

# Build fsm module
npm run fsm:build

# Build docs module
npm run docs:build

# Serve main application
serve -s dist

Note

Building the main application automatically creates updated builds of the submodules.

Note

The docs module requires its builds to be copied from the public folder to the dist folder. Running npm run build automatically does this by executing scripts/copy-docs.js after the build.

Testing

# Run all unit tests
npm run test:unit

Maintaining

# Update submodules
git submodule update --remote --merge

Contributors 2

  •  
  •